[CentOS] Possible deadlock: Trying to lookup SID S-1-1-0 with passdb backend SAMBA

Fri May 15 18:52:59 UTC 2009
JohnS <jses27 at gmail.com>

May 15 14:14:07 twittle winbindd[2635]: [2009/05/15 14:14:07, 0]
nsswitch/idmap.c:idmap_init(772) 
May 15 14:14:07 twittle winbindd[2635]:   ERROR: Initialization failed
for alloc backend tdb, deferred! 
May 15 14:14:07 twittle winbindd[2598]: [2009/05/15 14:14:07, 0]
nsswitch/winbindd_passdb.c:sid_to_name(126) 
May 15 14:14:07 twittle winbindd[2598]:   Possible deadlock: Trying to
lookup SID S-1-1-0 with passdb backend 
May 15 14:14:07 twittle winbindd[2598]: [2009/05/15 14:14:07, 0]
nsswitch/winbindd_passdb.c:sid_to_name(126) 
May 15 14:14:07 twittle winbindd[2598]:   Possible deadlock: Trying to
lookup SID S-1-5-2 with passdb backend 
May 15 14:14:30 twittle nmbd[2633]: [2009/05/15 14:14:30, 0]
nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)


[root at twittle ~]# rpm -q samba
samba-3.0.33-3.7.el5

http://bugs.centos.org/view.php?id=2790
Does not Apply here.

"vscan-clamav" runs in the Global Sections of all smb.confs of which
I do not see a problem here.

I have multiple smb.conf files that I use for testing. While it is not a
big problem for me I imagine it is for others.

The problem only happens when going from using an ldap backkend or AD
ldap that is using winbind for enumeration of users and groups or if
just in general the winbind service is running. 

On this happening no Samba Shares are accessable.

Does anyone have a fix for this? Or Patch.

JohnStanley