diff options
| author | Russ Allbery <eagle@eyrie.org> | 2018-05-28 15:06:46 -0700 | 
|---|---|---|
| committer | Russ Allbery <eagle@eyrie.org> | 2018-05-28 15:06:46 -0700 | 
| commit | f3f09aab44117d8eb97811421b2685c295d3d585 (patch) | |
| tree | c87b8e95690c2298777c718b543ffd4c78176bee /configure.ac | |
| parent | ba0bc0725e4b6f33280f6ac1edaecf8cc10616f3 (diff) | |
Pass realm to krb5_appdefault_* functions
When getting configuration values from krb5.conf, pass the default
local realm into the Kerberos appdefault functions.  This will produce
more correct results with krb5.conf files that specify wallet
configuration for multiple realms.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/configure.ac b/configure.ac index 12b93f8..41ae0cf 100644 --- a/configure.ac +++ b/configure.ac @@ -57,7 +57,9 @@ dnl Probe for required libraries.  RRA_LIB_REMCTL  RRA_LIB_KRB5  RRA_LIB_KRB5_SWITCH -AC_CHECK_FUNCS([krb5_get_init_creds_opt_alloc \ +AC_CHECK_TYPES([krb5_realm], [], [], [RRA_INCLUDES_KRB5]) +AC_CHECK_FUNCS([krb5_free_default_realm \ +    krb5_get_init_creds_opt_alloc \      krb5_get_init_creds_opt_set_default_flags \      krb5_principal_get_realm])  AC_CHECK_FUNCS([krb5_get_init_creds_opt_free], | 
