On 05/20/2011 02:25 PM, Roland Schwingel wrote:
Are you moving any of the servers other than the one that contains o=NetscapeRoot? If not, then you could try the following: 1) export the o=NetscapeRoot (NetscapeRoot) database from the server in net-a db2ldif -U -n NetscapeRoot -a /path/to/nsroot.ldif 2) use perl/sed/awk/whatever you are most comfortable with to change references to net-a to net-c in nsroot.ldif 3) Create a suffix o=NetscapeRoot and database NetscapeRoot in the server in net-c 4) Import (initialize) the new o=NetscapeRoot with the old server data Then, you'll have to edit the /etc/dirsrv/admin-serv/adm.conf in all of your servers to change any references to net-a to net-c, then restart the admin server (restart-ds-admin) Finally, you'll have to run ldapmodify on all of your servers (except the one that has the new o=NetscapeRoot) to do something like this: ldapmodify -x -h hostname -D "cn=directory manager" -W <<EOF dn: cn=Pass Through Authentication,cn=plugins,cn=config changetype: modify replace: nsslapd-pluginarg0 nsslapd-pluginarg0: ldap://hostname.of.new.server.in.net-c/o=NetscapeRoot You'll have to restart the server in order for this change to take effect, but if you don't want to manage the server via the console, you don't have to restart it.
|
-- 389 users mailing list 389-users@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users