1

Topic: Change iRedMail ldap root DN

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Deb7
- Related log if you're reporting an issue:
====

Looking to change my ldap root DN from dc=whatever,dc=com to dc=newname,dc=com

and my manager user to reflect this --> cn=Manager,dc=newname,dc=com

Is this difficult? Thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Change iRedMail ldap root DN

Steps:

- Create a new LDAP database "dc=newname,dc=com" in /etc/ldap/slapd.conf
- Export current LDAP into LDIF format, replace old root dn by new dn.
- Import modified LDIF file into new database "dc=newname,dc=com".

3

Re: Change iRedMail ldap root DN

ZhangHuangbin wrote:

Steps:

- Create a new LDAP database "dc=newname,dc=com" in /etc/ldap/slapd.conf
- Export current LDAP into LDIF format, replace old root dn by new dn.
- Import modified LDIF file into new database "dc=newname,dc=com".

Thank you. I can create multiple ldap database on single machine?

4

Re: Change iRedMail ldap root DN

sam-the-man wrote:

Thank you. I can create multiple ldap database on single machine?

Sure. OpenLDAP supports this.

5

Re: Change iRedMail ldap root DN

ZhangHuangbin wrote:
sam-the-man wrote:

Thank you. I can create multiple ldap database on single machine?

Sure. OpenLDAP supports this.

It's cool! Will try when I get home. Thank you!!!