summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/readconf.c
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2000-08-02 17:27:05 +0000
committerNiels Provos <provos@cvs.openbsd.org>2000-08-02 17:27:05 +0000
commit43ab6e433aad55cf3930f0db106d23e929504bcf (patch)
tree840d28f3b57c9d21994d8dace470a1b06548abfb /usr.bin/ssh/readconf.c
parent0f753be3f4ac9cc6889da1a7b2f81deea284183d (diff)
disallow kerberos authentication if we can't verify the TGT; from
dugsong@ kerberos authentication is on by default only if you have a srvtab.
Diffstat (limited to 'usr.bin/ssh/readconf.c')
-rw-r--r--usr.bin/ssh/readconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c
index b44ea3652d3..f31b1c4e653 100644
--- a/usr.bin/ssh/readconf.c
+++ b/usr.bin/ssh/readconf.c
@@ -14,7 +14,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: readconf.c,v 1.44 2000/08/02 16:27:16 provos Exp $");
+RCSID("$OpenBSD: readconf.c,v 1.45 2000/08/02 17:27:04 provos Exp $");
#include "ssh.h"
#include "cipher.h"
@@ -724,7 +724,7 @@ fill_default_options(Options * options)
options->skey_authentication = 0;
#ifdef KRB4
if (options->kerberos_authentication == -1)
- options->kerberos_authentication = 0;
+ options->kerberos_authentication = 1;
#endif /* KRB4 */
#ifdef AFS
if (options->kerberos_tgt_passing == -1)