diff options
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/samba3rpc.c | 2 | ||||
-rw-r--r-- | source4/torture/rpc/winreg.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index 8c52199e66..fe75fabad6 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -2004,7 +2004,7 @@ bool try_tcon(TALLOC_CTX *mem_ctx, } sd = security_descriptor_create( - tmp_ctx, "S-1-5-32-544", + tmp_ctx, 0, "S-1-5-32-544", dom_sid_string(mem_ctx, dom_sid_add_rid(mem_ctx, domain_sid, DOMAIN_RID_USERS)), dom_sid_string(mem_ctx, user_sid), diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c index 44df6dab74..8086986917 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -138,6 +138,7 @@ static bool test_CreateKey_sd(struct dcerpc_pipe *p, struct winreg_SecBuf secbuf; sd = security_descriptor_create(tctx, + 0, NULL, NULL, SID_NT_AUTHENTICATED_USERS, SEC_ACE_TYPE_ACCESS_ALLOWED, |