diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-01-13 18:21:49 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-01-13 18:21:49 +0000 |
commit | 1029fefa339a09674d543440613bcccfef67d7fb (patch) | |
tree | cff16820239ffd2d2c878f7ff14aef975dec08f4 /usr.bin | |
parent | eae8f476bfbb99af069221e03d8026fcee3b3282 (diff) |
enable kerberos passwd auth in ssh2, use k_setpag; ok hin, dugsong, from ksulliva@psc.edu
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/auth2.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c index 9df3d720efc..3edde42f850 100644 --- a/usr.bin/ssh/auth2.c +++ b/usr.bin/ssh/auth2.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth2.c,v 1.25 2001/01/08 22:29:05 markus Exp $"); +RCSID("$OpenBSD: auth2.c,v 1.26 2001/01/13 18:21:48 markus Exp $"); #include <openssl/dsa.h> #include <openssl/rsa.h> @@ -116,9 +116,12 @@ do_authentication2() authctxt->success = 0; x_authctxt = authctxt; /*XXX*/ -#ifdef KRB4 - /* turn off kerberos, not supported by SSH2 */ - options.kerberos_authentication = 0; +#ifdef AFS + /* If machine has AFS, set process authentication group. */ + if (k_hasafs()) { + k_setpag(); + k_unlog(); + } #endif dispatch_init(&protocol_error); dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request); |