I'm trying to build minimal 4.8 samba to use with timemachine I tried 4.8.0rc2 and samba-4.8.0rc3-94-g4cfa1f5e1a0 from git ./configure --disable-python --without-ad-dc --without-ldap --without-ads --without-pam finished successfully, but then make breaks with [3000/3129] Linking default/examples/libsmbclient/testchmod [3001/3129] Linking default/source3/utils/split_tokens [3002/3129] Linking default/source4/dsdb/samdb/ldb_modules/test_encrypted_secrets [3003/3129] Linking default/source3/libads-samba4.so default/source3/libads/kerberos_keytab_60.o: In function `ads_keytab_list': kerberos_keytab.c:(.text+0xec): undefined reference to `ads_keytab_open' collect2: error: ld returned 1 exit status Waf: Leaving directory `/usr/src/samba/bin' Build failed: -> task failed (err #1): {task: cc_link ldap_60.o,sasl_60.o,sasl_wrapping_60.o,krb5_setpw_60.o,kerberos_util_60.o,ldap_user_60.o,ads_struct_60.o,kerberos_keytab_60.o,disp_sec_60.o,ldap_utils_60.o,ldap_schema_60.o,util_60.o,ndr_60.o,namequery_dc_100.o,trustdom_cache_100.o,dsgetdcname_100.o -> libads-samba4.so} Makefile:8: recipe for target 'all' failed make: *** [all] Error 1
This is a duplicate of https://bugzilla.samba.org/show_bug.cgi?id=13273