svn commit: samba r19230 - in branches/SAMBA_3_0/source/nsswitch: .

jra at samba.org jra at samba.org
Tue Oct 10 16:15:01 GMT 2006


Author: jra
Date: 2006-10-10 16:15:01 +0000 (Tue, 10 Oct 2006)
New Revision: 19230

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

Log:
Doh ! Fix obvious crash bug.....

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c	2006-10-10 15:19:56 UTC (rev 19229)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_dual.c	2006-10-10 16:15:01 UTC (rev 19230)
@@ -510,8 +510,8 @@
 		DEBUG(10,("winbind_msg_offline: sending message to pid %u for domain %s.\n",
 			(unsigned int)child->pid, domain->name ));
 
-		message_send_pid(pid_to_procid(child->pid), MSG_WINBIND_OFFLINE, domain->name,
-			strlen(domain->name)+1, False);
+		message_send_pid(pid_to_procid(child->pid), MSG_WINBIND_OFFLINE, child->domain->name,
+			strlen(child->domain->name)+1, False);
 	}
 }
 
@@ -561,10 +561,10 @@
 		   we only set it online / offline for that domain. */
 
 		DEBUG(10,("winbind_msg_online: sending message to pid %u for domain %s.\n",
-			(unsigned int)child->pid, domain->name ));
+			(unsigned int)child->pid, child->domain->name ));
 
-		message_send_pid(pid_to_procid(child->pid), MSG_WINBIND_ONLINE, domain->name,
-			strlen(domain->name)+1, False);
+		message_send_pid(pid_to_procid(child->pid), MSG_WINBIND_ONLINE, child->domain->name,
+			strlen(child->domain->name)+1, False);
 	}
 }
 



More information about the samba-cvs mailing list