[NoCat] Patch: radius-01.patch
Karl Gaissmaier
karl.gaissmaier at kiz.uni-ulm.de
Mon, 28 Jul 2003 23:13:59 +0200
--------------Boundary-00=_BZ6R7R2L046KMCUO0OYA
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 8bit
Name:
radius-01.patch
Affected Files:
lib/NoCat/Source/RADIUS.pm
Version:
Patch against 0.82
Severity:
necessary when you use radius
Description:
bug introduced with 0.82
--
Karl Gaissmaier KIZ/Infrastructure, University of Ulm, Germany
Email:karl.gaissmaier@kiz.uni-ulm.de Service Group Network
--------------Boundary-00=_BZ6R7R2L046KMCUO0OYA
Content-Type: text/x-diff;
charset="us-ascii";
name="radius-01.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="radius-01.patch"
diff -Naur NoCatAuth-nightly/lib/NoCat/Source/RADIUS.pm NoCatAuth-mod/lib/NoCat/Source/RADIUS.pm
--- NoCatAuth-nightly/lib/NoCat/Source/RADIUS.pm Thu Aug 15 04:00:02 2002
+++ NoCatAuth-mod/lib/NoCat/Source/RADIUS.pm Mon Jul 14 14:29:31 2003
@@ -85,8 +85,8 @@
# mimic the check_pwd from Authen::Radius
$radius->clear_attributes;
$radius->add_attributes (
- { Name => 1, Value => $user->id },
- { Name => 2, Value => $user_pw }
+ { Name => 1, Value => $user->id, Type => 'string' },
+ { Name => 2, Value => $user_pw, Type => 'string' }
);
my $radiuscheckok = 0;
--------------Boundary-00=_BZ6R7R2L046KMCUO0OYA--