[Samba] Samba 3.0.20a and Winbind crashing (bug?)

Jeremy Allison jra at samba.org
Mon Oct 10 21:40:15 GMT 2005


On Sun, Oct 09, 2005 at 06:25:56PM +0100, sysrm at stvincent.ac.uk wrote:
> Hi all.
> 
> having major issues on all my servers at the moment.
> 
> All running RHES 3, all with samba 3.0.20a and all have the winbind
> crashing problem :/
> 
> the main 2 are the filestore and email servers, also get the most usage.
> 
> in fact from my systems point of view, its definatly a most usage = most
> frequent winbind crashing issue.
> 
> Any help from others or the dev team gratefully received.
> 
> NB i have also set a cron to restart smb at 22:00 every night.

Please try this patch :

Jeremy.
-------------- next part --------------
Index: nsswitch/winbindd_misc.c
===================================================================
--- nsswitch/winbindd_misc.c	(revision 10687)
+++ nsswitch/winbindd_misc.c	(revision 10688)
@@ -127,7 +127,8 @@
 
 	if (num_domains > 0)
 		extra_data = talloc_asprintf(state->mem_ctx, "%s\\%s\\%s",
-					     names[0], alt_names[0],
+					     names[0],
+					     alt_names[0] ? alt_names[0] : names[0],
 					     sid_string_static(&sids[0]));
 
 	for (i=1; i<num_domains; i++)


More information about the samba mailing list