svn commit: samba r23348 - in branches: SAMBA_3_0/source/nsswitch SAMBA_3_0_25/source/nsswitch SAMBA_3_0_26/source/nsswitch

jra at samba.org jra at samba.org
Mon Jun 4 23:51:20 GMT 2007


Author: jra
Date: 2007-06-04 23:51:19 +0000 (Mon, 04 Jun 2007)
New Revision: 23348

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23348

Log:
Fix connection reporting on SIGUSR2 (noticed by
Herb).
Jeremy.

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd.c
   branches/SAMBA_3_0_25/source/nsswitch/winbindd.c
   branches/SAMBA_3_0_26/source/nsswitch/winbindd.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd.c	2007-06-04 23:31:34 UTC (rev 23347)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd.c	2007-06-04 23:51:19 UTC (rev 23348)
@@ -315,6 +315,9 @@
 	if (state->mem_ctx == NULL)
 		return;
 
+	/* Remember who asked us. */
+	state->pid = state->request.pid;
+
 	/* Process command */
 
 	for (table = dispatch_table; table->fn; table++) {

Modified: branches/SAMBA_3_0_25/source/nsswitch/winbindd.c
===================================================================
--- branches/SAMBA_3_0_25/source/nsswitch/winbindd.c	2007-06-04 23:31:34 UTC (rev 23347)
+++ branches/SAMBA_3_0_25/source/nsswitch/winbindd.c	2007-06-04 23:51:19 UTC (rev 23348)
@@ -303,6 +303,9 @@
 	if (state->mem_ctx == NULL)
 		return;
 
+	/* Remember who asked us. */
+	state->pid = state->request.pid;
+
 	/* Process command */
 
 	for (table = dispatch_table; table->fn; table++) {

Modified: branches/SAMBA_3_0_26/source/nsswitch/winbindd.c
===================================================================
--- branches/SAMBA_3_0_26/source/nsswitch/winbindd.c	2007-06-04 23:31:34 UTC (rev 23347)
+++ branches/SAMBA_3_0_26/source/nsswitch/winbindd.c	2007-06-04 23:51:19 UTC (rev 23348)
@@ -320,6 +320,9 @@
 	if (state->mem_ctx == NULL)
 		return;
 
+	/* Remember who asked us. */
+	state->pid = state->request.pid;
+
 	/* Process command */
 
 	for (table = dispatch_table; table->fn; table++) {



More information about the samba-cvs mailing list