svn commit: samba r7608 - in branches/SAMBA_4_0/source/lib/ldb/common: .

idra at samba.org idra at samba.org
Wed Jun 15 13:01:40 GMT 2005


Author: idra
Date: 2005-06-15 13:01:39 +0000 (Wed, 15 Jun 2005)
New Revision: 7608

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

Log:

bug fix after yesterday's change


Modified:
   branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c	2005-06-15 13:01:19 UTC (rev 7607)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c	2005-06-15 13:01:39 UTC (rev 7608)
@@ -140,7 +140,7 @@
 		const char * const attrs[] = { "@LIST" , NULL};
 		struct ldb_message **msg = NULL;
 
-		ret = ldb_search(ldb, "", LDB_SCOPE_BASE, "dn=@MODULES", attrs, &msg);
+		ret = ldb_search(ldb, "@MODULES", LDB_SCOPE_BASE, "", attrs, &msg);
 		if (ret == 0 || (ret == 1 && msg[0]->num_elements == 0)) {
 			ldb_debug(ldb, LDB_DEBUG_TRACE, "no modules required by the db\n");
 		} else {



More information about the samba-cvs mailing list