summaryrefslogtreecommitdiff
path: root/source4/ntvfs/ipc
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-01-25 09:46:00 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:11 -0500
commit6cec461c8c8e6faad93e6d2a24d8da705c4ae8a0 (patch)
treea7d1be1042ed2b78cf050ba1996b2b090d99a08f /source4/ntvfs/ipc
parent769d81520c5bb235e0f9f90af260e06545ffa59a (diff)
downloadsamba-6cec461c8c8e6faad93e6d2a24d8da705c4ae8a0.tar.gz
samba-6cec461c8c8e6faad93e6d2a24d8da705c4ae8a0.tar.bz2
samba-6cec461c8c8e6faad93e6d2a24d8da705c4ae8a0.zip
r4979: Return NT_STATUS_INVALID_SYSTEM_SERVICE for unimplemented RAP calls as
this is what win2k3 does. (This used to be commit 145d7c03df477eca08cb81d221e3a1b60ccf8c7f)
Diffstat (limited to 'source4/ntvfs/ipc')
-rw-r--r--source4/ntvfs/ipc/ipc_rap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/ipc/ipc_rap.c b/source4/ntvfs/ipc/ipc_rap.c
index eeea7e24f7..e985d81baa 100644
--- a/source4/ntvfs/ipc/ipc_rap.c
+++ b/source4/ntvfs/ipc/ipc_rap.c
@@ -417,7 +417,7 @@ NTSTATUS ipc_rap_call(struct smbsrv_request *req, struct smb_trans2 *trans)
call->ndr_push_param->flags = RAPNDR_FLAGS;
call->ndr_push_data->flags = RAPNDR_FLAGS;
- result = NT_STATUS_NOT_IMPLEMENTED;
+ result = NT_STATUS_INVALID_SYSTEM_SERVICE;
for (i=0; api_commands[i].name != NULL; i++) {
if (api_commands[i].id == call->callno) {