[Samba] Samba4.2rc4 with winbindd in config cannot start samba process

Kelvin Yip kelvin at icshk.com
Thu Jan 22 02:19:25 MST 2015

Hi all,

I think it is related to this bug. Thanks:

-----Original Message-----
From: Peter Serbe [mailto:peter at serbe.ch] 
Sent: Thursday, January 22, 2015 5:14 PM
To: samba at lists.samba.org; kelvin at icshk.com
Subject: Re: [Samba] Samba4.2rc4 with winbindd in config cannot start samba

Kelvin Yip schrieb am 22.01.2015 06:43:

> Hello,
> I have tried to configure smb.conf like the following, and none of 
> them can start samba process.

I use the following (on the DC, Bind9-Backend): 

   workgroup = SAMDOM
   realm = samdom.example.com
   netbios name = circe
   server role = active directory domain controller
   server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
winbindd, ntp_signd, kcc, dnsupdate
   idmap_ldb:use rfc2307 = yes
   dbwrap_tdb_mutexes:* = yes
   domain master = no
   # added as per
   kerberos method = secrets and keytab

It might also be worthwhile to check both the compilation and the
provisioning settings. 

./configure --prefix=/usr/local/samba \
            --with-piddir=/usr/local/samba/var/run \
            --with-syslog \
            --with-quotas \
            --with-acl-support \
            --enable-cups \
            --with-ads \

where the last two lines are for a member server.
You might not need all the lines, but this might be a good start.
Provided You want to set up a new domain, do the provisioning

samba-tool domain provision --use-rfc2307 --interactive --use-xattrs=yes

Check also the DNS settings. The wiki evolved quite a bit over the last year
- it is now very reliable. Be sure to carefully execute all the necessary
steps and do all the proposed checks in between. 


More information about the samba mailing list