Skip to content

Only return Directory Server Entry object if explicitly requested#10

Merged
camh- merged 1 commit intomasterfrom
base-req-fix
Nov 18, 2025
Merged

Only return Directory Server Entry object if explicitly requested#10
camh- merged 1 commit intomasterfrom
base-req-fix

Conversation

@camh-
Copy link
Member

@camh- camh- commented Nov 15, 2025

Ensure we return the Directory Server Entry (DSE) when the requested DN
is the empty DN and the scope is for a base object (not a tree).

The Directory Server Entry (DSE) is the root of the DB and contains
server/service oriented information, not user data. This should only be
returned when explicitly requested by requesting the empty DN and
requesting just a base object (not a tree).

Previously we could get the DSE based on a search for a DN that is a
parent of the root data entry and we'd return that.

Ensure we return the Directory Server Entry (DSE) when the requested DN
is the empty DN and the scope is for a base object (not a tree).

The Directory Server Entry (DSE) is the root of the DB and contains
server/service oriented information, not user data. This should only be
returned when explicitly requested by requesting the empty DN and
requesting just a base object (not a tree).

Previously we could get the DSE based on a search for a DN that is a
parent of the root data entry and we'd return that.
@camh- camh- requested a review from juliaogris November 15, 2025 22:18
@camh- camh- merged commit cb436b4 into master Nov 18, 2025
1 check passed
@camh- camh- deleted the base-req-fix branch November 18, 2025 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants