summaryrefslogtreecommitdiff
path: root/servconf.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-04-13 11:04:40 +1000
committerDamien Miller <djm@mindrot.org>2002-04-13 11:04:40 +1000
commitfd4c9eee25e4e796b714477c3fbb0286ebe50fb7 (patch)
tree2b9995e4425eac437a6f1b195abf9f096cda0edb /servconf.c
parent927dfd2d7eb8801e444a3bcff7fdf7a628a779f0 (diff)
- (djm) Add KrbV support patch from Simon Wilkinson <simon@sxw.org.uk>
Diffstat (limited to 'servconf.c')
-rw-r--r--servconf.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/servconf.c b/servconf.c
index 8e6ee5bb3..8b5ee7bf1 100644
--- a/servconf.c
+++ b/servconf.c
@@ -12,8 +12,17 @@
12#include "includes.h" 12#include "includes.h"
13RCSID("$OpenBSD: servconf.c,v 1.105 2002/03/20 19:12:24 stevesk Exp $"); 13RCSID("$OpenBSD: servconf.c,v 1.105 2002/03/20 19:12:24 stevesk Exp $");
14 14
15#if defined(KRB4) || defined(KRB5) 15#if defined(KRB4)
16#include <krb.h>
17#endif
18#if defined(KRB5)
19#ifdef HEIMDAL
16#include <krb.h> 20#include <krb.h>
21#else
22/* Bodge - but then, so is using the kerberos IV KEYFILE to get a Kerberos V
23 * keytab */
24#define KEYFILE "/etc/krb5.keytab"
25#endif
17#endif 26#endif
18#ifdef AFS 27#ifdef AFS
19#include <kafs.h> 28#include <kafs.h>