[Samba] CentOS 6.4 Sernet Samba 4.1.3 ad -> no ACL Filesystem ?

Marc marc at hirnriss.net
Mon Dec 30 13:56:51 MST 2013


I'm running into trouble while setting up samba4 on centos 6.4
see

#yum install -y libacl-devel libblkid-devel gnutls-devel readline-devel 
python-devel gdb pkgconfig krb5-workstation zlib-devel 
setroubleshoot-server setroubleshoot-plugins policycoreutils-python 
libsemanage-python setools-libs-python setools-libs popt-devel 
libpcap-devel sqlite-devel libidn-devel libxml2-devel libacl-devel 
libsepol-devel libattr-devel keyutils-libs-devel cyrus-sasl-devel

#yum install sernet-samba4-ad

# samba-tool domain provision
Realm: test.example.com
  Domain [test]:
  Server Role (dc, member, standalone) [dc]: dc
  DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) 
[SAMBA_INTERNAL]: bind9_flatfile
Administrator password:
Retype password:
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
ldb: module schema_load initialization failed : No such object
ldb: module rootdse initialization failed : No such object
ldb: module samba_dsdb initialization failed : No such object
ldb: Unable to load modules for /var/lib/samba/private/sam.ldb: (null)
samdb_connect failed
VFS connect failed!
ERROR(<class 'samba.provision.ProvisioningError'>): Provision failed - 
ProvisioningError: Your filesystem or build does not support posix ACLs, 
which s3fs requires.  Try the mounting the filesystem with the 'acl' option.
   File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", 
line 398, in run
     use_rfc2307=use_rfc2307, skip_sysvolacl=False)
   File 
"/usr/lib64/python2.6/site-packages/samba/provision/__init__.py", line 
2052, in provision
     raise ProvisioningError("Your filesystem or build does not support 
posix ACLs, which s3fs requires.  Try the mounting the filesystem with 
the 'acl' option.")


i read somewhere that it checks the filesystem for acl support
so i remount my filesystems with acl:
# mount |grep acl
/dev/mapper/vg_testsystem-lv_root on / type ext4 (rw,acl)
/dev/sda1 on /boot type ext4 (rw,acl)

but no luck
i read somewhere that this happens if samba is compiled while missing 
acl librarys. so i looked into sernet-samba-4.1.spec

# fgrep -i BuildRequires sernet-samba-4.1.spec
BuildRequires:  tar gzip bzip2
BuildRequires:  perl
BuildRequires:  python-devel >= 2.5, python-devel < 3.0
BuildRequires:	make gcc util-linux lsof file findutils gawk
BuildRequires:	cups-devel readline-devel openssl-devel ncurses-devel 
cyrus-sasl-devel pam-devel e2fsprogs-devel
BuildRequires: libacl-devel libattr-devel coreutils
BuildRequires: openldap-devel gnutls-devel
BuildRequires: popt-devel libuuid-devel
BuildRequires:	popt-devel openldap2-devel glibc-locale
BuildRequires:	dmapi-devel xfsprogs-devel
BuildRequires:	coreutils libacl-devel libattr-devel fam-devel
BuildRequires:	libnscd-devel
BuildRequires:	libcom_err
BuildRequires:	libiniparser-devel
BuildRequires:	libgnutls-devel
BuildRequires:	gnutls-devel

all are installed. beside some names are confuseing me
(like libgnutls-devel, there is no libgnutls in Base Repo)
i rebooted the machine - but still no luck.

may someone point me into the right direction?
thanks



More information about the samba mailing list