--On Tuesday, March 16, 2021 5:40 PM +0100 Benjamin Renard <[email protected]> wrote:
   -> on ldap1 :
     slapcat -n 1 > /tmp/ldif
     scp /tmp/ldif ldap3:/tmp/
   -> on ldap3 :
     rm -f /var/lib/ldap/*
     slapadd -n 1 -q -l /tmp/ldif
     chown openldap: -R /var/lib/ldap/
  - start slapd on ldap3

I would generally advise using slapcat/slapadd -b "base" rather -n as to avoid assumptions about database ordering. I generally advise only using -n for the config db (-n 0).

Regards,
Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>
  • Replacing the server du... Клеусов Владимир Сергеевич
    • Re: Replacing the ... Benjamin Renard
      • Re: Replacing ... Quanah Gibson-Mount
        • Re: Replac... Benjamin Renard
          • Re: Re... Клеусов Владимир Сергеевич
            • R... Quanah Gibson-Mount
              • ... Клеусов Владимир Сергеевич
                • ... Quanah Gibson-Mount
                • ... Клеусов Владимир Сергеевич
                • ... Quanah Gibson-Mount
                • ... Клеусов Владимир Сергеевич
                • ... Quanah Gibson-Mount

Reply via email to