summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-09-11 03:57:19 +0000
committerTim Potter <tpot@samba.org>2002-09-11 03:57:19 +0000
commit6b694ec39c2085fd26176a4bbf0fa4ce38002837 (patch)
treead43db49d2620f3c5ba7a544647137105ddfd072
parent7c152afe1606b1737a79a4d1f08e046286cb02ee (diff)
downloadsamba-6b694ec39c2085fd26176a4bbf0fa4ce38002837.tar.gz
samba-6b694ec39c2085fd26176a4bbf0fa4ce38002837.tar.bz2
samba-6b694ec39c2085fd26176a4bbf0fa4ce38002837.zip
Put pid number in invalid request size debug.
(This used to be commit e63afabf98350353fac79ffc2ae2ddf88d61260f)
-rw-r--r--source3/nsswitch/winbindd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index a3ffd1424b..58b0f5943c 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -628,8 +628,8 @@ static void process_loop(int accept_sock)
if (state->read_buf_len >= sizeof(uint32)
&& *(uint32 *) &state->request != sizeof(state->request)) {
- DEBUG(0,("process_loop: Invalid request size (%d) sent, should be (%d)\n",
- *(uint32 *) &state->request, sizeof(state->request)));
+ DEBUG(0,("process_loop: Invalid request size from pid %d: %d bytes sent, should be %d\n",
+ state->request.pid, *(uint32 *) &state->request, sizeof(state->request)));
remove_client(state);
break;