[Samba] CentOS 6.4 Sernet Samba 4.1.3 ad -> no ACL Filesystem ?
Ricky Nance
ricky.nance at gmail.com
Tue Dec 31 09:03:16 MST 2013
On Tue, Dec 31, 2013 at 3:16 AM, Stéphane PURNELLE <
stephane.purnelle at corman.be> wrote:
> Hi,
>
> If you read here :
> https://wiki.samba.org/index.php/Samba_4/OS_Requirements
>
> You will see that you need to add more parameter in your fstab
>
> -----------------------------------
> Stéphane PURNELLE Admin. Systèmes et Réseaux
> Service Informatique Corman S.A. Tel : 00 32 (0)87/342467
>
> samba-bounces at lists.samba.org wrote on 30/12/2013 21:56:51:
>
> > De : Marc <marc at hirnriss.net>
> > A : samba at lists.samba.org,
> > Date : 30/12/2013 22:00
> > Objet : [Samba] CentOS 6.4 Sernet Samba 4.1.3 ad -> no ACL Filesystem ?
> > Envoyé par : samba-bounces at lists.samba.org
> >
> > 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
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: https://lists.samba.org/mailman/options/samba
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
Is there any chance that /var is on a different filesystem (I know many
people do this because var can grow and choke out the main fs). If var is
on a different filesystem then it also needs the acl/xattr options.
Ricky
More information about the samba
mailing list