Hi people.
I got a centos 6.x server running openldap 2.3.x as backend or our samba domain.
I need to move to centos 7 which came with openldap 2.4.x.
I had read that the files settings change and need to upgrade to the new format for 2.4.x
I got my ldap backups, is this the right way to do it?
1) Move my backup to the new server. 2) Remove slapd.d dir from /etc/openldap in the new installation. 3) Copy my openldap settings from the old server (/etc/openldap/) 4) run slapadd -l ldap.backup 5) create a empty directory called slapd.d /etc/openldap 6) convert to new format: slaptest -f ldap.backup -F /etc/openldap/slapd.d
This is correct guys or I miss something?
Thanks for your help and time!!!
--On Friday, April 06, 2018 2:24 PM -0700 Periko Support pheriko.support@gmail.com wrote:
This is correct guys or I miss something?
I think you're missing some on configuration. It is likely that your 2.3 server used "slapd.conf" for its configuration. You will want to start with that file under the new 2.4 install, and then modify it as necessary. I.e., 2.4 has some changes to ACL processing, as documented under http://www.openldap.org/doc/admin24/appendix-upgrading.html#ACLs:%20searches%20require%20privileges%20on%20the%20search%20base
Once you have your slapd.conf updated to work with 2.4, then you can optionally choose to convert it to the dynamic configuration backend (cn=config) via slapadd.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org