The Samba-Bugzilla – Bug 3437
incompatible prototype for krb5_locate_kdc
Last modified: 2017-07-16 22:56:35 UTC
Samba uses the following prototype for krb5_locate_kdc (source/include/includes.h):
krb5_locate_kdc(krb5_context ctx, const krb5_data *realm,
struct sockaddr **addr_pp,
int *naddrs, int get_masters);
The actual prototype used by the Kerberos library (http://web.mit.edu/kerberos/, krb5 1.4.3) is:
krb5_locate_kdc(krb5_context context, const krb5_data *realm,
struct addrlist *addrlist,
int get_masters, int socktype, int family)
So this code cannot work.
The 3.2 source code now shows:
krb5_error_code smb_krb5_locate_kdc(krb5_context ctx, const krb5_data *realm, struct sockaddr **addr_pp, int *naddrs, int get_masters);
I very much suspect this bug report can be closed but being technically indigent here, I can take that responsibility.
Christian Perrier (in name of Samba package maintainers in Debian)
(In reply to Debian samba package maintainers (PUBLIC MAILING LIST) from comment #1)
Closing on this basis. Our krb5 support has moved on a very long way since this bug was filed.