svn commit: samba r17828 - in
branches/SAMBA_4_0/source/lib/ldb/common: .
tridge at samba.org
tridge at samba.org
Fri Aug 25 12:45:20 GMT 2006
Author: tridge
Date: 2006-08-25 12:45:19 +0000 (Fri, 25 Aug 2006)
New Revision: 17828
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17828
Log:
set the auto_baseDN opaque even on failure to fetch rootDSE. That
ensures we never try twice
Modified:
branches/SAMBA_4_0/source/lib/ldb/common/ldb.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb.c 2006-08-25 10:50:51 UTC (rev 17827)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb.c 2006-08-25 12:45:19 UTC (rev 17828)
@@ -554,9 +554,7 @@
basedn = ldb_msg_find_attr_as_dn(ldb, res->msgs[0], "defaultNamingContext");
}
- if (basedn) {
- ldb_set_opaque(ldb, "auto_baseDN", basedn);
- }
+ ldb_set_opaque(ldb, "auto_baseDN", basedn);
talloc_free(tmp_ctx);
return basedn;
More information about the samba-cvs
mailing list