Author: vlendec Date: 2007-02-06 10:48:32 +0000 (Tue, 06 Feb 2007) New Revision: 21178
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21178 Log: Adapt RPC-SAMBA3-SHARESEC to new smbd behavior Modified: branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c Changeset: Modified: branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c =================================================================== --- branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c 2007-02-06 06:32:54 UTC (rev 21177) +++ branches/SAMBA_4_0/source/torture/rpc/samba3rpc.c 2007-02-06 10:48:32 UTC (rev 21178) @@ -2032,8 +2032,8 @@ 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 @@ 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),