diff options
author | Simo Sorce <idra@samba.org> | 2004-11-15 12:30:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:51 -0500 |
commit | 950f3eb508a70f2304f76a8307582690d4715670 (patch) | |
tree | 3b2a1cbe6e036406f80b6f1b6a42ca3d2b33a561 /source4/lib/ldb/common | |
parent | e2bc9a47c0380322b05018412958ed45f4283838 (diff) | |
download | samba-950f3eb508a70f2304f76a8307582690d4715670.tar.gz samba-950f3eb508a70f2304f76a8307582690d4715670.tar.bz2 samba-950f3eb508a70f2304f76a8307582690d4715670.zip |
r3757: Some fixes for ldb_ldap
Now we pass also the test-ldap tests :-)
(This used to be commit 0d58b1dc5aa0b00a924c1c5506f0c500c0b37b3e)
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 a7cfd81d46..37be07c1ca 100644 --- a/source4/lib/ldb/common/ldb_modules.c +++ b/source4/lib/ldb/common/ldb_modules.c @@ -80,7 +80,7 @@ int ldb_load_modules(struct ldb_context *ldb, const char *options[]) } } - if (!modules) { /* no modules in the options, look for @MODULES in the db */ + if (!modules && strcmp("ldap", ldb->modules->ops->name)) { /* no modules in the options, look for @MODULES in the db (not for ldap) */ int ret, j, k; char * attrs[] = { "@MODULE" }; struct ldb_message **msg; |