Displaying 3 results from an estimated 3 matches for "tis_connect".
2006 Sep 12
1
openssh (OpenBSD) , bsdauth and tis authsrv
nuqneH,
I've tried using TIS authsrv authentication via bsd auth and found
it quite limited. The most important restriction it does not log
ip and fqdn of the remote peer, nor the application name, to
the authentication server. It does not matter much for TIS authsrv,
but since other applications do provide such information, our
authsrv version uses it for extra authentication restrictions.
2001 Mar 13
0
[PATCH] openssh 2.5.1p2 TIS authserv support
...+#endif
+
+#ifdef TIS_AUTH
+
+#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));...
2000 Dec 07
1
[PATCH] tis authserv support
...SMSG_FAILURE);
@@ -267,7 +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...