On 01/15/18 10:57 AM, Tim Tassonis  <[email protected]> wrote:
> 
> 
> 
> On 01/11/2018 10:17 PM, Ryan Marsaw wrote:
> > Hello BLFS editors:
> > 
> > Building the latest stable Samba without Active Directory support (ADS) i.e.
> > compiling with the switch "--without-ads" results in the following build 
> > error:
> 
> 
> The book however has
> 
> --without-ad-dc
> 
> and this still works fine.
> 
> Cheers
> Tim
> 
> > 
> > .
> > .
> > [3385/3612] Linking default/source3/libads-samba4.so
> > default/source3/libads/kerberos_keytab_63.o: In function `ads_keytab_list':
> > kerberos_keytab.c:(.text+0x114): undefined reference to `ads_keytab_open'
> > collect2: error: ld returned 1 exit status Waf: Leaving directory
> > `/usr/src/samba-4.7.4/bin' Build failed: -> task failed (err #1): {task:
> > cc_link
> > ldap_63.o,sasl_63.o,sasl_wrapping_63.o,krb5_setpw_63.o,kerberos_util_63.o,ldap_user_63.o,ads_struct_63.o,kerberos_keytab_63.o,disp_sec_63.o,ldap_utils_63.o,ldap_schema_63.o,util_63.o,ndr_63.o,namequery_dc_104.o,trustdom_cache_104.o,dsgetdcname_104.o
> > -> libads-samba4.so} make: *** [Makefile:8: all] Error 1
> > 
> > The error in question is brought up in more detail here:
> > 
> > http://samba.2283325.n4.nabble.com/Fix-compilation-of-Samba-4-7-4-with-disabled-ADS-td4728041.html
> > 
> > There's a patch (user submitted) that I've included in this mail that allows
> > Samba 4.7.4 to build without complaints regarding ADS.
> > 
> > Regards,
> > 
> > Ryan
> > 
> > 
> 
Hi Tim,

I was already using the switch "--without-ad-dc"
If I don't add "--without-ads" I get the following config error:

"Active Directory support not available: LDAP support is not available.
/usr/src/scm/samba/source3/wscript:790: error: Active Directory support not 
found. 
Use --without-ads for building without Active Directory support. 
ADS support improves communication with Active Directory domain controllers."

I also add "--without-ldap" to the config script to disable LDAP.

The build error I wrote about originally affects only the latest stable Samba 
(4.7.4).
Version 4.7.3 gave me no errors with the very same configuration options.

Regards,

Ryan
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to