r6904: use "krb5:kdc=yes" in your smb.conf when you have the lorikeet-heimdal kdc...
authorStefan Metzmacher <metze@samba.org>
Thu, 19 May 2005 13:35:50 +0000 (13:35 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:16:56 +0000 (13:16 -0500)
metze

source/cldap_server/netlogon.c
source/nbt_server/dgram/netlogon.c

index 191b2b10b4c644b61028568029a16d23db52b6c1..3ccad45d9f8694a5a06326ea3aeef7a21195ad70 100644 (file)
@@ -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")) {
index eedb7405a5688481f26b5b601a83a1907fb26acc..326bfb00e5cf82ca51ed7841db8ef4fcc17f5633 100644 (file)
@@ -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")) {