mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +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 */
|
SRV record lookup */
|
||||||
if (resolve_ads(name, KDC_NAME_TYPE, return_iplist, return_count)) {
|
if (resolve_ads(name, KDC_NAME_TYPE, return_iplist, return_count)) {
|
||||||
result = True;
|
result = True;
|
||||||
|
/* Ensure we don't namecache this with the KDC port. */
|
||||||
|
name_type = KDC_NAME_TYPE;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
} else if(strequal( tok, "ads")) {
|
} else if(strequal( tok, "ads")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user