projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0dbbe0
)
fix implicit RADIUS password attribute to be Crypt-Password for encrypted pw's
author
ivan
<ivan>
Thu, 3 Oct 2002 15:29:12 +0000
(15:29 +0000)
committer
ivan
<ivan>
Thu, 3 Oct 2002 15:29:12 +0000
(15:29 +0000)
FS/FS/svc_acct.pm
patch
|
blob
|
history
diff --git
a/FS/FS/svc_acct.pm
b/FS/FS/svc_acct.pm
index
5228f6c
..
b8e9cfc
100644
(file)
--- a/
FS/FS/svc_acct.pm
+++ b/
FS/FS/svc_acct.pm
@@
-866,7
+866,9
@@
expected to change in the future.
sub radius_check {
my $self = shift;
- ( 'Password' => $self->_password,
+ my $password = $self->_password;
+ my $pw_attrib = length($password) <= 12 ? 'Password' : 'Crypt-Password';
+ ( $pw_attrib => $self->_password,
map {
/^(rc_(.*))$/;
my($column, $attrib) = ($1, $2);