Fixes for 389 Directory Server - addresses recursion issue #314. The primary issue was that 389DS doesnt render the subschemaSubentry attribute unless it is specifically requested.

This commit is contained in:
2025-04-27 14:03:21 +10:00
parent 53880121b6
commit a336e58b7a
4 changed files with 5 additions and 4 deletions

View File

@@ -361,7 +361,8 @@ final class Server
// Try to get the schema DN from the specified entry.
$schema_dn = $this->schemaDN();
$schema = $this->fetch($schema_dn);
// @note: 389DS does not return subschemaSubentry unless it is requested
$schema = $this->fetch($schema_dn,['*','+','subschemaSubentry']);
// If our schema's null, we didnt find it.
if (! $schema)