summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common/ldb.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-11 15:42:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:06:25 -0500
commited2a1c718ae4fb56fdfe73da6f63ddb7fb15d9fd (patch)
treed583b466f1e3fdfe309d4e19077e2cc7deb6a862 /source4/lib/ldb/common/ldb.c
parentc44019e1e3d804f577e6432e191fb3d3e93a8f02 (diff)
downloadsamba-ed2a1c718ae4fb56fdfe73da6f63ddb7fb15d9fd.tar.gz
samba-ed2a1c718ae4fb56fdfe73da6f63ddb7fb15d9fd.tar.bz2
samba-ed2a1c718ae4fb56fdfe73da6f63ddb7fb15d9fd.zip
r25081: Add modules_dir member to ldb_context that is used rather than a global
modulesdir setting. Samba always sets this to lp_modulesdir()/ldb (This used to be commit e672380d2156cf0421108a9c34f04f096c2afeed)
Diffstat (limited to 'source4/lib/ldb/common/ldb.c')
-rw-r--r--source4/lib/ldb/common/ldb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c
index f8085d213a..eb8ff62a0d 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/source4/lib/ldb/common/ldb.c
@@ -51,6 +51,7 @@ struct ldb_context *ldb_init(void *mem_ctx)
ldb_set_utf8_default(ldb);
ldb_set_create_perms(ldb, 0666);
+ ldb_set_modules_dir(ldb, LDB_MODULESDIR);
return ldb;
}