version 1.287, 2005/06/27 10:27:02
|
version 1.288, 2005/06/27 14:16:30
|
Line 1835 sub change_authentication_handler {
|
Line 1835 sub change_authentication_handler {
|
&logthis("Result of password change for $uname: ".$result); |
&logthis("Result of password change for $uname: ".$result); |
if ($result eq "ok") { |
if ($result eq "ok") { |
&Reply($client, "$result\n") |
&Reply($client, "$result\n") |
} |
} else { |
else { |
|
&Failure($client, "$result\n"); |
&Failure($client, "$result\n"); |
} |
} |
} |
} else { |
else { |
|
my $result=&make_passwd_file($uname, $umode,$npass,$passfilename); |
my $result=&make_passwd_file($uname, $umode,$npass,$passfilename); |
# |
# |
# If the current auth mode is internal, and the old auth mode was |
# If the current auth mode is internal, and the old auth mode was |