mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r21178: Adapt RPC-SAMBA3-SHARESEC to new smbd behavior
This commit is contained in:
parent
d3fbc089f4
commit
38b688fd15
@ -2032,8 +2032,8 @@ BOOL try_tcon(TALLOC_CTX *mem_ctx,
|
||||
|
||||
status = smbcli_mkdir(tree, "sharesec_testdir");
|
||||
if (!NT_STATUS_EQUAL(status, expected_mkdir)) {
|
||||
d_printf("Expected %s, got %s\n", nt_errstr(expected_mkdir),
|
||||
nt_errstr(status));
|
||||
d_printf("(%s) Expected %s, got %s\n", __location__,
|
||||
nt_errstr(expected_mkdir), nt_errstr(status));
|
||||
ret = False;
|
||||
}
|
||||
|
||||
@ -2088,7 +2088,7 @@ BOOL torture_samba3_rpc_sharesec(struct torture_context *torture)
|
||||
ret &= try_tcon(mem_ctx, sd, cli->session,
|
||||
torture_setting_string(torture, "share", NULL),
|
||||
user_sid, SEC_FILE_READ_DATA, NT_STATUS_OK,
|
||||
NT_STATUS_NETWORK_ACCESS_DENIED);
|
||||
NT_STATUS_MEDIA_WRITE_PROTECTED);
|
||||
|
||||
ret &= try_tcon(mem_ctx, sd, cli->session,
|
||||
torture_setting_string(torture, "share", NULL),
|
||||
|
Loading…
Reference in New Issue
Block a user