https://bugzilla.redhat.com/show_bug.cgi?id=519464
Description of problem: 389 Directory Server does not build when --with-kerberos is specified and Heimdal is supplied as Kerberos library Version-Release number of selected component (if applicable): 389-ds-base 1.2.2 Heimdal 1.1 How reproducible: Steps to Reproduce: 1. Install Heimdal 2. Configure 389-ds-base to use Heimdal 3. 'make' (Build 389-ds-base) Actual results: gcc -DHAVE_CONFIG_H -I. -DBUILD_NUM=\"2009.238.1411\" "-DVENDOR=\"389 Project\"" -DBRAND=\"389\" -DCAPBRAND=\"389\" -I./ldap/include -I./ldap/servers/slapd -I./include -DLOCALSTATEDIR=\"/usr/pkg/var\" -DSYSCONFDIR=\"/usr/pkg/etc\" -DLIBDIR=\"/usr/pkg/lib\" -DBINDIR=\"/usr/pkg/bin\" -DDATADIR=\"/usr/pkg/share\" -DDOCDIR=\"/usr/pkg/share/doc/dirsrv\" -DSBINDIR=\"/usr/pkg/sbin\" -DPLUGINDIR=\"/usr/pkg/lib/dirsrv/plugins\" -DTEMPLATEDIR=\"/usr/pkg/share/dirsrv/data\" -I/usr/pkgsrc/wip/389-ds-base/work/.buildlink/include/ldap -I/usr/pkgsrc/wip/389-ds-base/work/.buildlink/include/nss -I/usr/pkgsrc/wip/389-ds-base/work/.buildlink/include/nspr -I/usr/pkgsrc/wip/389-ds-base/work/.buildlink/include/sasl -I/usr/pkgsrc/wip/389-ds-base/work/.buildlink/include/db4 -I/usr/pkgsrc/wip/389-ds-base/work/.buildlink/include -I/usr/pkgsrc/wip/389-ds-base/work/.buildlink/include/krb5 -I/usr/pkgsrc/wip/389-ds-base/work/.buildlink/include/nss/nss -DLDAP_DEPRECATED -Wno-error -Wno-format -fno-builtin -MT ldap/servers/slapd/libslapd_la-ldaputil.lo -MD -MP -MF ldap/servers/slapd/.deps/libslapd_la-ldaputil.Tpo -c ldap/servers/slapd/ldaputil.c -fPIC -DPIC -o ldap/servers/slapd/.libs/libslapd_la-ldaputil.o ldap/servers/slapd/ldaputil.c: In function 'show_one_credential': ldap/servers/slapd/ldaputil.c:1053: error: 'krb5_creds' has no member named 'ticket_flags' ldap/servers/slapd/ldaputil.c: In function 'credentials_are_valid': ldap/servers/slapd/ldaputil.c:1153: error: request for member 'length' in something not a structure or union ldap/servers/slapd/ldaputil.c:1154: error: request for member 'data' in something not a structure or union ldap/servers/slapd/ldaputil.c: In function 'set_krb5_creds': ldap/servers/slapd/ldaputil.c:1231: error: 'MAX_KEYTAB_NAME_LEN' undeclared (first use in this function) ldap/servers/slapd/ldaputil.c:1231: error: (Each undeclared identifier is reported only once ldap/servers/slapd/ldaputil.c:1231: error: for each function it appears in.) make[1]: *** [ldap/servers/slapd/libslapd_la-ldaputil.lo] Error 1 make[1]: Leaving directory `/usr/pkgsrc/wip/389-ds-base/work/389-ds-base-1.2.2' make: *** [all] Error 2 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/wip/389-ds-base *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/wip/389-ds-base Expected results: 389-ds-base built successfully Additional info: Heimdal provides a similar API to MIT Kerberos, but not 100% compatible. Configure scripts should check differences and ifdefs should be used where applicable.
set default ticket origin to Community
Added initial screened field value.
Metadata Update from @nkinder: - Issue set to the milestone: FUTURE
I have recently fixed much of this through my FreeBSD porting work.
Metadata Update from @firstyear: - Custom field component reset (from Security - SASL) - Custom field reviewstatus adjusted to new (was: Needs Review) - Issue close_status updated to: worksforme - Issue status updated to: Closed (was: Open)
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/101
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: worksforme)
Login to comment on this ticket.