1

Topic: Convert backend from mysql to AD(ldap)

Is it possible to change backend on installed iRedMail from MySQL to ldap?
Have anybody manuals for it?
==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Centos 6
- Related log if you're reporting an issue:
====

----

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

2

Re: Convert backend from mysql to AD(ldap)

Do you mean migrating MySQL accounts to OpenLDAP? If so, it should be easy.
And here's tutorial about how to use/migrate passwords:
http://www.iredmail.org/wiki/index.php? … ord.hashes

3

Re: Convert backend from mysql to AD(ldap)

ZhangHuangbin wrote:

Do you mean migrating MySQL accounts to OpenLDAP? If so, it should be easy.
And here's tutorial about how to use/migrate passwords:
http://www.iredmail.org/wiki/index.php? … ord.hashes

No, i mean how add LDAP support for using system. I needn't migrate accounts.

4

Re: Convert backend from mysql to AD(ldap)

Excuse me, what do you mean "add LDAP support for using system"?
We don't know how your current server running, so it's hard for us to suggest something.

5

Re: Convert backend from mysql to AD(ldap)

ZhangHuangbin wrote:

Excuse me, what do you mean "add LDAP support for using system"?
We don't know how your current server running, so it's hard for us to suggest something.

Now server runs using MySql backend, but i need LDAP.

6

Re: Convert backend from mysql to AD(ldap)

*) Unfortunately, no existing scripts for your use right now, so you have to write some script to convert mail accounts from SQL to LDAP.
*) As mentioned in my previous reply, migrating password hashes should be easy.