[Pkg-samba-maint] krb5_locate_kdc is an internal symbol

Sam Hartman hartmans at debian.org
Wed Nov 30 22:49:22 UTC 2011

reassign 650541 libsmbclient
retitle 650541 libsmbclient uses internal symbol krb5_locate_kdc
found 650541 libsmbclient/2:3.6.1-2

krb5_locate_kdc was not a public symbol.
It was not available in krb5.h without defining KRB5_PRIVATE.
I'm not sure whether it was available with KRB5_PRIVATE.

Those are the symbols that are part of MIT's stable ABI; there are a
similar set of public symbols for GSS-API.  All other symbols are
unstable and may disappear in major versions.  If any of the symbols in
the public ABI change, the soname will change.

I sent a note about krb5_locate_kdc to the samba folks many years ago;
it finally went away.  I have not checked version history and am about
to leave so I don't have time to do it now but this presumably is
renamed because the prototype changed.

I'm happy to add a breaks once we know what version of libsmbclient
won't depend on that symbol.  If that's hard to do, and/or if it's easy
to write a compatibility shim, I'm happy to maintain that for a while.
However, MIT Kerberos has had a fairly well defined ABI stability policy
and krb5_locate_kdc has not been part of that stable ABI ever.

More information about the Pkg-samba-maint mailing list