svn commit: samba r6996 - in trunk/source/nsswitch: .

jra at samba.org jra at samba.org
Thu May 26 22:06:31 GMT 2005


Author: jra
Date: 2005-05-26 22:06:31 +0000 (Thu, 26 May 2005)
New Revision: 6996

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

Log:
Adding Volker's segfault patch (I hate svn code crashing :-).
Volker please tidy up as you wish.
Jeremy.

Modified:
   trunk/source/nsswitch/winbindd.c


Changeset:
Modified: trunk/source/nsswitch/winbindd.c
===================================================================
--- trunk/source/nsswitch/winbindd.c	2005-05-26 20:36:04 UTC (rev 6995)
+++ trunk/source/nsswitch/winbindd.c	2005-05-26 22:06:31 UTC (rev 6996)
@@ -646,7 +646,8 @@
 
 	for (state = winbindd_client_list(); state; state = state->next) {
 		if (state->read_buf_len == 0 && state->write_buf_len == 0 &&
-				!state->getpwent_state && !state->getgrent_state) {
+		    state->response.result != WINBINDD_PENDING &&
+		    !state->getpwent_state && !state->getgrent_state) {
 			nidle++;
 			if (!last_access || state->last_access < last_access) {
 				last_access = state->last_access;



More information about the samba-cvs mailing list