[SSSD] [PATCH] Added a kerberos wrapper for building compatibility

Jakub Hrozek jhrozek at redhat.com
Wed May 4 12:52:06 UTC 2011


On 05/03/2011 12:44 PM, Jan Zelený wrote:
> Function sss_krb5_unparse_name_flags and some of its supporting functions have
> been added in order to ensure compilation on systems having kerberos < 1.8.
> 

Sorry, but this doesn't build for me (RHEL 5.6 + openldap24-libs from 5.7):

src/util/sss_krb5.c: In function 'select_principal_from_keytab':
src/util/sss_krb5.c:147: error: 'KRB5_PRINCIPAL_UNPARSE_NO_REALM'
undeclared (first use in this function)
src/util/sss_krb5.c:147: error: (Each undeclared identifier is reported
only once
src/util/sss_krb5.c:147: error: for each function it appears in.)
src/util/sss_krb5.c: In function 'match_principal':
src/util/sss_krb5.c:413: error: 'KRB5_PRINCIPAL_UNPARSE_NO_REALM'
undeclared (first use in this function)

I also think that the hunk in configure.ac should be moved to
src/external/krb5.m4 - it should be enough to just move the function
name into the existing AC_CHECK_FUNCS() call - that should be enough to
generate the HAVE_ macro.

> Currently I don't have any machine with RHEL5, so please be sure to test the 
> patch on it.
> 

Feel free to ping me for a RHEL5 machine with the new openldap-libs.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110504/4b2adf65/attachment.sig>


More information about the sssd-devel mailing list