LDAP Matching Rule Transitive Evaluation is an LDAP matching rule that checks whether a value matches directly or through nested group membership. Directory servers use it for queries such as group containment or recursive membership checks, so access decisions can recognise indirect relationships without manually expanding every nested group.
What the rule does in directory matching
LDAP Matching Rule Transitive Evaluation lets a directory answer membership questions without flattening every nested group first. That matters whenever access control, delegation, or reporting depends on indirect relationships, because the server can evaluate group containment recursively instead of treating only immediate members as valid.
In practice, this is the mechanism behind “is this user effectively in this group?” queries in environments that rely on nested groups for administration, application authorization, or policy assignment. It reduces client-side recursion logic, but it also means the correctness of the result depends on how the directory interprets nesting, circular references, and group scope.
Why transitive evaluation matters for access decisions
The main value of transitive evaluation is that it preserves the business meaning of nested groups. Many organisations use nesting to model teams, functions, environments, or delegated administration, so a direct-only lookup can miss real access paths and produce incomplete decisions.
That same convenience can hide complexity. If an access review, entitlement report, or application permission check relies on recursive membership, the output is only as trustworthy as the directory’s group graph and the rules used to resolve it. A well-designed query therefore needs to match the directory’s actual membership semantics, not an assumed one.
For readers who are cleaning up nested group structures, the mechanics are closely tied to the broader problem of effective permissions. NHIMG’s Group Sprawl and Nested Groups explains why ownership, expiry, and nesting depth matter when recursive membership drives access.
Common implementation patterns and limitations
Transitive matching is most useful where directory data is queried by systems that do not want to reimplement recursion. Typical uses include access checks, admin tooling, identity reporting, and rule evaluation in directory-backed applications.
The limitation is that recursive evaluation can also amplify bad design. Deep nesting, circular membership, and inconsistent group governance can make results harder to reason about, especially when different platforms interpret group scope or referral handling differently. If the directory tree is messy, the query may still be technically correct while the resulting access model remains opaque to operators.
When nested groups are used to grant high privilege, transitive evaluation becomes even more important because it can reveal effective rights that are not obvious from direct membership alone. That is why environment reviews often pair recursive lookup with privilege auditing and cleanup. NHIMG’s How to find service accounts with Domain Admin rights shows how recursive membership can expose privilege that direct checks miss.
Security implications for directory-backed authorisation
Because the rule can recognise indirect membership, it is a security-relevant part of authorisation design, not just a directory convenience. A system that trusts transitive evaluation may correctly honour delegated access, but it may also inherit every weakness in group governance, including overbroad nesting, stale memberships, and unintended privilege propagation.
In tightly controlled environments, this is useful because it aligns technical enforcement with human organisational structure. In poorly governed environments, it can make excessive access harder to spot, because the effective entitlement is distributed across several group layers rather than present in one obvious object.
When the directory is used as an identity source for platforms such as cloud consoles, applications, or admin tooling, transitive evaluation should be treated as part of the trust boundary. NHIMG’s LDAP Security Deep Dive Guide covers adjacent controls such as LDAP signing, channel binding, and secure binds that help protect the directory queries supporting those decisions.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST SP 800-53 Rev 5 sets the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | AC-2 — Account Management | Recursive group membership directly affects who receives access through account group assignment. |
| AC-3 — Access Enforcement | Transitive evaluation is part of enforcing access decisions based on nested membership. | |
| AC-6 — Least Privilege | Nested groups can accumulate effective privilege beyond direct membership, which AC-6 seeks to constrain. | |
| Recommendation — Review nested group assignments under AC-2 to keep effective access aligned with intended account use. Apply AC-3 to ensure recursive group checks enforce the same access policy the directory expresses. Use AC-6 to limit privilege that emerges through indirect group inheritance. | ||
| ISO/IEC 27001:2022 | A.5.15 — Access control | Nested group evaluation is a core access-control mechanism in directory-driven authorisation. |
| A.5.18 — Access rights | Effective rights created by transitive membership must be reviewed and removed like other access rights. | |
| Recommendation — Define directory group inheritance rules under A.5.15 so effective access stays governed and reviewable. Apply A.5.18 to recertify access created through nested groups and revoke unwanted inheritance. | ||
Practitioner Guidance
What to watch for: Treat recursive membership as an operational dependency whenever nested groups are used for access control. If a directory-backed application depends on this rule, document which group structures are expected, how deep nesting is allowed, and how exceptions or circular references are handled.
Governance implication: Review processes should focus on effective access, not just direct group membership. That means ownership, expiry, and cleanup controls need to cover the nesting hierarchy so indirect privilege does not persist unnoticed.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 9, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org