It is going to be used by the ipa-kdb module too.
Also to be used by ipa-kdb
This way we can reuse the same code from ipa-kdb later
Don't use KRB5_PRIVATE. The patch implements and uses the following krb5 functions that are otherwise private in recent MIT Kerberos releases: * krb5_principal2salt_norealm * krb5_free_ktypes Signed-off-by: Simo Sorce <ssorce@redhat.com>