freeipa/daemons/ipa-kdb
Alexander Bokovoy a14ebbea89 ipa-kdb: simplify trusted domain parent search
In terms of cross-forest trust parent domain is the root domain of
the forest because we only have trust established with the forest root.

In FreeIPA LDAP store all sub-domains stored in cn=<forest root>,
cn=ad,cn=trusts,... subtree. Thus, a first RDN after cn=ad is the
forest root domain. This allows us to simplify logic of finding
the parent domain.

For complex hierachical forests with more than two levels of
sub-domains, this will still be true because of the forest trust:
as forest trust is established to the forest root domain, any
communication to any sub-domain must traverse forest root domain's
domain controller.

Note that SSSD also generated incorrectly CA paths information
for forests with non-hierarchical tree-roots. In such cases
IPA KDC got confused and mistakenly assumed direct trust to the
non-hierarchical tree-root instead of going through the forest
root domain. See https://fedorahosted.org/sssd/ticket/3103 for
details.

Resolves: https://fedorahosted.org/freeipa/ticket/5738
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
2016-08-22 14:03:00 +02:00
..
tests ipa-kdb: get_authz_data_types() make sure entry can be NULL 2016-01-27 16:03:03 +01:00
ipa_kdb_audit_as.c ipa-kdb: unexpected error code in 'ipa_kdb_audit_as_req' triggers a message 2015-01-30 11:02:16 +01:00
ipa_kdb_common.c Always verify we have a valid ldap context. 2016-01-13 16:09:38 +01:00
ipa_kdb_delegation.c ipa-kdb: fix delegation acl check 2012-02-28 13:03:22 -05:00
ipa_kdb_mkey.c ipa-kdb: Get/Store Master Key directly from LDAP 2011-08-26 08:24:49 -04:00
ipa_kdb_mspac_private.h adtrust: support UPNs for trusted domain users 2016-06-11 17:25:50 +02:00
ipa_kdb_mspac.c ipa-kdb: simplify trusted domain parent search 2016-08-22 14:03:00 +02:00
ipa_kdb_passwords.c Allow unexpiring passwords 2016-07-01 11:22:02 +02:00
ipa_kdb_principals.c kdb: check for local realm in enterprise principals 2016-07-12 12:26:28 +02:00
ipa_kdb_pwdpolicy.c Detect default encsalts kadmin password change 2015-05-27 09:45:56 -04:00
ipa_kdb.c Allow admins to disable preauth for SPNs. 2016-03-08 18:48:40 +01:00
ipa_kdb.exports ipa-kdb: add exports file 2011-08-26 08:24:49 -04:00
ipa_kdb.h Allow admins to disable preauth for SPNs. 2016-03-08 18:48:40 +01:00
Makefile.am ipa-kdb: convert test to cmocka 2015-07-08 01:56:52 +02:00
README ipa-kdb: Initial plugin skeleton 2011-08-26 08:24:49 -04:00
README.s4u2proxy.txt Fix s4u2proxy README and add warning 2015-06-08 14:37:29 -04:00

This is the ipa krb5kdc database backend.