summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-10 21:27:11 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-02-10 21:27:11 +0000
commitf79aeffe3b8f58c3d7da0fba28f8eba867079e6d (patch)
tree9583607ac50b028793d73700c868dc88ed8ae5f5 /sshd.c
parentc5dbf7fdc94708670b941c84815b78f61e2cb329 (diff)
- markus@cvs.openbsd.org 2001/02/07 22:35:46
[auth1.c auth2.c sshd.c] move k_setpag() to a central place; ok dugsong@
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sshd.c b/sshd.c
index 22eabcda..88ce7902 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1148,6 +1148,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();