r6904: use "krb5:kdc=yes" in your smb.conf when you have the lorikeet-heimdal kdc...
[samba.git] / source / nbt_server / dgram / netlogon.c
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")) {