Don't check PAC on cross realm for now.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21258 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-06-21 14:11:01 +00:00
parent 51520e9238
commit 85acea1b76

View File

@@ -1707,12 +1707,11 @@ server_lookup:
goto out; goto out;
} }
/* check PAC if there is one */ /* check PAC if not cross realm and if there is one */
{
Key *tkey;
krb5_keyblock *tgtkey = NULL;
if (!cross_realm) { if (!cross_realm) {
Key *tkey;
krb5_keyblock *tgtkey;
ret = hdb_enctype2key(context, &krbtgt->entry, ret = hdb_enctype2key(context, &krbtgt->entry,
krbtgt_etype, &tkey); krbtgt_etype, &tkey);
if(ret) { if(ret) {
@@ -1720,11 +1719,9 @@ server_lookup:
"Failed to find key for krbtgt PAC check"); "Failed to find key for krbtgt PAC check");
goto out; goto out;
} }
tgtkey = &tkey->key;
}
ret = check_PAC(context, config, client_principal, ret = check_PAC(context, config, client_principal,
client, server, ekey, tgtkey, client, server, ekey, &tkey->key,
tgt, &rspac, &require_signedpath); tgt, &rspac, &require_signedpath);
if (ret) { if (ret) {
kdc_log(context, config, 0, kdc_log(context, config, 0,