Building Samba4 on SmartOS with pkgsrc

Matthieu Patou mat at samba.org
Wed Jan 23 10:49:05 MST 2013


On 01/23/2013 09:27 AM, Noah Mehl wrote:
> 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?
Well that's just a suggestion that usually solve the problem for 90% of 
the peoples, in your case try the alternative fileserver: --use-ntvfs

Matthieu.

-- 
Matthieu Patou
Samba Team
http://samba.org



More information about the samba-technical mailing list