Christian Kratzer wrote:
Hi,
On Wed, 20 Dec 2017, Zeus Panchenko wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi,
what is the best practice or right way to change schemas order for cn=config
case?
Use ldapmodrdn.
1. to move file?
2. to ldapmodify?
for the one used to slapd.conf both of ways look weird ... :(
for those cases that ldapmodify that does not work you can use slapcat
to dump all of the cn=config database edit it and reimport using slapadd.
Adding -n0 to slapadd and slapcat makes it use the cn=config database.
Greetings
Christian
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/