diff options
| author | Greg Hudson <ghudson@mit.edu> | 2008-12-29 17:12:54 +0000 |
|---|---|---|
| committer | Greg Hudson <ghudson@mit.edu> | 2008-12-29 17:12:54 +0000 |
| commit | c27165044b675285c475ad31dccf7570a8471035 (patch) | |
| tree | 302b10073949422b0919f1d64b7230c7c737ec7f /src/include | |
| parent | 67a9ec5448fed3027c47cad959a991da06792953 (diff) | |
| download | krb5-c27165044b675285c475ad31dccf7570a8471035.tar.gz krb5-c27165044b675285c475ad31dccf7570a8471035.tar.xz krb5-c27165044b675285c475ad31dccf7570a8471035.zip | |
Revert r21589, and export krb5_get_fallback_host_realm instead
Rationale: Zephyr and AFS both use the Kerberos realm name as the
name of the service realm (AFS realm or Zephyr galaxy). AFS can grab
the Kerberos realm from the ticket being aklogged, but Zephyr is not
necessarily getting credentials at all (you could be sending an
unauthenticated message), and currently finds its answer by looking
up the realm of the server host. Although we can't currently provide
an accurate result for this lookup in the presence of referrals, we do
need to provide enough tools to get as good of an answer as libzephyr
could have gotten before referrals went in.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21631 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/k5-int.h | 4 | ||||
| -rw-r--r-- | src/include/krb5/krb5.hin | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 611bddff8b..883de3e188 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -538,10 +538,6 @@ krb5int_locate_server (krb5_context, const krb5_data *realm, struct addrlist *, enum locate_service_type svc, int sockettype, int family); -krb5_error_code -krb5int_get_fallback_host_realm (krb5_context, krb5_data *hdata, - char **realmp); - /* new encryption provider api */ struct krb5_enc_provider { diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin index 4848178d00..accde60fca 100644 --- a/src/include/krb5/krb5.hin +++ b/src/include/krb5/krb5.hin @@ -2099,6 +2099,10 @@ krb5_error_code KRB5_CALLCONV krb5_get_host_realm (krb5_context, const char *, char *** ); +krb5_error_code KRB5_CALLCONV krb5_get_fallback_host_realm + (krb5_context, + krb5_data *, + char *** ); krb5_error_code KRB5_CALLCONV krb5_free_host_realm (krb5_context, char * const * ); |
