FreeBSD-12.1p4 root on zfs. Iocage thick jail also at 12.1p4. Samba-4.10.15
I am trying to provision a samba dc inside a jail. I am aware of and have referenced https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239105. Specifically, I have applied this patch and rebuilt samba410-4.10.15 from the ports tree. My provisioning command is:
I have also tried this with --option="vfs objects"="freebsd"
The result is always the same:
Is it possible to get samba-4.10 to provision a DC inside a FreeBSD jail? Others seem to have reported that this can be done. But, I cannot seem to manage it.
I am trying to provision a samba dc inside a jail. I am aware of and have referenced https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239105. Specifically, I have applied this patch and rebuilt samba410-4.10.15 from the ports tree. My provisioning command is:
Code:
samba-tool domain provision \
--adminpass=INstall66 \
--dns-backend=BIND9_DLZ \
--dnspass=INstall66 \
--domain=BROCKLEY-2016 \
--host-name=SAMBA-02.BROCKLEY-2016.HARTE-LYNE.CA \
--host-ip=192.168.8.66 \
--option="bind interfaces only=yes" \
--option="interfaces=lo eth0" \
--option="vfs objects"="dfs_samba4 zfsacl" \
--realm=BROCKLEY-2016.HARTE-LYNE.CA \
--server-role=dc --use-rfc2307
The result is always the same:
Code:
INFO 2020-05-04 14:13:41,196 pid:59770 /usr/local/lib/python3.7/site-packages/samba/provision/__init__.py
#1571: Setting up self join
set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_INVALID_PARAMETER.
ERROR(runtime): uncaught exception - (3221225485, 'An invalid parameter was passed to a service or function.')
File "/usr/local/lib/python3.7/site-packages/samba/netcmd/__init__.py", line 185, in _run
return self.run(*args, **kwargs)
Is it possible to get samba-4.10 to provision a DC inside a FreeBSD jail? Others seem to have reported that this can be done. But, I cannot seem to manage it.