mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r6904: use "krb5:kdc=yes" in your smb.conf when you have the lorikeet-heimdal kdc running
metze
(This used to be commit fa652919bd
)
This commit is contained in:
parent
7c8284fefc
commit
45511bd09b
@ -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")) {
|
||||
|
@ -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")) {
|
||||
|
Loading…
Reference in New Issue
Block a user