[Samba] krb5 library issues when Compiling 3.5.2 and 3.4.7 on AIX 5.3
Michael Wood
esiotrot at gmail.com
Fri Apr 16 01:31:28 MDT 2010
On 16 April 2010 08:57, Craig Green <cgreen at ultradata.com.au> wrote:
> I have been trying to configure/compile Samba 3.5.2 and 3.4.7 on AIX 5.3 with ML-11 and ML-10.
>
> The configure issues that I am getting only occur if I use --with-ads.
> I can run configure on both versions if I do not include ADS support.
>
> The errors I get are:
>
> checking for krb5_principal_get_realm... no
> checking for krb5_princ_realm... no
> configure: WARNING: krb5_mk_req_extended not found in -lkrb5
> configure: WARNING: no CREATE_KEY_FUNCTIONS detected
> configure: WARNING: no GET_ENCTYPES_FUNCTIONS detected
> configure: WARNING: no KT_FREE_FUNCTION detected
> configure: WARNING: no KRB5_VERIFY_CHECKSUM_FUNCTION detected
> configure: error: krb5 libs don't have all features required for Active Directory support
>
> It appears that I am missing the krb5-libs, is this correct?
No, it seems to find a kerberos library, but can't find the necessary
functions in it. Are you sure it's finding the right kerberos library
and not some old version that was installed as part of AIX?
> If I do not include "--with-ads" I get the same WARNINGS but do not get the error.
> The error is now actually a warning, as per:
>
> configure: WARNING: krb5 libs don't have all features required for Active Directory support
> checking whether Active Directory and krb5 support is used... no
>
> I have also tried compiling KRB5 from source. It compiles and I can install what I have compiled but I still get the same warnings and error.
>
> I am using gcc, etc .from the pware.hvcc site.
> The packaged I have installed are:
>
> pware53.autoconf.rte 2.63.0.0 COMMITTED GNU autoconf 2.63
> pware53.base.rte 5.3.0.0 COMMITTED pWare base for 5.3
> pware53.bdb.rte 4.7.25.4 COMMITTED Berkeley DB 4.7.25
> pware53.bison.rte 2.4.0.0 COMMITTED GNU bison 2.4
> pware53.cyrus-sasl.rte 2.1.23.1 COMMITTED cyrus-sasl 2.1.23
> pware53.gcc-g++.rte 4.2.4.0 COMMITTED GNU GCC
> pware53.gettext.rte 0.17.0.0 COMMITTED GNU gettext 0.17
> pware53.gmp.rte 4.3.1.0 COMMITTED gmp 4.3.1
> pware53.krb5.rte 1.7.1.1 COMMITTED MIT Kerberos 1.7.1
> pware53.libiconv.rte 1.13.1.0 COMMITTED GNU libiconv 1.13.1
> pware53.libtool.rte 1.5.26.0 COMMITTED GNU libtool 1.5.26
> pware53.m4.rte 1.4.12.0 COMMITTED GNU m4 1.4.12
> pware53.make.rte 3.81.0.0 COMMITTED GNU make 3.81
> pware53.mpfr.rte 2.4.1.5 COMMITTED mpfr 2.4.1-p5
> pware53.ncurses.rte 5.7.0.1 COMMITTED ncurses 5.7.0.1
> pware53.openldap.rte 2.4.21.1 COMMITTED OpenLDAP 2.4.21
> pware53.openssl.rte 0.9.8.13 COMMITTED OpenSSL 0.9.8m
> pware53.popt.rte 1.10.4.0 COMMITTED popt 1.10.4
> pware53.readline.rte 6.1.0.0 COMMITTED GNU readline 6.1
> pware53.zlib.rte 1.2.4.0 COMMITTED zlib 1.2.4
>
> Here is my configure line
>
> ./configure --with-acl-support --with-utmp --with-ads \
> --with-ldap --with-krb5=/opt/pware --with-pam \
> --with-libiconv=/opt/pware --with-sendfile-support \
> --prefix=/opt/pware/samba/3.4.7 --with-syslog --with-quotas \
> --with-winbind=yes --with-aio-support=yes --with-automount \
> --with-static-modules="vfs_aixacl2,vfs_aixacl" \
> --with-shared-modules="idmap_rid,idmap_ad,idmap_tdb2" \
> --with-dnsupdate
>
> Does anyone have any idea as to what the problem is?
Maybe try the --with-krb5=base-dir configure option?
--
Michael Wood <esiotrot at gmail.com>
More information about the samba
mailing list