diff options
Diffstat (limited to 'source4/dsdb')
-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 36f4a8816d..b3ed41a752 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); |