summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-02-06 10:48:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:44:42 -0500
commit6e25473ad8d8165dc0e499f1296ab1026524e9bc (patch)
tree7d3f089b05f3f6b999fb2e20b710f7254362f8d0 /source4/torture/rpc
parente47305005221b33e54c318d2e507f56efd4b6b8f (diff)
downloadsamba-6e25473ad8d8165dc0e499f1296ab1026524e9bc.tar.gz
samba-6e25473ad8d8165dc0e499f1296ab1026524e9bc.tar.bz2
samba-6e25473ad8d8165dc0e499f1296ab1026524e9bc.zip
r21178: Adapt RPC-SAMBA3-SHARESEC to new smbd behavior
(This used to be commit 38b688fd15a9103e5ef5c86e01b594169d6b6b9c)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/samba3rpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/rpc/samba3rpc.c b/source4/torture/rpc/samba3rpc.c
index 280bcc0bba..c6be028a92 100644
--- a/source4/torture/rpc/samba3rpc.c
+++ b/source4/torture/rpc/samba3rpc.c
@@ -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),