samba 4.6.6 Unknown dependency 'kdc' in 'service_kdc.objlist'

Daniele Dario d.dario76 at gmail.com
Fri Jul 28 08:41:51 UTC 2017


Hi list,
I'm trying to build samba 4.6.6 for a domain member of my AD domain with
the --with-system-mitkrb5 option but after a successful configure I get
this error:

root at kdm04:~/samba/samba-4.6.6# make
WAF_MAKE=1 python ./buildtools/bin/waf build
Waf: Entering directory `/root/samba/samba-4.6.6/bin'
	Selected system MIT krb5 libraries, Heimdal use is disabled
Checking project rules ...
Unknown dependency 'kdc' in 'service_kdc.objlist'
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 1

Actually server is running samba 4.6.5 (Heimdal) and is joined as member
of my samba AD domain.

I try to configure 4.6.6 with this options:

root at kdm04:~/samba/samba-4.6.6# ./configure --disable-cups
--disable-iprint --enable-gnutls --with-systemd --with-system-mitkrb5

and this is the (I think) relevant part of configure

Looking for kerberos features
Checking for program
krb5-config.heimdal                                          : not
found 
Checking for program
krb5-config                                                  : /usr/bin/krb5-config 
Checking
for /usr/bin/krb5-config                                                 : yes 
Checking for
kdb                                                                  :
yes 
Checking for
gssapi                                                               :
yes 
Kerberos 5 release 1.15.1 is detected, MIT krb5 build can proceed
Checking for
com_err                                                              :
not found 
Checking for
_et_list                                                             :
not found 
Checking for macro
_et_list                                                       : not
found 
Checking for header
com_err.h                                                     : yes 
Checking for header
kdb.h                                                         : yes 
Checking for header
krb5/locate_plugin.h                                          : yes 
Checking for header
gssapi.h                                                      : yes 
Checking for header
gssapi/gssapi_generic.h                                       : yes 
Checking for header
gssapi/gssapi.h                                               : yes 
Checking for header
gssapi/gssapi_ext.h                                           : yes 
Checking for header
gssapi/gssapi_krb5.h                                          : yes 
Checking for header
gssapi/gssapi_oid.h                                           : no 
Checking for
krb5_encrypt_data                                                    :
not found 
Checking for macro
krb5_encrypt_data                                              : not
found 
Checking for library
crypto                                                       : not
found 
Checking for
des_set_key                                                          :
not found 
Checking for macro
des_set_key                                                    : not
found 
Checking for library
asn1                                                         : not
found 
Checking for
copy_Authenticator                                                   :
not found 
Checking for macro
copy_Authenticator                                             : not
found 
Checking for library
roken                                                        : not
found 
Checking for
roken_getaddrinfo_hostspec                                           :
not found 
Checking for macro
roken_getaddrinfo_hostspec                                     : not
found 
Checking for header
profile.h                                                     : yes 
Checking for
gss_display_status                                                   :
ok 
Checking for
gss_wrap_iov                                                         :
ok 
Checking for
gss_krb5_import_cred                                                 :
ok 
Checking for
gss_get_name_attribute                                               :
ok 
Checking for
gss_mech_krb5                                                        :
ok 
Checking for
gss_oid_equal                                                        :
ok 
Checking for
gss_inquire_sec_context_by_oid                                       :
ok 
Checking for
gsskrb5_extract_authz_data_from_sec_context                          :
ok 
Checking for
gss_krb5_export_lucid_sec_context                                    :
ok 
Checking for
gss_import_cred                                                      :
ok 
Checking for
gss_export_cred                                                      :
ok 
Checking for
gss_acquire_cred_from                                                :
ok 
Checking for variable
GSS_KRB5_CRED_NO_CI_FLAGS_X                                 : yes 
Checking for
krb5_mk_req_extended                                                 :
ok 
Checking for
krb5_kt_compare                                                      :
not found 
Checking for macro
krb5_kt_compare                                                : not
found 
Checking for
krb5_auth_con_getrecvsubkey                                          :
ok 
Checking for
krb5_auth_con_getsendsubkey                                          :
ok 
Checking for
krb5_set_default_in_tkt_etypes                                       :
not found 
Checking for macro
krb5_set_default_in_tkt_etypes                                 : not
found 
Checking for
krb5_set_default_tgs_enctypes                                        :
ok 
Checking for
krb5_set_default_tgs_ktypes                                          :
ok 
Checking for
krb5_principal2salt                                                  :
ok 
Checking for
krb5_c_string_to_key                                                 :
ok 
Checking for
krb5_get_pw_salt                                                     :
not found 
Checking for macro
krb5_get_pw_salt                                               : not
found 
Checking for
krb5_string_to_key_salt                                              :
not found 
Checking for macro
krb5_string_to_key_salt                                        : not
found 
Checking for
krb5_auth_con_setkey                                                 :
not found 
Checking for macro
krb5_auth_con_setkey                                           : not
found 
Checking for
krb5_auth_con_setuseruserkey                                         :
ok 
Checking for
krb5_get_permitted_enctypes                                          :
ok 
Checking for
krb5_get_default_in_tkt_etypes                                       :
not found 
Checking for macro
krb5_get_default_in_tkt_etypes                                 : not
found 
Checking for
krb5_free_data_contents                                              :
ok 
Checking for
krb5_principal_get_comp_string                                       :
not found 
Checking for macro
krb5_principal_get_comp_string                                 : not
found 
Checking for
krb5_free_unparsed_name                                              :
ok 
Checking for
krb5_free_keytab_entry_contents                                      :
ok 
Checking for
krb5_kt_free_entry                                                   :
ok 
Checking for
krb5_krbhst_init                                                     :
not found 
Checking for macro
krb5_krbhst_init                                               : not
found 
Checking for
krb5_krbhst_get_addrinfo                                             :
not found 
Checking for macro
krb5_krbhst_get_addrinfo                                       : not
found 
Checking for
krb5_crypto_init                                                     :
not found 
Checking for macro
krb5_crypto_init                                               : not
found 
Checking for
krb5_crypto_destroy                                                  :
not found 
Checking for macro
krb5_crypto_destroy                                            : not
found 
Checking for
krb5_c_verify_checksum                                               :
ok 
Checking for
krb5_principal_compare_any_realm                                     :
ok 
Checking for
krb5_parse_name_norealm                                              :
not found 
Checking for macro
krb5_parse_name_norealm                                        : not
found 
Checking for
krb5_princ_size                                                      :
not found 
Checking for macro
krb5_princ_size                                                : not
found 
Checking for
krb5_get_init_creds_opt_set_pac_request                              :
ok 
Checking for
krb5_get_renewed_creds                                               :
ok 
Checking for
krb5_free_error_contents                                             :
not found 
Checking for macro
krb5_free_error_contents                                       : not
found 
Checking for
initialize_krb5_error_table                                          :
ok 
Checking for
krb5_get_init_creds_opt_alloc                                        :
ok 
Checking for
krb5_get_init_creds_opt_free                                         :
ok 
Checking for
krb5_get_init_creds_opt_get_error                                    :
not found 
Checking for macro
krb5_get_init_creds_opt_get_error                              : not
found 
Checking for
krb5_enctype_to_string                                               :
ok 
Checking for
krb5_fwd_tgt_creds                                                   :
ok 
Checking for
krb5_auth_con_set_req_cksumtype                                      :
ok 
Checking for
krb5_get_creds_opt_alloc                                             :
not found 
Checking for macro
krb5_get_creds_opt_alloc                                       : not
found 
Checking for
krb5_get_creds_opt_set_impersonate                                   :
not found 
Checking for macro
krb5_get_creds_opt_set_impersonate                             : not
found 
Checking for
krb5_get_creds                                                       :
not found 
Checking for macro
krb5_get_creds                                                 : not
found 
Checking for
krb5_get_credentials_for_user                                        :
ok 
Checking for
krb5_get_host_realm                                                  :
ok 
Checking for
krb5_free_host_realm                                                 :
ok 
Checking for
krb5_get_init_creds_keyblock                                         :
not found 
Checking for macro
krb5_get_init_creds_keyblock                                   : not
found 
Checking for
krb5_get_init_creds_keytab                                           :
ok 
Checking for
krb5_make_principal                                                  :
not found 
Checking for macro
krb5_make_principal                                            : not
found 
Checking for
krb5_build_principal_alloc_va                                        :
ok 
Checking for
krb5_cc_get_lifetime                                                 :
not found 
Checking for macro
krb5_cc_get_lifetime                                           : not
found 
Checking for
krb5_cc_retrieve_cred                                                :
ok 
Checking for
krb5_cc_copy_creds                                                   :
ok 
Checking for
krb5_free_checksum_contents                                          :
ok 
Checking for
krb5_c_make_checksum                                                 :
ok 
Checking for
krb5_create_checksum                                                 :
not found 
Checking for macro
krb5_create_checksum                                           : not
found 
Checking for
krb5_config_get_bool_default                                         :
not found 
Checking for macro
krb5_config_get_bool_default                                   : not
found 
Checking for
krb5_get_profile                                                     :
ok 
Checking for
krb5_data_copy                                                       :
not found 
Checking for macro
krb5_data_copy                                                 : not
found 
Checking for
krb5_init_keyblock                                                   :
ok 
Checking for
krb5_principal_set_realm                                             :
not found 
Checking for macro
krb5_principal_set_realm                                       : not
found 
Checking for
krb5_principal_get_type                                              :
not found 
Checking for macro
krb5_principal_get_type                                        : not
found 
Checking for
krb5_principal_set_type                                              :
not found 
Checking for macro
krb5_principal_set_type                                        : not
found 
Checking for
krb5_warnx                                                           :
not found 
Checking for macro
krb5_warnx                                                     : not
found 
Checking for
krb5_get_prompt_types                                                :
ok 
Checking for declaration of
krb5_get_credentials_for_user                         : no 
Checking for declaration of
krb5_auth_con_set_req_cksumtype                       : yes 
Checking for variable
AP_OPTS_USE_SUBKEY                                          : yes 
Checking for variable
KV5M_KEYTAB                                                 : yes 
Checking for variable
KRB5_KU_OTHER_CKSUM                                         : no 
Checking for variable
KRB5_KEYUSAGE_APP_DATA_CKSUM                                : yes 
Checking for variable
ENCTYPE_AES128_CTS_HMAC_SHA1_96                             : yes 
Checking for variable
ENCTYPE_AES256_CTS_HMAC_SHA1_96                             : yes 
Checking for declaration of
KRB5_PDU_NONE                                         : no 
Checking for declaration of KRB5_PDU_NONE (as
enum)                               : no 
Checking for member key in
krb5_keytab_entry                                      : yes 
Checking for member keyblock in
krb5_keytab_entry                                 : no 
Checking for member magic in
krb5_address                                         : yes 
Checking for member addrtype in
krb5_address                                      : yes 
Checking for member ticket in
krb5_ap_req                                         : yes 
Checking for member type in
krb5_prompt                                           : no 
Checking for
krb5_encrypt_block                                                   :
yes 
Checking whether krb5_get_init_creds_opt_free takes a context
argument            : yes 
Checking whether krb5_princ_component is
available                                : yes 
Checking whether krb5_enctype_to_string takes size_t
argument                     : yes 
Checking whether krb5_enctype_to_string takes krb5_context
argument               : no 
Checking whether the macro krb5_princ_realm is
defined                            : yes 
Checking whether krb5_principal_get_realm is
defined                              : no 
Checking whether the ENCTYPE_ARCFOUR_HMAC_MD5 key type definition is
available    : no 
Checking whether the ENCTYPE_ARCFOUR_HMAC_MD5_56 key type definition is
available : no 
Checking whether the HAVE_KEYTYPE_ARCFOUR_56 key type definition is
available     : no 
Checking whether the ENCTYPE_ARCFOUR_HMAC key type definition is
available        : yes 
Checking whether the ENCTYPE_ARCFOUR_HMAC_EXP key type definition is
available    : yes 
Checking whether the WRFILE:-keytab is
supported                                  : yes 
Checking for KRB5_DEPRECATED define taking an
identifier                          : yes 
Checking whether krb5_creds have flags
property                                   : no 
Checking for gnutls >=
3.4.7                                                      : yes 

I tried to google for an answer and also searched for tips related to
upgrading to 4.6.6 but didn't find any reference.

Any help would be appreciated,
Daniele.




More information about the samba-technical mailing list