svn commit: samba r4397 - in branches/SAMBA_4_0/source/lib/ldb/ldb_tdb: .

vlendec at samba.org vlendec at samba.org
Wed Dec 29 22:25:47 GMT 2004


Author: vlendec
Date: 2004-12-29 22:25:46 +0000 (Wed, 29 Dec 2004)
New Revision: 4397

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4397

Log:
Fix a bug where '(&(objectclass=domain)(!(objectclass=builtindomain)))' fell
back to a full search.

Volker


Modified:
   branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c	2004-12-29 21:41:17 UTC (rev 4396)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c	2004-12-29 22:25:46 UTC (rev 4397)
@@ -526,6 +526,7 @@
 			return -1;
 		}
 
+		ret = 0;
 		if (ltdb_message_match(module, &msg, tree, base, scope) == 1) {
 			ret = ltdb_add_attr_results(module, &msg, attrs, &count, res);
 		}



More information about the samba-cvs mailing list