[Samba] Samba4.2rc4 with winbindd in config cannot start samba process
Peter Serbe
peter at serbe.ch
Thu Jan 22 02:14:20 MST 2015
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 https://wiki.samba.org/index.php/Authenticating_other_services_against_AD
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 \
--with-shared-modules=idmap_ad
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.
HTH
More information about the samba
mailing list