diff options
author | jkh <jkh@FreeBSD.org> | 1999-12-14 00:47:23 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-12-14 00:47:23 +0000 |
commit | 003a13cc327a75a9c8505597dd8fe28a28152325 (patch) | |
tree | 2991f93552a0d10639e69652de3db2cd5aa5dcf9 /usr.sbin/sysinstall | |
parent | 64485eb0e0d75cb811510b7f5eb2365f7abc3ba2 (diff) | |
download | FreeBSD-src-003a13cc327a75a9c8505597dd8fe28a28152325.zip FreeBSD-src-003a13cc327a75a9c8505597dd8fe28a28152325.tar.gz |
Make kerberos4 conditional.
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r-- | usr.sbin/sysinstall/dist.c | 4 | ||||
-rw-r--r-- | usr.sbin/sysinstall/dist.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c index a97c182..bb4e6e2 100644 --- a/usr.sbin/sysinstall/dist.c +++ b/usr.sbin/sysinstall/dist.c @@ -91,7 +91,11 @@ static Distribution DistTable[] = { /* The DES distribution (not for export!) */ static Distribution DESDistTable[] = { { "des", "/", &DESDists, DIST_DES_DES, NULL }, +#if __FreeBSD__ > 3 { "krb4", "/", &DESDists, DIST_DES_KERBEROS4, NULL }, +#else +{ "krb", "/", &DESDists, DIST_DES_KERBEROS, NULL }, +#endif { "ssecure", "/usr/src", &DESDists, DIST_DES_SSECURE, NULL }, { "scrypto", "/usr/src", &DESDists, DIST_DES_SCRYPTO, NULL }, { "skerbero", "/usr/src", &DESDists, DIST_DES_SKERBEROS, NULL }, diff --git a/usr.sbin/sysinstall/dist.h b/usr.sbin/sysinstall/dist.h index 2fae0fb..a13f8b7 100644 --- a/usr.sbin/sysinstall/dist.h +++ b/usr.sbin/sysinstall/dist.h @@ -37,7 +37,11 @@ #define DIST_DES_DES 0x0001 #define DIST_DES_SCRYPTO 0x0002 #define DIST_DES_SSECURE 0x0004 +#if __FreeBSD__ > 3 #define DIST_DES_KERBEROS4 0x0008 +#else +#define DIST_DES_KERBEROS 0x0008 +#endif #define DIST_DES_SKERBEROS 0x0010 /* Subtypes for SRC distribution */ |