summaryrefslogtreecommitdiff
path: root/source4/lib/registry/reg_backend_ldb.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-21 01:30:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:58:59 -0500
commitd64ccc01769ce274c74d8458f9ef81cdcc8986f6 (patch)
tree27c1b92cf2c0d482fdab208f33b876314cacb13e /source4/lib/registry/reg_backend_ldb.c
parentb556df32a849eefa2f2f34868eee02f05451878d (diff)
downloadsamba-d64ccc01769ce274c74d8458f9ef81cdcc8986f6.tar.gz
samba-d64ccc01769ce274c74d8458f9ef81cdcc8986f6.tar.bz2
samba-d64ccc01769ce274c74d8458f9ef81cdcc8986f6.zip
r14599: Pass ACLs down the registry layer.
(This used to be commit 6cdefd8945eee5513a6993350ea71f12d4dbd6fa)
Diffstat (limited to 'source4/lib/registry/reg_backend_ldb.c')
-rw-r--r--source4/lib/registry/reg_backend_ldb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/reg_backend_ldb.c b/source4/lib/registry/reg_backend_ldb.c
index 6c668d7b48..ec185cd65b 100644
--- a/source4/lib/registry/reg_backend_ldb.c
+++ b/source4/lib/registry/reg_backend_ldb.c
@@ -262,8 +262,8 @@ static WERROR ldb_open_hive(struct registry_hive *hive, struct registry_key **k)
struct ldb_context *wrap;
if (!hive->location) return WERR_INVALID_PARAM;
- /* TODO: Support remoting with credentials and ACLs with session tokens */
- wrap = ldb_wrap_connect(hive, hive->location, NULL, NULL, 0, NULL);
+
+ wrap = ldb_wrap_connect(hive, hive->location, hive->session_info, hive->credentials, 0, NULL);
if(!wrap) {
DEBUG(1, ("ldb_open_hive: unable to connect\n"));