git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6185fb4
)
dsgetinfo: Set modulesdir when using ldb without ldb_wrap
author
Jelmer Vernooij
<jelmer@samba.org>
Sat, 4 Sep 2010 22:58:41 +0000
(
00:58
+0200)
committer
Jelmer Vernooij
<jelmer@samba.org>
Sat, 4 Sep 2010 22:58:41 +0000
(
00:58
+0200)
(Is there a particular reason we're not using ldb_wrap here?)
source4/torture/rpc/dsgetinfo.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/dsgetinfo.c
b/source4/torture/rpc/dsgetinfo.c
index 8cf3edcdd70c053dd7e1a3156c091838cfac073f..7b152d37542b0999c2e6390bcbf8aaac8facbfee 100644
(file)
--- a/
source4/torture/rpc/dsgetinfo.c
+++ b/
source4/torture/rpc/dsgetinfo.c
@@
-87,6
+87,9
@@
static const char *torture_get_ldap_base_dn(struct torture_context *tctx, struct
return NULL;
}
+ ldb_set_modules_dir(ldb,
+ talloc_asprintf(ldb, "%s/ldb", lpcfg_modulesdir(tctx->lp_ctx)));
+
ret = ldb_connect(ldb, ldap_url, 0, NULL);
if (ret != LDB_SUCCESS) {
torture_comment(tctx, "Failed to make LDB connection to target");