diff options
-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")) { |