1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.

Jeremy.
This commit is contained in:
Jeremy Allison 0001-01-01 00:00:00 +00:00
parent 183ce97d37
commit 723e9ee31c
3 changed files with 3 additions and 3 deletions

View File

@ -566,5 +566,5 @@ int reply_trans(connection_struct *conn, char *inbuf,char *outbuf, int size, int
SAFE_FREE(params);
SAFE_FREE(setup);
END_PROFILE(SMBtrans);
return ERROR_DOS(ERRDOS,ERRinvalidparam);
return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
}

View File

@ -1990,5 +1990,5 @@ due to being in oplock break state.\n", (unsigned int)function_code ));
SAFE_FREE(data);
SAFE_FREE(setup);
END_PROFILE(SMBnttrans);
return ERROR_DOS(ERRDOS,ERRinvalidparam);
return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
}

View File

@ -3372,5 +3372,5 @@ int reply_trans2(connection_struct *conn,
SAFE_FREE(params);
SAFE_FREE(data);
END_PROFILE(SMBtrans2);
return ERROR_DOS(ERRDOS,ERRinvalidparam);
return ERROR_NT(NT_STATUS_INVALID_PARAMETER);
}