diff options
-rw-r--r-- | libcli/security/access_check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/security/access_check.c b/libcli/security/access_check.c index b0d4f4a1a7..c5f89af32a 100644 --- a/libcli/security/access_check.c +++ b/libcli/security/access_check.c @@ -285,7 +285,7 @@ NTSTATUS sec_access_check_ds(const struct security_descriptor *sd, uint32_t bits_remaining; struct object_tree *node; const struct GUID *type; - struct dom_sid *ps_sid = dom_sid_parse_talloc(sd, SID_NT_SELF); + struct dom_sid *ps_sid = dom_sid_parse_talloc(NULL, SID_NT_SELF); *access_granted = access_desired; bits_remaining = access_desired; |