Hi all. I'm a very fresh FreeBSD user and trying to configure a home network with Samba. Running FreeBSD 10.3, net/samba44 (built with vfs_zfsacl and libsunacl library installed) and experiencing issues with domain provision. OS drive running UFS and a ZFS mirror configured. I've digged through this forum and the interweb but can't seem to resolve the issue. Any advice would be most useful. Output:
Code:
# samba-tool domain provision --option="interfaces=bge1" --option="bind interfaces only=yes" --use-rfc2307 --interactive
Realm [TEST.HOME]:
Domain [TEST]:
Server Role (dc, member, standalone) [dc]:
DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE) [SAMBA_INTERNAL]:
DNS forwarder IP address (write 'none' to disable forwarding) [192.168.1.1]:
Administrator password:
Retype password:
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=test,DC=home
Adding configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Modifying display specifiers
Adding users container
Modifying users container
Adding computers container
Modifying computers container
Setting up sam.ldb data
Setting up well known security principals
Setting up sam.ldb users and groups
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.
File "/usr/local/lib/python2.7/site-packages/samba/netcmd/domain.py", line 461, in run
nosync=ldap_backend_nosync, ldap_dryrun_mode=ldap_dryrun_mode)
File "/usr/local/lib/python2.7/site-packages/samba/provision/__init__.py", line 2171, in provision
skip_sysvolacl=skip_sysvolacl)
File "/usr/local/lib/python2.7/site-packages/samba/provision/__init__.py", line 1805, in provision_fill
names.domaindn, lp, use_ntvfs)
File "/usr/local/lib/python2.7/site-packages/samba/provision/__init__.py", line 1557, in setsysvolacl
raise ProvisioningError("Your filesystem or build does not support posix ACLs, which s3fs requires. "
Code:
# Global parameters
[global]
bind interfaces only = Yes
interfaces = bge1
netbios name = DC
realm = TEST.HOME
workgroup = TEST
server string = TEST DOMAIN
hosts allow = 192.168.1.
security = ads
name resolve order = wins bcast
dns forwarder = 192.168.1.1
server role = active directory domain controller
idmap_ldb:use rfc2307 = yes
load printers = no
log file = /var/log/samba/log.%m
max log size = 50
domain master = yes
preferred master = yes
domain logons = yes
nt acl support = yes
inherit acls = no
[hddpool]
comment = HDD Pool
path = /hddpool
read only = No
inherit permissions = Yes
inherit acls = Yes
inherit owner = Yes
map archive = No
map readonly = no
vfs objects = zfsacl
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
[netlogon]
path = /var/db/samba4/sysvol/andromeda.home/scripts
read only = No
[sysvol]
path = /var/db/samba4/sysvol
read only = No
Code:
# zfs get aclmode /hddpool
NAME PROPERTY VALUE SOURCE
hddpool aclmode passthrough local
Code:
# zfs get aclinherit /hddpool/
NAME PROPERTY VALUE SOURCE
hddpool aclinherit passthrough local