Skip to content

Document LDAP alias dereferencing in the administration guide - #1322

Merged
vharseko merged 2 commits into
OpenIdentityPlatform:masterfrom
vharseko:docs/ldap-alias-dereferencing
Nov 22, 2026
Merged

vharseko merged 2 commits into
OpenIdentityPlatform:masterfrom
vharseko:docs/ldap-alias-dereferencing

Conversation

@vharseko

@vharseko vharseko commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add an Administration Guide chapter on LDAP alias dereferencing. It covers all four search policies and includes LDIF and ldapsearch examples.
  • Explain how OpenDJ applies the filter and scope to aliases found below the search base. The one-level example shows the results of (objectClass=person) and (cn=Support), and the policy section explains how to search the target's subtree.
  • Use the Antora title and anchor pattern from Fix the Subordinate Backends page title #1321. After rebasing onto master, AntoraPageTitlesIT covers both the alias dereferencing and Subordinate Backends chapters.

Validation

  • Exercised all four policies on OpenDJ 5.2.1-SNAPSHOT. Verified both one-level filter results and confirmed when a subtree search includes descendants of the alias target.
  • Passed 26 Asciidoctor extension tests and 12 AntoraPageTitlesIT cases. Checked 646 cross-guide references across 78 pages.
  • Verified the chapter title and anchors in the combined Administration Guide during the initial documentation check.

@maximthomas maximthomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestion (non-blocking): Explain how OpenDJ applies the filter and scope when following an alias below the search base.

chap-alias-dereferencing.adoc:58

The pluggable backend applies the filter to the alias before passing it to the search operation. The search operation then looks up and returns the target without reapplying that filter or searching the target's children. In the one-level example, changing the filter to (objectClass=person) omits Alice because Support is an alias, while (cn=Support) can return Alice. State both behaviors near the policy table so readers can diagnose missing results and understand why the chapter uses the alias DN as the base for a target subtree search.

Backend filter · Target lookup and return · RFC 4511 §4.5.1.3

@vharseko
vharseko force-pushed the docs/ldap-alias-dereferencing branch from c1877fb to 5d0c7d0 Compare November 22, 2026 12:40
@vharseko

Copy link
Copy Markdown
Member Author

@maximthomas I updated the chapter to explain that OpenDJ applies the filter to an alias found below the search base and returns only the target entry, even at subtree scope. The one-level example now shows how (objectClass=person) yields no entries and (cn=Support) returns Alice. I verified both filters and the subtree behavior on OpenDJ 5.2.1-SNAPSHOT. Review suggestion · Documentation update

@vharseko
vharseko requested a review from maximthomas November 22, 2026 12:41

@maximthomas maximthomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: The two one-level filter examples show why a search can return Alice even when Alice does not match the filter.

@vharseko
vharseko merged commit dd0cbf7 into OpenIdentityPlatform:master Nov 22, 2026
14 checks passed
@vharseko
vharseko deleted the docs/ldap-alias-dereferencing branch November 22, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants