Bug 13314 - Cannot build without ads
Summary: Cannot build without ads
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.8.0rc2
Hardware: All Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-01 11:43 UTC by Pavel Volkovitskiy
Modified: 2018-03-14 15:44 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Volkovitskiy 2018-03-01 11:43:11 UTC
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
Comment 1 Lars Wendler 2018-03-14 15:44:22 UTC
This is a duplicate of https://bugzilla.samba.org/show_bug.cgi?id=13273