Samba 4.7.0-0.10.rc5 on Fedora 27 beta in AD-DC mode

Dario Lesca d.lesca at
Fri Sep 15 08:02:58 UTC 2017

I have try to deploy a samba server AD-DC on Fedora 27 server fresh
install with new samba package
On last Fedora 27 beta server I have install this packages:
dnf install samba-client samba-dc samba-winbind samba-dc-bind-dlz
\ krb5-workstation tdb-tools samba-winbind-clients samba-common \ bind
Then I have run this command, but I have  get this error:
+ test '!' -e /etc/krb5.conf.orig+ mv /etc/krb5.conf
/etc/krb5.conf.orig+ test -e /etc/krb5.conf+ test '!' -e
/etc/samba/smb.conf.orig+ mv /etc/samba/smb.conf
/etc/samba/smb.conf.orig+ test -e /etc/samba/smb.conf+ samba-tool
domain provision --realm=dom.loc --domain=dom --dns-backend=BIND9_DLZ
--use-rfc2307 --server-role=dc --function-level=2008_R2 --adminpass=P at s
sw0rdLooking up IPv4 addressesLooking up IPv6 addressesNo IPv6 address
will be assignedldb: module version mismatch in
../source4/dsdb/samdb/ldb_modules/acl.c : ldb_version=1.2.2
module_version=1.2.1ldb: failed to initialise module
/usr/lib64/samba/ldb/ : UnavailableSetting up secrets.ldbWARNING:
Module [samba_secrets] not found - do you need to set
LDB_MODULES_PATH?Unable to load modules for
/var/lib/samba/private/secrets.ldb: (null)ERROR(ldb): uncaught
exception - None  File "/usr/lib64/python2.7/site-
packages/samba/netcmd/", line 176, in _run    return*args, **kwargs)  File "/usr/lib64/python2.7/site-
packages/samba/netcmd/", line 474, in
run    nosync=ldap_backend_nosync, ldap_dryrun_mode=ldap_dryrun_mode) 
File "/usr/lib64/python2.7/site-packages/samba/provision/",
line 2140, in
provision    backend_credentials=provision_backend.credentials, lp=lp) 
File "/usr/lib64/python2.7/site-packages/samba/provision/",
line 966, in setup_secretsdb    secrets_ldb = Ldb(path,
session_info=session_info, lp=lp)  File "/usr/lib64/python2.7/site-
packages/samba/", line 114, in __init__    self.connect(url,
flags, options)+ exit
What's happening?
I have missing to install some package?
Someone can help me?
Many thanks

Dario Lesca
(inviato dal mio Linux Fedora 26 Workstation)

More information about the samba-technical mailing list