summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-06-28 00:51:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:54 -0500
commitedb86cf196296c3cb887fd112f680248573d78ad (patch)
treed95578a3ba403f026c307004dc022e631e671591 /source4/param
parent2fb1e179f6ab4c7e882d2f23ab39e8ac9bcc96a0 (diff)
downloadsamba-edb86cf196296c3cb887fd112f680248573d78ad.tar.gz
samba-edb86cf196296c3cb887fd112f680248573d78ad.tar.bz2
samba-edb86cf196296c3cb887fd112f680248573d78ad.zip
r7966: We need a better way to do this, but enable the KDC by default, if we
have kerberos. Andrew Bartlett (This used to be commit 3d82b1417b9f2e31089cb8ee7e4f98bd226f2e75)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/loadparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index d968157a3a..49dbd74a69 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -925,7 +925,11 @@ static void init_globals(void)
do_parameter("max connections", "-1");
do_parameter("dcerpc endpoint servers", "epmapper srvsvc wkssvc rpcecho samr netlogon lsarpc spoolss drsuapi winreg dssetup");
+#ifdef WITH_KRB5
+ do_parameter("server services", "smb rpc nbt ldap cldap web kdc");
+#else
do_parameter("server services", "smb rpc nbt ldap cldap web");
+#endif
do_parameter("ntptr providor", "simple_ldb");
do_parameter("auth methods", "anonymous sam_ignoredomain");
do_parameter("smb passwd file", dyn_SMB_PASSWD_FILE);