Jakub Hrozek <jhrozek(a)redhat.com> wrote:
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.
Thanks,
I'm sending corrected patch. Everything should be working now.
Jan