summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/krb
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-08-05 15:57:29 -0400
committerGreg Hudson <ghudson@mit.edu>2013-08-15 12:39:57 -0400
commitdb21244a069e581a392dff5b320e758e06a28e4d (patch)
tree7a99f0700c983da998571a7ab4bf845020a304be /src/lib/krb5/krb
parentd61fbd85467c71c9bfb185e0e675e1619972bd0b (diff)
downloadkrb5-db21244a069e581a392dff5b320e758e06a28e4d.tar.gz
krb5-db21244a069e581a392dff5b320e758e06a28e4d.tar.xz
krb5-db21244a069e581a392dff5b320e758e06a28e4d.zip
Use hostrealm interface for realm mapping
Reimplement krb5_get_host_realm, krb5_get_fallback_host_realm, and krb5_get_default_realm in terms of the hostrealm interface. Three built-in modules (dns, domain, and profile) implement the current behavior. ticket: 7687
Diffstat (limited to 'src/lib/krb5/krb')
-rw-r--r--src/lib/krb5/krb/init_ctx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c
index 39b6853cb..3f4aad4fd 100644
--- a/src/lib/krb5/krb/init_ctx.c
+++ b/src/lib/krb5/krb/init_ctx.c
@@ -310,6 +310,7 @@ krb5_free_context(krb5_context ctx)
#endif
k5_ccselect_free_context(ctx);
+ k5_hostrealm_free_context(ctx);
k5_localauth_free_context(ctx);
k5_plugin_free_context(ctx);
free(ctx->plugin_base_dir);