5.2. Pre-migration Tasks
5.2.1. Plug-in Configuration
cn=config entry do not need to be recreated because they are stored in a back-end database. Only the plug-in configurations that are under the cn=config entry will need to be reconfigured.
5.2.1.1. Plug-in Configuration Changes
nslapd-pluginarg0 up to nsslapd-pluginarg10 were used.
Attribute Uniqueness Plug-in Syntax
Example 5.1. Old-style configuration syntax
nsslapd-pluginarg0: uid nsslapd-pluginarg1: dc=people,dc=example,dc=com nsslapd-pluginarg2: dc=sales, dc=example,dc=com
Example 5.2. Old-style configuration syntax
nsslapd-pluginarg0: attribute=uid nsslapd-pluginarg1: markerobjectclass=organizationalUnit nsslapd-pluginarg2: requiredobjectclass=person
Example 5.3. New-style configuration syntax
uniqueness-attribute-name: uid uniqueness-subtrees: dc=people,dc=example,dc=com uniqueness-subtrees: dc=sales, dc=example,dc=com uniqueness-across-all-subtrees: on
Example 5.4. New-style configuration syntax
uniqueness-attribute-name: uid uniqueness-top-entry-oc: organizationalUnit uniqueness-subtree-entries-oc: person
Referential Integrity Plug-in Syntax
Example 5.5. Old-style configuration syntax
nsslapd-pluginarg0: 0 nsslapd-pluginarg1: /var/log/dirsrv/slapd-localhost/referint nsslapd-pluginarg2: 0 nsslapd-pluginarg3: member nsslapd-pluginarg4: uniquemember nsslapd-pluginarg5: owner nsslapd-pluginarg6: seeAlso
Example 5.6. New-style configuration syntax
referint-update-delay: 0 referint-logfile: /var/log/dirsrv/slapd-localhost/referint referint-logchanges: 0 referint-membership-attr: member referint-membership-attr: uniquemember referint-membership-attr: owner referint-membership-attr: seeAlso
5.2.1.2. Plug-ins and Replication
- Section Replication and Directory Server Plug-ins in the Red Hat Directory Server 10 Deployment Guide.
- Section Directory Topology Considerations with the MemberOf Plug-in in the Red Hat Directory Server 10 Administration Guide.
5.2.2. Directory Server Configuration
- Make sure that you have recreated back-end suffixes. This is especially important for replication to work properly.
- Make sure that you have configured attribute indexes.
- You may need to reconfigure the database cache and each back-end entry cache to match the previous version.
5.2.3. Migration and TLS
/etc/dirsrv/slapd-instance_name/cert8.db /etc/dirsrv/slapd-instance_name/key3.db
5.2.4. Schema Migration
- Enable the
nsslapd-enquote-sup-ocparameter in thecn=configentry:# ldapmodify -D "cn=Directory Manager" -W -x dn: cn=config changetype: modify replace: nsslapd-enquote-sup-oc nsslapd-enquote-sup-oc: on
- Append the following parameter at the end of your
/etc/sysconfig/dirsrv-instancefile:LDAP_SCHEMA_ALLOW_QUOTED="on"
- Restart the Directory Server instance:
# systemctl restart dirsrv.target
- Copy the
/etc/dirsrv/slapd-instance_name/schema/99user.ldiffile and all custom schema files to the new instance. Restart the Directory Server instance to take the changes effect. - Perform a database migration. For details, see Section 5.3, “Database Migration Methods”.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.