Bug 13141 - Samba 4.7.2 with MIT Kerberos: krb5_get_init_creds_opt_free was not found or was too old in -lkrb5
Summary: Samba 4.7.2 with MIT Kerberos: krb5_get_init_creds_opt_free was not found or ...
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.7.2
Hardware: PPC AIX
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-15 12:36 UTC by flynn8765
Modified: 2018-01-16 16:30 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description flynn8765 2017-11-15 12:36:37 UTC
./configure -v \
      --prefix=%{_prefix} \
      --libdir=$1 \
      --includedir=%{_includedir}/samba-4.0 \
      --sysconfdir=/etc/%{name} \
      --mandir=%{_mandir} \
      --with-lockdir=/var/locks \
      --with-piddir=/var/run \
      --with-privatedir=/var/lib/%{name}/private \
      --with-privatelibdir=$1/%{name} \
      --with-logfilebase=/var/log/%{name} \
      --with-modulesdir=$1/%{name} \
      --with-pammodulesdir=$1/security \
      --with-cachedir=/var/cache \
      --with-acl-support \
      --with-ads \
      --with-automount \
      --with-system-mitkrb5 \
%if %{with_libuuid}
      --with-dnsupdate \
%endif
      --with-ldap \
      --with-libiconv=%{_prefix} \
      --with-pam \
      --with-quotas \
      --with-sendfile-support \
      --with-syslog \
      --with-utmp \
%if %{with_GPFS}
      --with-shared-modules=%{_samba4_modules},vfs_gpfs \
%else
      --with-shared-modules=%{_samba4_modules} \
      --disable-glusterfs \
%endif
%if %{with testsuite}
      --enable-selftest \
%endif


root@aixbuildhost: /opt/freeware/src/packages/SPECS # rpm -qa | grep krb5
krb5-libs-1.15.2-1.ppc
krb5-server-1.15.2-1.ppc
krb5-workstation-1.15.2-1.ppc
krb5-devel-1.15.2-1.ppc
krb5-server-ldap-1.15.2-1.ppc
krb5-pkinit-openssl-1.15.2-1.ppc

krb5.h

/**
 * Allocate a new initial credential options structure.
 *
 * @param [in]  context         Library context
 * @param [out] opt             New options structure
 *
 * This function is the preferred way to create an options structure for
 * getting initial credentials, and is required to make use of certain options.
 * Use krb5_get_init_creds_opt_free() to free @a opt when it is no longer
 * needed.
 *
 * @retval 0 - Success; Kerberos errors otherwise.
 */
krb5_error_code KRB5_CALLCONV
krb5_get_init_creds_opt_alloc(krb5_context context,
                              krb5_get_init_creds_opt **opt);

/**
 * Free initial credential options.
 *
 * @param [in] context          Library context
 * @param [in] opt              Options structure to free
 *
 * @sa krb5_get_init_creds_opt_alloc()
 */
void KRB5_CALLCONV
prb5_get_init_creds_opt_free(krb5_context context,
                             krb5_get_init_creds_opt *opt);


configure error:

Checking whether ldap_set_rebind_proc takes 3 arguments                                         : 13:25:14 runner /usr/bin/xlc_r -D_LARGE_FILES=1 -qcpluscmt -bnoquiet -D__PRETTY_FUNCTION__=__func__ -I/opt/freeware/src/packages/BUILD/samba-4.7.2/source3 -Idefault -I.. -Idefault -I.. -I/opt/freeware/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 ../test.c -c -o default/test_1.o
ok
krb5_get_init_creds_opt_free was not found or was too old in -lkrb5
Active Directory support not available: krb5 libs don't have all required features
/opt/freeware/src/packages/BUILD/samba-4.7.2/source3/wscript:813: error: Active Directory support not found. Use --without-ads for building without Active Directory support. ADS support improves communication with Active Directory domain controllers.