Back to bug 2075017

Who When What Removed Added
Red Hat Bugzilla 2022-04-13 12:33:56 UTC Pool ID sst_idm_ds
Red Hat One Jira (issues.redhat.com) 2022-04-13 12:41:21 UTC Target Milestone --- DS12.1
Whiteboard sync-to-jira
Target Release --- dirsrv-12.1
Link ID Red Hat Issue Tracker IDMDS-2195
Petr Čech 2022-04-19 14:51:59 UTC CC pcech
Marc Muehlfeld 2023-02-07 09:05:17 UTC Target Release dirsrv-12.1 dirsrv-12.2
Priority unspecified high
Keywords FutureFeature, Triaged
CC kperrier
Assignee ldap-maint mreynolds
Status NEW ASSIGNED
Keywords TestCaseProvided
Status ASSIGNED POST
Status POST MODIFIED
Fixed In Version redhat-ds-12-9020020221130212339.1674d57
CC bsmejkal
Docs Contact mmuehlfe emartyny
errata-xmlrpc 2023-02-16 14:55:56 UTC Link ID Red Hat Issue Tracker IDMDS-2777
Status MODIFIED ON_QA
Viktor Ashirov 2023-02-20 13:39:16 UTC Status ON_QA ASSIGNED
CC vashirov
Viktor Ashirov 2023-02-20 15:56:56 UTC Status ASSIGNED VERIFIED
Viktor Ashirov 2023-02-21 08:20:43 UTC QA Contact ds-qe-bugs idm-ds-qe-bugs
Matthew Harmsen 2023-03-03 01:00:25 UTC CC idm-ds-dev-bugs
Matthew Harmsen 2023-03-03 01:02:15 UTC CC ldap-maint
Pasi Karkkainen 2023-05-23 12:31:34 UTC CC pasik
errata-xmlrpc 2023-05-30 00:17:47 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2023-05-30 09:40:35 UTC Resolution --- ERRATA
Status RELEASE_PENDING CLOSED
Last Closed 2023-05-30 09:40:35 UTC
errata-xmlrpc 2023-05-30 09:41:10 UTC Link ID Red Hat Product Errata RHBA-2023:3344
Evgenia Martynyuk 2023-07-21 16:24:27 UTC Doc Type If docs needed, set a value Enhancement
Doc Text .New configuration parameter `nsslapd-return-original-entrydn` under `cn=config`

With the new configuration parameter `nsslapd-return-original-entrydn` you can manage how Directory Server returns the distinguished name (DN) of entries during search operations.

By default, the `nsslapd-return-original-entrydn` parameter is set to `on` and Directory Server returns the DN exactly how it was originally added to the database. For example, you added or modified an entry `uid=User,ou=PEople,dc=ExaMPlE,DC=COM `, and with the setting turned on, Directory Server returns the same DN `uid=User,ou=PEople,dc=ExaMPlE,DC=COM` for the entry.

When the `nsslapd-return-original-entrydn` parameter is set to `off`, Directory Server generates the entry DN by putting together a Relative DN (RDN) of the entry and the base DN that is stored in the database suffix configuration under `cn=userroot,cn=ldbm database,cn=plugins,cn=config`. If you set the base DN as `ou=people,dc=example,dc=com`, and the `nsslapd-return-original-entrydn` setting is `off`, Directory Server returns `uid=User,ou=people,dc=example,dc=com` during searches and not as you added to the database.

Back to bug 2075017