version 1.44, 2001/02/09 12:28:35 |
version 1.45, 2001/02/09 17:10:53 |
|
|
packet_done(); |
packet_done(); |
|
|
if (partial != 0) |
if (partial != 0) |
debug("partial success"); |
log("Authenticated with partial success."); |
debug("authentications that can continue: %s", authlist); |
debug("authentications that can continue: %s", authlist); |
|
|
for (;;) { |
for (;;) { |
method = authmethod_get(authlist); |
method = authmethod_get(authlist); |
if (method == NULL) |
if (method == NULL) |
fatal("Unable to find an authentication method"); |
fatal("Permission denied (%s).", authlist); |
authctxt->method = method; |
authctxt->method = method; |
if (method->userauth(authctxt) != 0) { |
if (method->userauth(authctxt) != 0) { |
debug2("we sent a %s packet, wait for reply", method->name); |
debug2("we sent a %s packet, wait for reply", method->name); |