diff options
author | Simo Sorce <ssorce@redhat.com> | 2011-10-10 15:42:11 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2011-11-07 14:25:07 -0500 |
commit | 18537d55a7fd21c81af8b56fde69c895b2fa3597 (patch) | |
tree | ac460a482411e88b3b534f8869f78aa31a095738 /daemons/ipa-kdb/ipa_kdb.c | |
parent | 97018212279be4ff70816194b1e6392b61da36dc (diff) | |
download | freeipa-18537d55a7fd21c81af8b56fde69c895b2fa3597.tar.gz freeipa-18537d55a7fd21c81af8b56fde69c895b2fa3597.tar.xz freeipa-18537d55a7fd21c81af8b56fde69c895b2fa3597.zip |
Add support for generating PAC for AS requests for user principals
Diffstat (limited to 'daemons/ipa-kdb/ipa_kdb.c')
-rw-r--r-- | daemons/ipa-kdb/ipa_kdb.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/daemons/ipa-kdb/ipa_kdb.c b/daemons/ipa-kdb/ipa_kdb.c index 481b1f392..05ee18720 100644 --- a/daemons/ipa-kdb/ipa_kdb.c +++ b/daemons/ipa-kdb/ipa_kdb.c @@ -259,6 +259,11 @@ int ipadb_get_connection(struct ipadb_context *ipactx) ipactx->supp_encs = kst; ipactx->n_supp_encs = n_kst; + ret = ipadb_reinit_mspac(ipactx); + if (ret && ret != ENOENT) { + /* TODO: log that there is an issue with adtrust settings */ + } + ret = 0; done: @@ -447,7 +452,7 @@ kdb_vftabl kdb_function_table = { NULL, /* promote_db */ NULL, /* decrypt_key_data */ NULL, /* encrypt_key_data */ - NULL, /* sign_authdata */ + ipadb_sign_authdata, /* sign_authdata */ NULL, /* check_transited_realms */ NULL, /* check_policy_as */ NULL, /* check_policy_tgs */ |