summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_pipe_hnd.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-04-06 07:04:09 +0000
committerVolker Lendecke <vlendec@samba.org>2003-04-06 07:04:09 +0000
commitb4d0f208fb936382c7b313bd94c180b5cb708cea (patch)
treea7b415eb649187b2c332040a23025ecccd2a2bd1 /source3/rpc_server/srv_pipe_hnd.c
parent3a9b54261f26981ff57f260b04e606296d7724f5 (diff)
downloadsamba-b4d0f208fb936382c7b313bd94c180b5cb708cea.tar.gz
samba-b4d0f208fb936382c7b313bd94c180b5cb708cea.tar.bz2
samba-b4d0f208fb936382c7b313bd94c180b5cb708cea.zip
Merge the TNG netlogon schannel from HEAD.
No more XP requiresignorseal anymore! Thanks again to Luke :-) Volker (This used to be commit 6b2b55901d66cab0c0c0c90bd0585c870be6e468)
Diffstat (limited to 'source3/rpc_server/srv_pipe_hnd.c')
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c
index 8cb81b9c6d..125f603771 100644
--- a/source3/rpc_server/srv_pipe_hnd.c
+++ b/source3/rpc_server/srv_pipe_hnd.c
@@ -594,11 +594,18 @@ static BOOL process_request_pdu(pipes_struct *p, prs_struct *rpc_in_p)
* Authentication _was_ requested and it already failed.
*/
- DEBUG(0,("process_request_pdu: RPC request received on pipe %s where \
-authentication failed. Denying the request.\n", p->name));
+ DEBUG(0,("process_request_pdu: RPC request received on pipe %s "
+ "where authentication failed. Denying the request.\n",
+ p->name));
set_incoming_fault(p);
- return False;
- }
+ return False;
+ }
+
+ if (p->netsec_auth_validated && !api_pipe_netsec_process(p, rpc_in_p)) {
+ DEBUG(0,("process_request_pdu: failed to do schannel processing.\n"));
+ set_incoming_fault(p);
+ return False;
+ }
/*
* Check the data length doesn't go over the 15Mb limit.