version 1.2, 2002/05/31 11:35:15 |
version 1.2.6.1, 2003/09/16 21:20:24 |
|
|
u_int len; |
u_int len; |
change = packet_get_char(); |
change = packet_get_char(); |
if (change) |
if (change) |
log("password change not supported"); |
logit("password change not supported"); |
password = packet_get_string(&len); |
password = packet_get_string(&len); |
packet_check_eom(); |
packet_check_eom(); |
if (authctxt->valid && |
if (PRIVSEP(auth_password(authctxt, password)) == 1) |
PRIVSEP(auth_password(authctxt, password)) == 1) |
|
authenticated = 1; |
authenticated = 1; |
memset(password, 0, len); |
memset(password, 0, len); |
xfree(password); |
xfree(password); |