Don't forget to update slapd.conf or cn=config to specify the new base DN.
On 05/21/2013 12:58 AM, Vasiliy P. Melnik wrote:
> sla
>
> 2013/5/21 Ian Young <[email protected]>:
>> Is it possible to convert the domain name in the suffix using LAM? If so,
>> how?
> No
>
>> i.e. dc=domain1,dc=com -> dc=domain2,dc=com
> 1) /etc/init.d/openldap stop
> 2) export slapcat -l /root/slapd.ldif
> 3) delete openldap data directory
> 4) cp /root/slapd.ldif /root/slapd.ldif.new
> 5) edit /root/slapd.ldif.new . Run mc , F4 on file slapd.ldif.new. F7
> - search and replace
> 6) slapadd -l root/slapd.ldif.new
> 7) /etc/init.d/openldap start
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
> _______________________________________________
> Lam-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lam-public
>
--
Isaac Freeman / SCMB Systems Administrator
IBM SmartCloud / Managed Backup
[email protected] / 919.254.8664
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public