Opened 10 years ago

Closed 6 years ago

#132 closed enhancement (fixed)

auth_krb5: use the modern function calls to get the Kerberos error

Reported by: Julien ÉLIE Owned by: eagle
Priority: low Milestone: 2.6.2
Component: utilities Version: 2.5.3
Severity: minor Keywords:


auth_krb5 needs to be ported to the modern function calls to get the Kerberos error instead of using com_err, which will eliminate the need for including com_err.h or et/com_err.h which are no longer part of the official Kerberos API. This requires a replacement for krb5_{get,free}_error_message on older systems. rra-c-util does this in portable/krb5.h and portable/krb5-extra.c (along with a ton of other Kerberos portability stuff). It would be possible to add a subset of that logic, although it will require some surgery to fit into the INN compilation framework.

INN's configure will then no longer have to clear KRB5_LIBS if neither et/com_err.h nor com_err.h could be found and --with-krb5 was not given.

Change History (1)

comment:1 Changed 6 years ago by Julien ÉLIE

Milestone: 2.6.2
Resolution: fixed
Status: newclosed

Done in commits [10252] & [10253] by Russ Allbery.

Note: See TracTickets for help on using tickets.