Searched refs:authok (Results 1 - 10 of 10) sorted by relevance

/openbsd-current/usr.bin/ssh/
H A Dauth-bsdauth.c96 int authok; local
107 authok = auth_userresponse(authctxt->as, responses[0], 0);
109 debug3("bsdauth_respond: <%s> = <%d>", responses[0], authok);
111 return (authok == 0) ? -1 : 0;
H A Dmonitor.c850 int r, authok; local
859 authok = options.kbd_interactive_authentication &&
862 debug3_f("<%s> = <%d>", response, authok);
866 if ((r = sshbuf_put_u32(m, authok)) != 0)
869 debug3_f("sending authenticated: %d", authok);
875 return (authok != 0);
H A Dmonitor_wrap.c699 int r, authok; local
714 if ((r = sshbuf_get_u32(m, &authok)) != 0)
718 return ((authok == 0) ? -1 : 0);
/openbsd-current/usr.bin/login/
H A Dlogin.c147 int error, homeless, needto, authok, tries, backoff; local
159 authok = 0;
477 authok = auth_getstate(as);
483 if ((authok & AUTH_PWEXPIRED) && lastchance) {
484 authok = AUTH_OKAY;
487 if ((authok & AUTH_ALLOW) == 0)
516 if (authok & AUTH_SILENT)
/openbsd-current/usr.sbin/radiusd/
H A Dradiusd_bsdauth.c134 bool authok = false; local
156 authok = true;
159 imsg_compose(&ibuf, (authok)
/openbsd-current/usr.bin/su/
H A Dsu.c383 int authok; local
412 authok = auth_getstate(as);
413 if ((authok & AUTH_ALLOW) == 0) {
/openbsd-current/usr.sbin/npppd/npppd/
H A Dpap.c279 pap_response(pap *_this, int authok, const char *mes) argument
301 if (authok)
308 if (!authok) {
H A Dchap.c258 int code, id, length, lval, lname, authok; local
302 authok = 0;
428 chap_response(chap *_this, int authok, u_char *pktp, int lpktp) argument
437 ppp_output(_this->ppp, PPP_PROTO_CHAP, (authok)? 3 : 4, _this->challid,
441 if (!authok) {
H A Dlcp.c1090 int i, authok; local
1096 authok = 0;
1101 authok = 1;
1105 if (!authok) {
/openbsd-current/libexec/ftpd/
H A Dftpd.c862 int authok; local
875 authok = 0;
887 authok = auth_userresponse(as, passwd, 0);
890 if (authok == 0) {
915 authok = auth_approval(as, lc, pw->pw_name, "ftp");
918 if (authok == 0) {

Completed in 277 milliseconds