samba 4.1.stable on armv7l provision failed (ACL support)

Andrew Bartlett abartlet at samba.org
Wed Aug 7 22:04:25 MDT 2013


On Wed, 2013-08-07 at 22:00 +0200, Jorge López Prado wrote:
> Hi to all!
> I´m getting an output when doing provision remarking me that my filesystem
> doesnt support ACL but all checks point to me to  i have a propper acl xattr
> fs.
> 
> --------------------------
> root at barnacle:~/samba-v4-1-stable# /usr/local/samba/bin/samba-tool domain
> provision --realm=prodinet.in --domain=prodinet --adminpass="xpi-1996"
> --server-role=dc --dns-backend=SAMBA_INTERNAL 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 /usr/local/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/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line
> 398, in run
>     use_rfc2307=use_rfc2307, skip_sysvolacl=False)
>   File
> "/usr/local/samba/lib/python2.7/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.") root at barnacle:~/samba-v4-1-stable# touch test.txt
> root at barnacle:~/samba-v4-1-stable# setfattr -n user.test -v test test.txt
> root at barnacle:~/samba-v4-1-stable# setfattr -n security.test -v test2
> test.txt root at barnacle:~/samba-v4-1-stable# getfattr -d test.txt # file:
> test.txt user.test="test"
> root at barnacle:~/samba-v4-1-stable# getfattr -n security.test -d test.txt #
> file: test.txt security.test="test2"
> root at barnacle:~/samba-v4-1-stable# touch test3.txt
> root at barnacle:~/samba-v4-1-stable# setfacl -m g:adm:rwx test3.txt
> root at barnacle:~/samba-v4-1-stable# getfacl test3.txt # file: test3.txt #
> owner: root # group: root
> user::rw-
> group::r--
> group:adm:rwx
> mask::rwx
> other::r--
> ------------------------
> 
> have i missed anything?
> 
> 
> Thx in advance...

I'm suspecting that the LDB errors above are the cause, not the ACLs in
this case.  This particular check tries to set an ACL top-to-bottom to
ensure it all works.  I had something like this recently, but wiping the
prefix and a fresh install fixed it.  That isn't very satisfying,
because I like to know how this can happen, but this may help you get
out of this spot.

(I don't normally recommend reinstalling Samba, as it normally changes
nothing and only wastes time). 

I hope this helps in some small way. 

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Catalyst IT                   http://catalyst.net.nz




More information about the samba-technical mailing list