summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-03-07 23:34:55 +0000
committerJeremy Allison <jra@samba.org>2003-03-07 23:34:55 +0000
commiteed8772da109ecc6e9f35fd27b719795b28a47fb (patch)
treeca70b9664c010c18cd0fafa1b7a3f35445b387d9 /source3
parentf944fd6975a598a154a943867c94f3dabc7a1139 (diff)
downloadsamba-eed8772da109ecc6e9f35fd27b719795b28a47fb.tar.gz
samba-eed8772da109ecc6e9f35fd27b719795b28a47fb.tar.bz2
samba-eed8772da109ecc6e9f35fd27b719795b28a47fb.zip
Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.
Jeremy. (This used to be commit c0930e6d15eb68f06453d9b67142ccd7fb1370a0)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/ipc.c2
-rw-r--r--source3/smbd/nttrans.c2
-rw-r--r--source3/smbd/trans2.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index 67c5da01f3..da30ec7440 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -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);
}
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 375c6c44f6..e6884cbb1e 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -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);
}
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index d57a29ff77..bea09e9e37 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -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);
}