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

tridge at samba.org tridge at samba.org
Thu Sep 23 02:21:51 GMT 2004


Author: tridge
Date: 2004-09-23 02:21:51 +0000 (Thu, 23 Sep 2004)
New Revision: 2556

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/lib/ldb/ldb_tdb&rev=2556&nolog=1

Log:
fixed the -s one bug that jelmer pointed out






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


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_match.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_match.c	2004-09-23 02:21:11 UTC (rev 2555)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_match.c	2004-09-23 02:21:51 UTC (rev 2556)
@@ -218,7 +218,7 @@
 	base_len = strlen(base);
 	dn_len = strlen(dn);
 
-	if (ldb_dn_cmp(dn, base) == 0) {
+	if (scope != LDB_SCOPE_ONELEVEL && ldb_dn_cmp(dn, base) == 0) {
 		return 1;
 	}
 



More information about the samba-cvs mailing list