r6904: use "krb5:kdc=yes" in your smb.conf when you have the lorikeet-heimdal kdc...
[samba.git] / source / cldap_server / 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;
 
                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")) {
                server_type |= NBT_SERVER_KDC;
        }
        if (str_list_check(services, "ldap")) {