mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r18007: Ensure we don't namecache KDC entries with port 88
as a generic DC (that should be the LDAP port). Jeremy.
This commit is contained in:
parent
77fe2a3d74
commit
f16b41c3c9
@ -1197,6 +1197,8 @@ BOOL internal_resolve_name(const char *name, int name_type,
|
||||
SRV record lookup */
|
||||
if (resolve_ads(name, KDC_NAME_TYPE, return_iplist, return_count)) {
|
||||
result = True;
|
||||
/* Ensure we don't namecache this with the KDC port. */
|
||||
name_type = KDC_NAME_TYPE;
|
||||
goto done;
|
||||
}
|
||||
} else if(strequal( tok, "ads")) {
|
||||
|
Loading…
Reference in New Issue
Block a user