diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-05-19 13:35:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:56 -0500 |
commit | 45511bd09b62266904c547398037fd41fbb8871e (patch) | |
tree | 30de9e905d6aed963a7aa2f1925a8cb7e1d388bd /source4 | |
parent | 7c8284fefc40a89b7979a7a07bb4ec2c45a02d98 (diff) | |
download | samba-45511bd09b62266904c547398037fd41fbb8871e.tar.gz samba-45511bd09b62266904c547398037fd41fbb8871e.tar.bz2 samba-45511bd09b62266904c547398037fd41fbb8871e.zip |
r6904: use "krb5:kdc=yes" in your smb.conf when you have the lorikeet-heimdal kdc running
metze
(This used to be commit fa652919bd6ab58ff15cab239cf88d2359b03d55)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/cldap_server/netlogon.c | 2 | ||||
-rw-r--r-- | source4/nbt_server/dgram/netlogon.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/cldap_server/netlogon.c b/source4/cldap_server/netlogon.c index 191b2b10b4..3ccad45d9f 100644 --- a/source4/cldap_server/netlogon.c +++ b/source4/cldap_server/netlogon.c @@ -83,7 +83,7 @@ static NTSTATUS cldapd_netlogon_fill(struct cldapd_server *cldapd, NBT_SERVER_CLOSEST | NBT_SERVER_WRITABLE | NBT_SERVER_GOOD_TIMESERV; - if (lp_parm_bool(-1, "gensec", "krb5", True)) { + if (lp_parm_bool(-1, "krb5", "kdc", True)) { server_type |= NBT_SERVER_KDC; } if (str_list_check(services, "ldap")) { diff --git a/source4/nbt_server/dgram/netlogon.c b/source4/nbt_server/dgram/netlogon.c index eedb7405a5..326bfb00e5 100644 --- a/source4/nbt_server/dgram/netlogon.c +++ b/source4/nbt_server/dgram/netlogon.c @@ -118,7 +118,7 @@ static void nbtd_netlogon_getdc2(struct dgram_mailslot_handler *dgmslot, NBT_SERVER_GOOD_TIMESERV; /* hmm, probably a better way to do this */ - if (lp_parm_bool(-1, "gensec", "krb5", True)) { + if (lp_parm_bool(-1, "krb5", "kdc", True)) { pdc->server_type |= NBT_SERVER_KDC; } if (str_list_check(services, "ldap")) { |