diff options
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_pipe_hnd.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index cf7fe75f63..f6146c08d1 100644 --- a/source3/rpc_server/srv_pipe_hnd.c +++ b/source3/rpc_server/srv_pipe_hnd.c @@ -185,13 +185,19 @@ static bool dcesrv_auth_request(pipes_struct *p, struct ncacn_packet *pkt) DATA_BLOB data; DATA_BLOB full_pkt; + DEBUG(10, ("Checking request auth.\n")); + if (pkt->pfc_flags & DCERPC_PFC_FLAG_OBJECT_UUID) { hdr_size += 16; } switch (p->auth.auth_level) { case DCERPC_AUTH_LEVEL_PRIVACY: + DEBUG(10, ("Requested Privacy.\n")); + break; + case DCERPC_AUTH_LEVEL_INTEGRITY: + DEBUG(10, ("Requested Integrity.\n")); break; case DCERPC_AUTH_LEVEL_CONNECT: @@ -230,6 +236,8 @@ static bool dcesrv_auth_request(pipes_struct *p, struct ncacn_packet *pkt) case PIPE_AUTH_TYPE_SPNEGO_NTLMSSP: case PIPE_AUTH_TYPE_NTLMSSP: + DEBUG(10, ("NTLMSSP auth\n")); + if (!p->auth.a_u.auth_ntlmssp_state) { DEBUG(0, ("Invalid auth level, " "failed to process packet auth.\n")); @@ -270,6 +278,8 @@ static bool dcesrv_auth_request(pipes_struct *p, struct ncacn_packet *pkt) case PIPE_AUTH_TYPE_SCHANNEL: + DEBUG(10, ("SCHANNEL auth\n")); + switch (p->auth.auth_level) { case DCERPC_AUTH_LEVEL_PRIVACY: status = netsec_incoming_packet( |