summaryrefslogtreecommitdiffstats
path: root/sshd.c
diff options
context:
space:
mode:
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();