Doc Text:
|
.Default behavior change: Directory Server now returns a DN in exactly the same spelling as it was added to the database
With the new `nsslapd-return-original-entrydn` parameter under the `cn=config` entry, 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 the entry `uid=User,ou=PEople,dc=ExaMPlE,DC=COM`, and with the setting turned on, Directory Server returns the same spelling of the DN for the entry: `uid=User,ou=PEople,dc=ExaMPlE,DC=COM`.
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 to `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 the spelling of the DN when you added the entry to the database.
|