r26228: Store loadparm context in auth context, move more loadparm_contexts up the...
[jelmer/samba4-debian.git] / source / rpc_server / lsa / lsa_init.c
index 83607cc446e51d7f174f86b08b9b67aee566422b..c86fdf333d321b23775e5760609552985569a960 100644 (file)
@@ -57,7 +57,7 @@ NTSTATUS dcesrv_lsa_get_policy_state(struct dcesrv_call_state *dce_call, TALLOC_
 
        partitions_basedn = samdb_partitions_dn(state->sam_ldb, mem_ctx);
 
-       state->sidmap = sidmap_open(state);
+       state->sidmap = sidmap_open(state, global_loadparm);
        if (state->sidmap == NULL) {
                return NT_STATUS_INVALID_SYSTEM_SERVICE;
        }