Topic: Cannot connect to LDAP Server
==== Required information ====
- iRedMail version: iRedmail 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Linux Ubuntu
- Related log if you're reporting an issue:
====
Hi,
I have 3 server, server no.1 is for iredmail service (pop3/imap/smtp), server no.2 is for ldap and mysql server, and server no.3 is for shared storage/nfs storage
I have problem with authenticating user from iredmail to ldap server, I have copy iredmail.schema and amavis.schema to ldap server. I found this on dovecot error log
Nov 18 08:23:57 auth: Error: LDAP: binding failed (dn cn=vmail,dc=mailexample,dc=com): Invalid credentials
and I use private IP to connect from iredmail to ldap server, bellow is the dovecot configuration
hosts = 192.168.12.48:389
ldap_version = 3
auth_bind = yes
dn = cn=vmail,dc=mailexample,dc=com
dnpass = Xfm5EOje91nNwHVzNh8xcClj3YQAbI
base = o=domains,dc=mailexample,dc=com
scope = subtree
deref = never
Is there something wrong with my config in iredmail or ldap server ?
thanks
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.