diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-04 01:23:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:19:08 -0500 |
commit | e0d521ca79314b7c27512565262f614f67e20e64 (patch) | |
tree | 9efe89f626380bb861052fce0e9ac4ccf3287f27 /source4/torture/raw | |
parent | b48c1214548a22c989231291221554e3de2d3954 (diff) | |
download | samba-e0d521ca79314b7c27512565262f614f67e20e64.tar.gz samba-e0d521ca79314b7c27512565262f614f67e20e64.tar.bz2 samba-e0d521ca79314b7c27512565262f614f67e20e64.zip |
r8104: - added support for our client library to not negotiate nt status codes, controlled
with 'nt status support' option.
- make nt_errstr() display nice strings for dos status codes encoded
using NT_STATUS_DOS()
- no longer map between dos and nt status codes in the client library,
instead return using NT_STATUS_DOS()
- fixed the RAW-CONTEXT test to look for
NT_STATUS_DOS(ERRSRV, ERRbaduid) instead of NT_STATUS_INVALID_HANDLE
(This used to be commit ff5549e87ffae9f062394f30d8fd1ae95b614735)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r-- | source4/torture/raw/context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c index f7fe006917..830814f69c 100644 --- a/source4/torture/raw/context.c +++ b/source4/torture/raw/context.c @@ -202,11 +202,11 @@ static BOOL test_session(struct smbcli_state *cli, TALLOC_CTX *mem_ctx) printf("the new vuid should not now be accessible\n"); status = smb_raw_write(tree, &wr); - CHECK_STATUS(status, NT_STATUS_INVALID_HANDLE); + CHECK_STATUS(status, NT_STATUS_DOS(ERRSRV, ERRbaduid)); printf("second logoff for the new vuid should fail\n"); status = smb_raw_ulogoff(session); - CHECK_STATUS(status, NT_STATUS_INVALID_HANDLE); + CHECK_STATUS(status, NT_STATUS_DOS(ERRSRV, ERRbaduid)); talloc_free(session); printf("the fnum should have been auto-closed\n"); |