Displaying 2 results from an estimated 2 matches for "authserv_addr".
Did you mean:
authserv_addrs
2001 Mar 13
0
[PATCH] openssh 2.5.1p2 TIS authserv support
...+
+#include "tisauth.h"
+#include "servconf.h"
+#include "xmalloc.h"
+
+extern ServerOptions 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);
+
+ r...
2000 Dec 07
1
[PATCH] tis authserv support
...282,54 @@
xfree(password);
break;
-#ifdef SKEY
+#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) {
+...