[Samba] Winbindd dies instantly

Jesper Koivumäki jesper.koivumaki at kulturfonden.fi
Fri Jan 30 06:01:16 MST 2015


I'm trying to set up a Samba 4.1.16 file server for our (Samba 4) 
domain. But for some reason I can't seem to be able to get it to work. 
Even worse, I have run out of ideas on how to debug this. I've been 
tampering with this for quite some time now, but I've come to realize I 
can't figure this out on my own.

Can someone give me some pointers on where to look in order to fix this?

First off, smbd and nmbd seem to work just fine (as is to be expected), 
but winbindd dies instantly.

This is how I've gone about it:

     $ sudo service samba start

Everything starts. But windbindd stops.

     $ sudo net join ads -U administrator
     Joined domain DOMAIN.

     $ sudo service samba restart

Everything starts, but winbindd stops again.

output from winbindd:

    winbindd version 4.1.16 started.
    Copyright Andrew Tridgell and the Samba Team 1992-2013
    Maximum core file size limits now 16777216(soft) -1(hard)
    Registered MSG_REQ_POOL_USAGE
    lp_load_ex: refreshing parameters
    Initialising global parameters
    rlimit_max: increasing rlimit_max (1024) to minimum Windows limit
    params.c:pm_process() - Processing configuration file
    Processing section "[Global]"
    added interface eth0 ip= bcast=
    added interface eth0:0 ip= bcast=
    added interface eth0 ip= bcast=
    added interface eth0:0 ip= bcast=
    initialize_winbindd_cache: clearing cache and re-creating with
    version number 2
    Added domain BUILTIN (null) S-1-5-32
    Added domain BLUNDER (null) S-1-5-21-2504862038-22785804-3050049357
    Could not fetch our SID - did we join?
    unable to initialize domain list


       netbios name = BLUNDER
       workgroup = DOMAIN
       realm = SMBDOMAIN.HOST.COM
       server string = %h ArchLinux Host
       security = ads
       encrypt passwords = yes
       password server = pdc.smbdomain.host.com

       idmap config * : backend = rid
       idmap config * : range = 10000-20000

       winbind use default domain = Yes
       winbind enum users = Yes
       winbind enum groups = Yes
       winbind nested groups = Yes
       winbind separator = +
       winbind refresh tickets = yes

       template shell = /bin/false
    #  template homedir = /home/%D/%U

       preferred master = no
       dns proxy = no
       wins server = pdc.smbdomain.host.com
       wins proxy = no

       inherit acls = Yes
       map acl inherit = Yes
       acl group control = yes

       load printers = no
       debug level = 3
       use sendfile = no

Where do I go from here?

Kind regards,
     Jesper Koivumäki

More information about the samba mailing list