diff options
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/samba3rpc.c | 4 | ||||
-rw-r--r-- | source4/torture/rpc/winreg.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c index c8d58bf620..d91f935f7f 100644 --- a/source4/torture/rpc/samba3rpc.c +++ b/source4/torture/rpc/samba3rpc.c @@ -2117,14 +2117,14 @@ bool try_tcon(TALLOC_CTX *mem_ctx, return false; } - sd = security_descriptor_create( + sd = security_descriptor_dacl_create( 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), SEC_ACE_TYPE_ACCESS_ALLOWED, access_mask, 0, NULL); if (sd == NULL) { - d_printf("security_descriptor_create failed\n"); + d_printf("security_descriptor_dacl_create failed\n"); talloc_free(tmp_ctx); return false; } diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c index 4c765f72a2..733d7f2958 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -139,7 +139,7 @@ static bool test_CreateKey_sd(struct dcerpc_pipe *p, DATA_BLOB sdblob; struct winreg_SecBuf secbuf; - sd = security_descriptor_create(tctx, + sd = security_descriptor_dacl_create(tctx, 0, NULL, NULL, SID_NT_AUTHENTICATED_USERS, |