1

Topic: LDAP Internal Error

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

Hi,

Currently we are experiencing Connection to IMAP server failed in roundcube. After some research, restarting the ldap service somehow fix this problem but it always comes back.

here is the log of dovecot:

dovecot: Oct 12 10:52:07 Error: auth(default): ldap(miliayuta@algorith.com.hp,101.215.55.419): ldap_search((&(objectClass=mailUser)(accountStatus=active)(enabledService=mail)(enabledService=pop3)(mail=miliayuta@algorith.com.hp))) failed: Internal (implementation specific) error

Thanks.

----

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

2

Re: LDAP Internal Error

Please show us required information to help you solve issue:

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

I guess it's caused after upgrading iRedMail?

3

Re: LDAP Internal Error

Hi zhang,

Sorry about that. No, we didn't upgrade the iredmail, it just so happened lately and we don't know why.

Thanks.


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

4

Re: LDAP Internal Error

*) iRedMail-0.6.0 is really old.

polapo123 wrote:

- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL

Is it OpenLDAP or MySQL? Your post mentions it's OpenLDAP.

I wonder re-indexing OpenLDAP attributes (with command "slapindex) will help solve this issue.
Reference:
http://www.openldap.org/software/man.cg … ormat=html

NOTE: You have to stop OpenLDAP service before re-indexing, and don't forget to check file permissions for files under OpenLDAP database directory (/var/lib/ldap/xxx/).