#include "includes.h"#include "packet.h"#include "auth.h"#include "log.h"#include "servconf.h"#include "xmalloc.h"Go to the source code of this file.
Functions | |
| RCSID ("$OpenBSD: auth2-kbdint.c,v 1.2 2002/05/31 11:35:15 markus Exp $") | |
| static int | userauth_kbdint (Authctxt *authctxt) |
Variables | |
| ServerOptions | options |
| Authmethod | method_kbdint |
|
||||||||||||
|
|
|
|
Definition at line 38 of file auth2-kbdint.c. References auth2_challenge(), ServerOptions::challenge_response_authentication, debug(), packet_check_eom, packet_get_string(), Authctxt::pw, and xfree(). 00039 { 00040 int authenticated = 0; 00041 char *lang, *devs; 00042 00043 lang = packet_get_string(NULL); 00044 devs = packet_get_string(NULL); 00045 packet_check_eom(); 00046 00047 debug("keyboard-interactive devs %s", devs); 00048 00049 if (options.challenge_response_authentication) 00050 authenticated = auth2_challenge(authctxt, devs); 00051 00052 xfree(devs); 00053 xfree(lang); 00054 #ifdef HAVE_CYGWIN 00055 if (check_nt_auth(0, authctxt->pw) == 0) 00056 authenticated = 0; 00057 #endif 00058 return authenticated; 00059 }
|
|
|
Initial value: {
"keyboard-interactive",
userauth_kbdint,
&options.kbd_interactive_authentication
}
Definition at line 61 of file auth2-kbdint.c. |
|
|
|