diff options
author | Greg Hudson <ghudson@mit.edu> | 2013-08-05 15:57:29 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-08-15 12:39:57 -0400 |
commit | db21244a069e581a392dff5b320e758e06a28e4d (patch) | |
tree | 7a99f0700c983da998571a7ab4bf845020a304be /src/include/k5-int.h | |
parent | d61fbd85467c71c9bfb185e0e675e1619972bd0b (diff) | |
download | krb5-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/include/k5-int.h')
-rw-r--r-- | src/include/k5-int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h index a9a3c3c0e..ab97f40bb 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -1117,6 +1117,7 @@ struct _kdb_log_context; typedef struct krb5_preauth_context_st krb5_preauth_context; struct ccselect_module_handle; struct localauth_module_handle; +struct hostrealm_module_handle; struct _krb5_context { krb5_magic magic; krb5_enctype *in_tkt_etypes; @@ -1163,6 +1164,9 @@ struct _krb5_context { /* localauth module stuff */ struct localauth_module_handle **localauth_handles; + /* hostrealm module stuff */ + struct hostrealm_module_handle **hostrealm_handles; + /* error detail info */ struct errinfo err; |