Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.
authorJeremy Allison <jra@samba.org>
Fri, 7 Mar 2003 23:34:51 +0000 (23:34 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 7 Mar 2003 23:34:51 +0000 (23:34 +0000)
Jeremy.

source/smbd/ipc.c
source/smbd/nttrans.c
source/smbd/trans2.c

index 67c5da01f33809e09695417694bce7ce820747c4..da30ec7440239519fe1ba970a60f9b747d64dc36 100644 (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);
 }
index 375c6c44f63b40f50b15e749097ac9909f774ad6..e6884cbb1ee9d020f1e8fb08c7e86ee15090aafb 100644 (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);
 }
index d57a29ff7739a0e9a9895f75e59b12074c61fbba..bea09e9e373a4bdeee2f06d7c23d066c72709fc3 100644 (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);
 }