diff options
author | Simo Sorce <idra@samba.org> | 2005-06-15 13:01:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:14 -0500 |
commit | 9378cca1aeda2f12a997cd6017d6d983a20e34bf (patch) | |
tree | fed1857e4e72c0f195d1e786a66a9ef8c0ba5454 /source4/lib/ldb/common | |
parent | ee2b5ae0eb43e7670763bfb753395e8ec85a23f8 (diff) | |
download | samba-9378cca1aeda2f12a997cd6017d6d983a20e34bf.tar.gz samba-9378cca1aeda2f12a997cd6017d6d983a20e34bf.tar.bz2 samba-9378cca1aeda2f12a997cd6017d6d983a20e34bf.zip |
r7608: bug fix after yesterday's change
(This used to be commit 0218fc678e375a05fbc4da5500706199340918e2)
Diffstat (limited to 'source4/lib/ldb/common')
-rw-r--r-- | source4/lib/ldb/common/ldb_modules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c index 7df9901ae9..d4f35c0e56 100644 --- a/source4/lib/ldb/common/ldb_modules.c +++ b/source4/lib/ldb/common/ldb_modules.c @@ -140,7 +140,7 @@ int ldb_load_modules(struct ldb_context *ldb, const char *options[]) 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 { |