[Samba] Franky vs s3fs vs ...

Andrew Bartlett abartlet at samba.org
Tue May 8 06:11:57 MDT 2012


On Tue, 2012-05-08 at 11:39 +0200, steve wrote:
> On 05/08/2012 10:19 AM, Andrew Bartlett wrote:
> > On Tue, 2012-05-08 at 08:45 +0200, steve wrote:
> >> On 05/08/2012 06:24 AM, Andrew Bartlett wrote:
> >>> On Fri, 2012-05-04 at 12:27 +0200, steve wrote:
> >>>
> >>>> Hi
> >>>> We don't use winbind either and we also use nslcd (what a superb piece
> >>>> of kit). We simply store the rfc2307 attributes in the dn of the user or
> >>>> group and have setup scripts to manipulate uses and groups in this way.
> >>>> All I'm looking for is an altrernative to the file sever that ships with
> >>>> S4 at the moment. I think the new fileserver will become stable soon.
> >>>> Just looking at the possibilites for having something now rather than
> >>>> wait. Franky on the same box is attractive.
> >>> Steve,
> >>>
> >>> Attempting to run Franky at this point will give you more, not less
> >>> pain.  There isn't some magic solution that we are hiding from you.
> >>>
> >>> We are working to allow smbd to become the default file server in Samba
> >>> 4.0, and have added the --use-s3fs option to provision to allow early
> >>> adopters to test it for us.
> >>>
> >>> However, we do not recommend it at this stage, as in particular it fails
> >>> to correctly set ACLs for group policy objects.
> >> Hi Andrew
> >> Please give us the smb.conf settings for s3fs. We can't continue with
> >> the ntvfs server as it is so at least we can give it a go.
> >> Cheers,
> >> Steve
> > I've added this information to the wiki, where I'll try and keep it
> > correct:
> >
> > https://wiki.samba.org/index.php/Samba4/s3fs#Starting_s3fs
> >
> > Andrew Bartlett
> Hi Andrew
> 
> No go:-(
> 
> New git: Version 4.0.0alpha21-GIT-e8e5afd on Ubuntu 12.04
> provision --use-s3fs --realm=polop.site --domain=CACTUS 
> --adminpass=Pass at w0rd --server-role=dc
> 
> get_nt_acl_no_snum: fset_nt_acl returned zero.
> ProvisioningError: Your filesystem or build does not support posix ACLs, 
> s3fs is unworkable in this mode
> 
> So tried:
> ./configure.developer --with-acl-support
> Still will not provision.
> 
> We are using posix acls fine:
>   mount
> /dev/sda1 on / type ext4 (rw,errors=remount-ro,acl,user_xattr)
> 
> What have I done wrong?

This will only happen if you do not have the acl headers available at
configure time.  Install libacl-devel (or equivalent) and rebuild. 

I added exactly this check to ensure that you quickly find and fix this
issue, rather than wasting time wondering 'why does this not work'.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org



More information about the samba mailing list