summaryrefslogtreecommitdiff
path: root/source/samrd/srv_samr_dom_tdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/samrd/srv_samr_dom_tdb.c')
-rw-r--r--source/samrd/srv_samr_dom_tdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/samrd/srv_samr_dom_tdb.c b/source/samrd/srv_samr_dom_tdb.c
index 2f447b0fa17..515134e6583 100644
--- a/source/samrd/srv_samr_dom_tdb.c
+++ b/source/samrd/srv_samr_dom_tdb.c
@@ -140,7 +140,8 @@ uint32 _samr_open_domain(const POLICY_HND *connect_pol,
}
/* get a (unique) handle. open a policy on it. */
- if (!open_policy_hnd(get_global_hnd_cache(), domain_pol, ace_perms))
+ if (!open_policy_hnd(get_global_hnd_cache(),
+ get_sec_ctx(), domain_pol, ace_perms))
{
return NT_STATUS_ACCESS_DENIED;
}