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:
.
.
[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
samba-4.7.4.patch
Description: Binary data
-- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
