r4979: Return NT_STATUS_INVALID_SYSTEM_SERVICE for unimplemented RAP calls as
authorTim Potter <tpot@samba.org>
Tue, 25 Jan 2005 09:46:00 +0000 (09:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:11 +0000 (13:09 -0500)
this is what win2k3 does.
(This used to be commit 145d7c03df477eca08cb81d221e3a1b60ccf8c7f)

source4/ntvfs/ipc/ipc_rap.c

index eeea7e24f7f898bf2954dd9ddae7218225ab77d7..e985d81baabaa935c2551af8fa27bfb04b9e5911 100644 (file)
@@ -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) {