1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-07 00:58:40 +03:00

torture/raw Allow one more 'not implemented' status return as a valid response

The Samba4 server responds to most ioctl calls with NT_STATUS_NOT_SUPPORTED

Andrew Bartlett

Signed-off-by: Andrew Tridgell <tridge@samba.org>
This commit is contained in:
Andrew Bartlett 2010-09-16 17:53:36 +10:00 committed by Andrew Tridgell
parent 4083b8ac6c
commit a394a8104e

View File

@ -112,7 +112,8 @@ static bool test_fsctl(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
nt.ntioctl.in.blob.data[1] = 15+1;
status = smb_raw_ioctl(cli->tree, mem_ctx, &nt);
if (!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_PARAMETER) &&
!NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) {
!NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED) &&
!NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)) {
printf("Got unexpected error code: %s\n",
nt_errstr(status));
ret = false;