diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-02 21:32:08 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:47:13 +0100 |
commit | 934e932387ea5668ec000bcefe4ec86935297339 (patch) | |
tree | b101a7e8ff027df768ef9612ca9a7b84f12a7b8a /source4/dsdb/samdb/samdb.c | |
parent | 7e298580e06a5b9a0c1210937af47f277849080e (diff) | |
download | samba-934e932387ea5668ec000bcefe4ec86935297339.tar.gz |
r26235: Avoid global_loadparm.
(This used to be commit e9039782204389cc827e76da319d5ccf6d33be46)
Diffstat (limited to 'source4/dsdb/samdb/samdb.c')
-rw-r--r-- | source4/dsdb/samdb/samdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/samdb.c b/source4/dsdb/samdb/samdb.c index 36f4a8816d6..b3ed41a752c 100644 --- a/source4/dsdb/samdb/samdb.c +++ b/source4/dsdb/samdb/samdb.c @@ -727,7 +727,7 @@ int samdb_copy_template(struct ldb_context *ldb, return LDB_ERR_OPERATIONS_ERROR; } - templates_ldb = ldb_wrap_connect(ldb, global_loadparm, + templates_ldb = ldb_wrap_connect(ldb, (struct loadparm_context *)ldb_get_opaque(ldb, "loadparm"), templates_ldb_path, NULL, NULL, 0, NULL); talloc_free(templates_ldb_path); |