[Samba] Join as DC requires libacl, not avail on Solaris

Thomas Schulz schulz at adi.com
Fri Mar 7 23:02:34 MST 2014


> That is now in master.  Could you do me a favour and file a bug for this
> against Samba 4.0 and 4.1?  That will let me upload backported patches
> (likely identical, given your comments here) for both versions and
> ensure we work out of the box for other users.
> 
> Thanks!
> 
> Andrew Bartlett

The patch will not be identical. The patch did not apply for 4.1.5 so
I hacked it differently. Here is what I did (note the change from solalris
to sunos5):

--- wscript.orig	Thu Dec  5 04:16:48 2013
+++ wscript	Thu Mar  6 20:34:14 2014
@@ -410,7 +410,7 @@
 		Logs.info('Using UnixWare ACLs')
                 conf.DEFINE('HAVE_UNIXWARE_ACLS',1)
                 default_static_modules.extend(TO_LIST('vfs_solarisacl'))
-	elif (host_os.rfind('solaris') > -1) and conf.CHECK_FUNCS_IN('sec', 'facl'):
+	elif (host_os.rfind('sunos5') > -1) and conf.CHECK_FUNCS_IN(['facl'], 'sec'):
 		Logs.info('Using solaris ACLs')
                 conf.DEFINE('HAVE_SOLARIS_ACLS',1)
                 default_static_modules.extend(TO_LIST('vfs_solarisacl'))

I will file a bug soon. Or should that be two bugs? Note that I skiped
over the 4.0.* series, but I would expect that it would have the same
bug.

Tom Schulz
Applied Dynamics Intl.
schulz at adi.com


More information about the samba mailing list