ACLs and samba4

Timur I. Bakeyev timur at com.bat.ru
Fri Aug 29 16:49:13 UTC 2014


I believe that Samba provisioning is quite Linux specific and no effort
have been done to make it work with UFS. It's well known, that it doesn't
work with ZFS either. My limited knowledge of Python doesn't allow me to
hack it to work :(

Also, can you provide output of the 'mount' command? Could it be that ACLs
didn't turn on despite fstab entry?

With regards,
Timur.


On Fri, Aug 29, 2014 at 6:06 PM, Janos Dohanics <web at 3dresearch.com> wrote:

> Hello List,
>
> I'm getting an error as I try to use /usr/local/bin/samba-tool domain
> provision (FreeBSD 10.0-STABLE #0 r269827 i386):
>
> #/usr/local/bin/samba-tool domain provision
> [...]
> Setting up self join
> 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.
>
> But I did enable ACLs using tunefs(8):
>
> # tunefs -p /dev/mirror/gm6
> tunefs: POSIX.1e ACLs: (-a)                                enabled
> tunefs: NFSv4 ACLs: (-N)                                   disabled
> tunefs: MAC multilabel: (-l)                               disabled
> tunefs: soft updates: (-n)                                 enabled
> tunefs: soft update journaling: (-j)                       enabled
> tunefs: gjournal: (-J)                                     disabled
> tunefs: trim: (-t)                                         disabled
> tunefs: maximum blocks per file in a cylinder group: (-e)  4096
> tunefs: average file size: (-f)                            16384
> tunefs: average number of files in a directory: (-s)       64
> tunefs: minimum percentage of free space: (-m)             8%
> tunefs: space to hold for metadata blocks: (-k)            6408
> tunefs: optimization preference: (-o)                      time
> tunefs: volume label: (-L)
>
> # cat /etc/fstab
> # Device        Mountpoint      FStype  Options Dump    Pass#
> /dev/mirror/gm2 /               ufs     rw      1       1
> /dev/mirror/gm3 none            swap    sw      0       0
> /dev/mirror/gm4 /var            ufs     rw      2       2
> /dev/mirror/gm5 /tmp            ufs     rw      2       2
> /dev/mirror/gm6 /usr            ufs     rw,acls 2       2
>
> What am I doing wrong?
>
> --
> Janos Dohanics
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list