1 (edited by piyatat 2017-09-13 02:48:56)

Topic: can't connect Openldap in iRedmail-0.9.7 with centos 7

==== Required information ====
- iRedMail version (check /etc/iredmail-release): iRedMail-0.9.7
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

1. I can't use openldap. ( not found ldap.conf on new server )
I test with create_mail_user_OpenLDAP.sh it show this error

[root@mx tools]# bash create_mail_user_OpenLDAP.sh mailupp.com piyatat001
You should change 'LDAP_SUFFIX' in create_mail_user_OpenLDAP.sh.
ldap_bind: Invalid credentials (49)

[root@mx tools]# ldapadd -x -W -D "cn=ldapadm,dc=mailupp,dc=com" -f /var/install/BackupOpenLdap/2017-09-11-10-23-25.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)

but i can add user by iredadmin, but it can't access by roudecube.

2. my Old iredmail system use LDAP, can i transfer mail account to Mysql mail account on a new version iredmail

best regards

----

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

2

Re: can't connect Openldap in iRedmail-0.9.7 with centos 7

piyatat wrote:

# bash create_mail_user_OpenLDAP.sh mailupp.com piyatat001
You should change 'LDAP_SUFFIX' in create_mail_user_OpenLDAP.sh.
ldap_bind: Invalid credentials (49)

Isn't it very clear in the output message?

piyatat wrote:

2. my Old iredmail system use LDAP, can i transfer mail account to Mysql mail account on a new version iredmail

Yes. FYI:
http://www.iredmail.org/docs/backup.restore.html