summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-10 18:53:36 -0400
committerGünther Deschner <gd@samba.org>2010-07-13 14:44:11 +0200
commit272704e8c24cff706c5ce38567f7ab35b335cf92 (patch)
tree6669f66c2728116854adb744c795860e4b41c8b2 /source3/rpc_server
parent4ba89230ae03d00f9c6a0882df1361c5369b77a9 (diff)
downloadsamba-272704e8c24cff706c5ce38567f7ab35b335cf92.tar.gz
samba-272704e8c24cff706c5ce38567f7ab35b335cf92.tar.bz2
samba-272704e8c24cff706c5ce38567f7ab35b335cf92.zip
s3-dceprc: Add debug messages
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_pipe_hnd.c10
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(