summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2000-06-29 11:56:52 +0000
committerivan <ivan>2000-06-29 11:56:52 +0000
commit5072965ec7e8d55ef82769fc322240abc7fb7e00 (patch)
tree79514d8ede38986bcb97ccf086d7d40ad93211b7 /FS
parenta875d5b4fd2d12937c7a53bed773490e2f3ba50f (diff)
md5 passwords can are 34 characters long and have $ in them.
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/svc_acct.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
index 93354296b..26c634be3 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -436,7 +436,7 @@ sub check {
#$recref->{password} = $1.
# crypt($3,$saltset[int(rand(64))].$saltset[int(rand(64))]
#;
- } elsif ( $recref->{_password} =~ /^((\*SUSPENDED\* )?)([\w\.\/]{13,24})$/ ) {
+ } elsif ( $recref->{_password} =~ /^((\*SUSPENDED\* )?)([\w\.\/\$]{13,34})$/ ) {
$recref->{_password} = $1.$3;
} elsif ( $recref->{_password} eq '*' ) {
$recref->{_password} = '*';
@@ -472,7 +472,7 @@ sub radius {
=head1 VERSION
-$Id: svc_acct.pm,v 1.6 2000-06-28 12:54:33 ivan Exp $
+$Id: svc_acct.pm,v 1.7 2000-06-29 11:56:52 ivan Exp $
=head1 BUGS