diff options
author | Damien Miller <djm@mindrot.org> | 2003-05-15 06:15:23 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-05-15 06:15:23 +0200 |
commit | d248b5bd1bc1999a4d5d5ba7b433fc50e267baf6 (patch) | |
tree | 12f967ff4d257932e1708115cb2189119e247337 /servconf.c | |
parent | - (djm) Avoid uuencode.c warnings (diff) | |
download | openssh-d248b5bd1bc1999a4d5d5ba7b433fc50e267baf6.tar.xz openssh-d248b5bd1bc1999a4d5d5ba7b433fc50e267baf6.zip |
- jakob@cvs.openbsd.org 2003/05/15 04:08:44
[readconf.c servconf.c]
disable kerberos when not supported. ok markus@
Diffstat (limited to 'servconf.c')
-rw-r--r-- | servconf.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/servconf.c b/servconf.c index 5076c5df6..92d3170b2 100644 --- a/servconf.c +++ b/servconf.c @@ -10,7 +10,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: servconf.c,v 1.119 2003/05/15 01:48:10 jakob Exp $"); +RCSID("$OpenBSD: servconf.c,v 1.120 2003/05/15 04:08:44 jakob Exp $"); #if defined(KRB4) #include <krb.h> @@ -203,7 +203,11 @@ fill_default_server_options(ServerOptions *options) if (options->kerberos_or_local_passwd == -1) options->kerberos_or_local_passwd = 1; if (options->kerberos_ticket_cleanup == -1) +#if defined(KRB4) || defined(KRB5) options->kerberos_ticket_cleanup = 1; +#else + options->kerberos_ticket_cleanup = 0; +#endif if (options->kerberos_tgt_passing == -1) options->kerberos_tgt_passing = 0; if (options->afs_token_passing == -1) |