svn commit: samba r18007 - in branches/SAMBA_3_0/source/libsmb: .
jra at samba.org
jra at samba.org
Sat Sep 2 20:17:05 GMT 2006
Author: jra
Date: 2006-09-02 20:17:05 +0000 (Sat, 02 Sep 2006)
New Revision: 18007
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18007
Log:
Ensure we don't namecache KDC entries with port 88
as a generic DC (that should be the LDAP port).
Jeremy.
Modified:
branches/SAMBA_3_0/source/libsmb/namequery.c
Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/namequery.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/namequery.c 2006-09-02 19:27:44 UTC (rev 18006)
+++ branches/SAMBA_3_0/source/libsmb/namequery.c 2006-09-02 20:17:05 UTC (rev 18007)
@@ -1197,6 +1197,8 @@
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")) {
More information about the samba-cvs
mailing list