search for: tis_authenticate

Displaying 3 results from an estimated 3 matches for "tis_authenticate".

2000 Dec 07
1
[PATCH] tis authserv support
...KEY +#ifdef TIS_AUTH + case SSH_CMSG_AUTH_TIS: + debug("rcvd SSH_CMSG_AUTH_TIS"); + if (options.tis_authentication == 1) { + char *challenge = NULL; + + if (pw) { + tis_free(tis); + tis = tis_connect_multi(options.authserv_addrs); + if (tis) { + challenge = tis_authenticate(tis, pw->pw_name); + } + else { + log("Error connecting TIS authserv"); + } + else { + challenge = tis_fake_challenge(); + } + if (!challenge) { + break; + } + if (challenge != NULL) { + debug("sending challenge '%s'", chall...
2000 Aug 27
0
patch for TIS (skey/opie) *and* passwd auth via PAM
Hello, appended is a patch that makes it possible to use PAM both for password authentication and TIS (i.e. s/key or opie or any other interactive challenge/response scheme). I have developed this starting from the patch at http://www.debian.org/Bugs/db/61/61906.html on Debian with openssh-2.1.1p4-3. After configuring ssh with --with-pam-tis, there are two PAM services, "sshd" and
2001 Mar 13
0
[PATCH] openssh 2.5.1p2 TIS authserv support
...erverOptions options; + +char * +get_challenge(Authctxt *authctxt, char *devs) +{ + static char challenge[128]; + + if (!authctxt->tis) { + authctxt->tis = tis_connect_multi(options.authserv_addrs); + } + if (authctxt->tis) { + char *tis_chal; + + if (authctxt->pw) { + tis_chal = tis_authenticate(authctxt->tis, authctxt->pw->pw_name); + } + else { + tis_chal = tis_fake_challenge(); + } + strlcpy(challenge, tis_chal, sizeof(challenge)); + xfree(tis_chal); + + return challenge; + } + return NULL; +} + +int +verify_response(Authctxt *authctxt, char *response) +{ + int res;...