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

Jon Bendtsen jon.bendtsen at laerdal.dk
Tue Oct 11 09:51:43 GMT 2005


Den 10. okt 2005 kl. 23:40 skrev Jeremy Allison:

> 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 :

Succes, well sort off

This patch works for me as well. I can no longer crash winbindd by  
running
     getent passwd

However my auth.log file still contains
     write to socket failed!

But just a few seconds later it appears to be working, but it does  
not work.

Oct 11 11:23:20 frodo pam_winbind[6100]: write to socket failed!
Oct 11 11:23:20 frodo pam_winbind[6100]: internal module error  
(retval = 3, user = `dkrbr1')
Oct 11 11:23:27 frodo apache2[6100]: (pam_unix) authentication  
failure; logname= uid=33 euid=33 tty= ruser= rhost=192.168.119.160
Oct 11 11:23:27 frodo pam_winbind[6100]: write to socket failed!
Oct 11 11:23:27 frodo pam_winbind[6100]: internal module error  
(retval = 3, user = `dkrbr1')

(someone was connecting here using ssh and a unix account)

Oct 11 11:23:34 frodo apache2[6100]: (pam_unix) authentication  
failure; logname= uid=33 euid=33 tty= ruser= rhost=192.168.119.160
Oct 11 11:23:34 frodo pam_winbind[6100]: write to socket failed!
Oct 11 11:23:34 frodo pam_winbind[6100]: internal module error  
(retval = 3, user = `dkrbr1')
Oct 11 11:23:38 frodo sshd[16016]: Accepted publickey for sergtepkom  
from 82.179.167.71 port 2932 ssh2
Oct 11 11:23:40 frodo apache2[20839]: (pam_unix) authentication  
failure; logname= uid=33 euid=33 tty= ruser= rhost=192.168.119.160
Oct 11 11:23:40 frodo pam_winbind[20839]: user 'dkrbr1' granted access
Oct 11 11:23:40 frodo apache2[20839]: (pam_unix) could not identify  
user (from getpwnam(dkrbr1))
Oct 11 11:23:40 frodo apache2[6098]: (pam_unix) authentication  
failure; logname= uid=33 euid=33 tty= ruser= rhost=192.168.119.160
Oct 11 11:23:40 frodo pam_winbind[6098]: user 'dkrbr1' granted access
Oct 11 11:23:40 frodo apache2[6098]: (pam_unix) could not identify  
user (from getpwnam(dkrbr1))
Oct 11 11:23:52 frodo apache2[20061]: (pam_unix) authentication  
failure; logname= uid=33 euid=33 tty= ruser= rhost=192.168.119.160
Oct 11 11:23:52 frodo pam_winbind[20061]: user 'dkrbr1' granted access
Oct 11 11:23:52 frodo apache2[20061]: (pam_unix) could not identify  
user (from getpwnam(dkrbr1))
Oct 11 11:23:52 frodo apache2[31528]: (pam_unix) authentication  
failure; logname= uid=33 euid=33 tty= ruser= rhost=192.168.119.160
Oct 11 11:23:52 frodo pam_winbind[31528]: user 'dkrbr1' granted access
Oct 11 11:23:52 frodo apache2[31528]: (pam_unix) could not identify  
user (from getpwnam(dkrbr1))
Oct 11 11:23:52 frodo apache2[22772]: (pam_unix) authentication  
failure; logname= uid=33 euid=33 tty= ruser= rhost=192.168.119.160
Oct 11 11:23:52 frodo pam_winbind[22772]: user 'dkrbr1' granted access
Oct 11 11:23:52 frodo apache2[22772]: (pam_unix) could not identify  
user (from getpwnam(dkrbr1))
Oct 11 11:23:54 frodo apache2[6096]: (pam_unix) authentication  
failure; logname= uid=33 euid=33 tty

And the user complains that subversion update through apache2 through  
pam authentication through winbind to win 2003 server does not work.
TortoiseSVN does no longer ask for username/password.

A restart of winbindd did not help, i had to restart apache2 as well  
before it would work.

After this restart i tried repeating the error by running     getent  
passwd    but i can
nolonger get     write to socket failed!    messages in auth.log.




JonB


More information about the samba mailing list