1
0
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 used to be commit 38b688fd15)
This commit is contained in:
Volker Lendecke 2007-02-06 10:48:32 +00:00 committed by Gerald (Jerry) Carter
parent e473050052
commit 6e25473ad8

View File

@ -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),