Building Samba4 on SmartOS with pkgsrc

Noah Mehl noah at tritonlimited.com
Wed Jan 23 10:27:14 MST 2013


I was able to build and install Samba 4.0.1 from source, however when I tried to domain provision:

[root at build-machine /opt/local/bin]# ./samba-tool domain provision
Realm [LOCAL]: ad.tritonlimited.com
 Domain [ad]: 
 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) [8.8.8.8]: 
Administrator password: 
Retype password: 
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
set_nt_acl_no_snum: fset_nt_acl returned zero.
ERROR(<class 'samba.provision.ProvisioningError'>): Provision failed - ProvisioningError: Samba was compiled without the posix ACL support that s3fs requires.  Try installing libacl1-dev or libacl-devel, then re-run configure and make.
  File "/opt/local/lib/python2.7/site-packages/samba/netcmd/domain.py", line 398, in run
    use_rfc2307=use_rfc2307, skip_sysvolacl=False)
  File "/opt/local/lib/python2.7/site-packages/samba/provision/__init__.py", line 1954, in provision
    raise ProvisioningError("Samba was compiled without the posix ACL support that s3fs requires.  Try installing libacl1-dev or libacl-devel, then re-run configure and make.")

This seems odd to me, because libacl1-dev is probably a linux thing.  I'm wondering if there is something I'm supposed to do during the configure/build step to use the Solaris acl provider?  Or, am I way off target?

Thanks in advanced.

~Noah

Scanned for viruses and content by the Tranet Spam Sentinel service.


More information about the samba-technical mailing list