diff options
-rw-r--r-- | source/lib/msrpc-client.c | 2 | ||||
-rw-r--r-- | source/lib/set_vuid.c | 1 | ||||
-rw-r--r-- | source/msrpc/msrpcd_process.c | 4 |
3 files changed, 7 insertions, 0 deletions
diff --git a/source/lib/msrpc-client.c b/source/lib/msrpc-client.c index 690c3c05156..0454f0d2dcd 100644 --- a/source/lib/msrpc-client.c +++ b/source/lib/msrpc-client.c @@ -124,6 +124,7 @@ BOOL msrpc_receive(int fd, prs_struct * ps) if (!receive_msrpc(fd, ps, 0)) { + DEBUG(1,("msrpc_receive: failed\n")); return False; } @@ -131,6 +132,7 @@ BOOL msrpc_receive(int fd, prs_struct * ps) if (ps->data == NULL || len <= 0) { + DEBUG(10, ("ncalrpc_l_receive: no data\n")); return False; } diff --git a/source/lib/set_vuid.c b/source/lib/set_vuid.c index 593c5f2200c..9d4aa5de431 100644 --- a/source/lib/set_vuid.c +++ b/source/lib/set_vuid.c @@ -49,6 +49,7 @@ BOOL become_vuser(const vuser_key *k) if (!check_vuser_ok(&vcache, vuser, -1)) { + DEBUG(2,("become_vuser: check_vuser rejected access\n")); vuid_free_user_struct(vuser); return False; } diff --git a/source/msrpc/msrpcd_process.c b/source/msrpc/msrpcd_process.c index c534a438d78..90309875fa2 100644 --- a/source/msrpc/msrpcd_process.c +++ b/source/msrpc/msrpcd_process.c @@ -73,6 +73,8 @@ static BOOL receive_message_or_msrpc(int c, prs_struct * ps, struct timeval to; int maxfd; + DEBUG(10,("receive_message_or_msrpc: timeout %d fd %d\n", timeout, c)); + smb_read_error = 0; *got_msrpc = False; @@ -102,6 +104,7 @@ static BOOL receive_message_or_msrpc(int c, prs_struct * ps, { /* something is wrong. Maybe the socket is dead? */ smb_read_error = READ_ERROR; + DEBUG(2,("read error on loop-back socket\n")); return False; } @@ -109,6 +112,7 @@ static BOOL receive_message_or_msrpc(int c, prs_struct * ps, if (selrtn == 0) { smb_read_error = READ_TIMEOUT; + DEBUG(2,("timeout on loop-back socket\n")); return False; } |