diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-02-07 22:35:47 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-02-07 22:35:47 +0000 |
commit | 9d35834aa1343aad60fcce719b4aab0e0cbdb191 (patch) | |
tree | d95bb4f383b3b8c4d7b136db21ece15727c6025a /usr.bin/ssh/sshd.c | |
parent | bbfc3bb73825f97856bf29f30ccf007edb39cc46 (diff) |
move k_setpag() to a central place; ok dugsong@
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r-- | usr.bin/ssh/sshd.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index bae91bf9888..7ae326e46bb 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshd.c,v 1.163 2001/02/04 23:56:23 deraadt Exp $"); +RCSID("$OpenBSD: sshd.c,v 1.164 2001/02/07 22:35:46 markus Exp $"); #include <openssl/dh.h> #include <openssl/bn.h> @@ -1129,6 +1129,13 @@ main(int ac, char **av) options.kerberos_authentication = 0; } #endif /* KRB4 */ +#ifdef AFS + /* If machine has AFS, set process authentication group. */ + if (k_hasafs()) { + k_setpag(); + k_unlog(); + } +#endif /* AFS */ packet_set_nonblocking(); |