Bug 3611 - winbindd stops working after domain controller reboot
winbindd stops working after domain controller reboot
Product: Samba 3.0
Classification: Unclassified
Component: winbind
x86 FreeBSD
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2006-03-16 04:12 UTC by Peter Trifonov
Modified: 2006-03-16 06:49 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Peter Trifonov 2006-03-16 04:12:09 UTC
There is a network with Win2K domain controller. Winbind is running on
a FreeBSD server and provides authentication for e-mail, web server and other
similar stuff. 

If Win2K domain controller reboots or goes down for some time, winbind still rejects all user authentication requests. The auth.log file constains messages like 

Mar 16 11:35:16 dcn popper[981]: SomeUser at earth.research.dcn ( -ERR [AUTH] PAM authentication failed for user "SomeUser": authentication error (9)
Mar 16 11:35:16 dcn popper[981]: [AUTH] Failed attempted login to SomeUser from host (earth.research.dcn)

Restarting winbind fixes the problem. 

The following is smb.conf

        dos charset = CP866
        workgroup = RESEARCH
        realm = RESEARCH.DCN
        netbios name = MASTER
        server string = Public file server
        security = DOMAIN
        password server =
        username map = /usr/local/etc/smbusers
        unix extensions = No
        wins server =
        ldap ssl = no
        idmap uid = 20000-30000
        idmap gid = 20000-30000
        template shell = /usr/local/bin/bash
        winbind separator = /
        winbind use default domain = Yes

        path = /data/storage
        read only = No
        create mask = 0666
        directory mask = 0777
        guest ok = Yes
        vfs objects = kavsamba5-smb-3.0.20

        comment = %U's home directory
        path = /home/%D/%U
        read only = No
        vfs objects = kavsamba5-smb-3.0.20

        path = /var/db/kav/5.0/kav4mailservers/bases/
        guest ok = Yes

        comment = Put here files you wish to submit to the e-library
        path = /data/library/uploads
        read only = No

        path = /var/backup
        read only = No
Comment 1 Guenther Deschner 2006-03-16 04:31:10 UTC
Can you please test with Samba 3.0.21c and see if that is still the case?
Comment 2 Gerald (Jerry) Carter 2006-03-16 06:49:29 UTC
All reports are that this is fixed in 3.0.21c