freeside/bin sqlradius.import,1.1.2.4,1.1.2.5
ivan
ivan at pouncequick.420.am
Mon Jun 21 20:10:42 PDT 2004
Update of /home/cvs/cvsroot/freeside/bin
In directory pouncequick:/tmp/cvs-serv4988
Modified Files:
Tag: FREESIDE_1_4_BRANCH
sqlradius.import
Log Message:
fix attribute importing bugs that borked the passwords
Index: sqlradius.import
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/sqlradius.import,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -d -r1.1.2.4 -r1.1.2.5
--- sqlradius.import 28 May 2004 08:40:47 -0000 1.1.2.4
+++ sqlradius.import 22 Jun 2004 03:10:40 -0000 1.1.2.5
@@ -116,8 +116,8 @@
$rc_sth->execute($r_username, $realm) or die $rc_sth->errstr;
foreach my $rc_row ( @{$rc_sth->fetchall_arrayref} ) {
- my($attribute, $value, $name, $groupname) = @$row;
- if ( $attribute =~ /^(Crypt-)?Password$/ ) {
+ my($attribute, $value, $name, $groupname) = @$rc_row;
+ if ( $attribute =~ /^((User|Crypt)-)?Password$/ ) {
$password = $value;
$finger = $name;
$group = $groupname;
More information about the freeside-commits
mailing list