Marc
2013-Dec-30 20:56 UTC
[Samba] CentOS 6.4 Sernet Samba 4.1.3 ad -> no ACL Filesystem ?
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
Rowland Penny
2013-Dec-30 21:53 UTC
[Samba] CentOS 6.4 Sernet Samba 4.1.3 ad -> no ACL Filesystem ?
On 30/12/13 20:56, Marc wrote:> 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 >Hi, you seem to be installing the packages to compile samba4, try installing the 'acl' and 'attr' packages instead. Rowland
Marc Muehlfeld
2013-Dec-30 23:27 UTC
[Samba] CentOS 6.4 Sernet Samba 4.1.3 ad -> no ACL Filesystem ?
Hello Marc, Am 30.12.2013 21:56, schrieb Marc:> 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)Do you just have / and /boot? Or could it be possible, that the filesystem where your SysVol share will be created is on a different mountpoint, that isn't mounted with acl support? Per default on a self compiled Samba, SysVol is in /usr/local/samba/var/locks/sysvol/ (I don't know where it goes if you use packages from somehwere). But maybe it's on a mountpoint that is missing acl support. Regards, Marc
Stéphane PURNELLE
2013-Dec-31 09:16 UTC
[Samba] CentOS 6.4 Sernet Samba 4.1.3 ad -> no ACL Filesystem ?
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