1

Topic: ldap authentication failing

After install had strange problem of ldap not starting due to bad database. Reloaded working ldap from another server that I built to get the config files correctly, changed the group and user perms on ldap so it would work (chown ldap:ldap -R /var/lib/ldap).

here is problem:
ldap works, I can login via http://mysite/phpldapadmin, but I cannot authenticate in webmail/pop3 or imap! how is openldap related/passing the info to the rest of the protocols? where would I fix.

----

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

2

Re: ldap authentication failing

First, enable debug in /etc/dovecot.conf:

mail_debug = yes

Restart dovecot service, re-test webmail/pop3 and post related log in /var/log/dovecot.log.

If you doesn't find any useful message in /var/log/dovecot.log, increase loglevel in /etc/openldap/slapd.conf:

loglevel 256

Restart ldap service, re-test webmail/pop3 and post related log in /var/log/openldap.log.