Cc'ing Ian, in case he has a clue. alexmcwhir...@triadic.us writes:
> On 2017-01-31 07:53, Jeremie Courreges-Anglas wrote: >> This looks like an error from ''samba-tool domain provision'', not an >> error from the samba daemon. >> >> Please state exactly: >> - which OpenBSD release you're using >> - which samba version you're using (hint, on -stable only the -stable >> samba port is supported). >> - any relevant information such as the commands you type. This of >> course includes how you ran samba-tool. >> >> As a selfish developer that only uses -current I would of course prefer >> you to use -current with snapshots and packages. :) >> > > OpenBSD 5.9, Samba 4.1.22 > > samba-tool domain > provision --domain=BLAH --host-name=DC0 --host-ip=10.0.0.1 --site=BLAH > --adminpass="bl4h" --server-role=dc --function-level=2008_R2 > --targetdir=/mnt/das/samba --use-ntvfs --option="interfaces=vlan133" > --option="bind > interfaces only=yes" --option="dns forwarder=10.0.0.2" --realm=BLAH.BLAH > > This works as expected and i can run the domain. > > OpenBSD 6.0, Samba 4.4.5 > > samba-tool domain > provision --domain=BLAH --host-name=DC0 --host-ip=10.0.0.1 --site=BLAH > --adminpass="bl4h" --server-role=dc --function-level=2008_R2 > --targetdir=/mnt/das/samba --option="interfaces=vlan133" --option="bind > interfaces only=yes" --option="dns forwarder=10.0.0.2" --realm=BLAH.BLAH > > Had to remove --use-ntvfs as it is no longer an option. Gives error > about s3fs needing posix acl's. > > Tried https://www.samba.org/samba/docs/man/manpages/vfs_acl_tdb.8.html > combined with > https://www.samba.org/samba/docs/man/manpages/vfs_xattr_tdb.8.html, s3fs > still wants posix acl's. ok, I'm also having problems working around this issue. I'll try to come up with a workaround for 6.1, but in the end this should be discussed with upstream and be dealt with properly, which might take some time. Lots of efforts have been made to support samba 4, but in the end we may have to admit that this goal is not realistic. The lack of acls, extended attributes and the small NGROUPS_MAX limit make OpenBSD a poor choice for samba. All I know right now is that providing an old samba release is not the solution. Thanks again for your report. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE