1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +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:
Jeremy Allison 2006-09-02 20:17:05 +00:00 committed by Gerald (Jerry) Carter
parent 77fe2a3d74
commit f16b41c3c9

View File

@ -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")) {