summaryrefslogtreecommitdiff
path: root/bin/sqlradius.import
diff options
context:
space:
mode:
authorivan <ivan>2004-06-22 03:10:33 +0000
committerivan <ivan>2004-06-22 03:10:33 +0000
commitf2e9d8413d6178a6248c8b5d47ac06b1d1f12cb5 (patch)
treeff0f6c3a0e96a0c107f1e4f67f3b071ba5fd0199 /bin/sqlradius.import
parent2772fa107c03791feee54c544e379f7431bef950 (diff)
fix attribute importing bugs that borked the passwords
Diffstat (limited to 'bin/sqlradius.import')
-rw-r--r--bin/sqlradius.import2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sqlradius.import b/bin/sqlradius.import
index e8b63949c..e75f65b17 100644
--- a/bin/sqlradius.import
+++ b/bin/sqlradius.import
@@ -116,7 +116,7 @@ while ( defined ( $row = $sth->fetchrow_arrayref ) ) {
$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;
+ my($attribute, $value, $name, $groupname) = @$rc_row;
if ( $attribute =~ /^((User|Crypt)-)?Password$/ ) {
$password = $value;
$finger = $name;