1

Topic: slapd service does not raise after update to iredmail v1.0

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.0
- Deployed with iRedMail Easy or the downloadable installer? no
- Linux/BSD distribution name and version: CentOS 64bits 7.6.1810 Core
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

After the last update of iredmail to v1.0 and iRedAdmin-Pro 4.2 (LDAP), when you restart the machine, the slapd service does not raise. The problem was in last 2 lines added to the file /etc/openldap/slapd.conf
These are:
# Update OpenLDAP config file to index new attributes and fix an ACL
index member,uniqueMember eq,Prés
index mailingListID eq
To exit the step as we have commented

We would appreciate a solution to this problem.
Thanks...

----

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

2

Re: slapd service does not raise after update to iredmail v1.0

albertolagar wrote:

index member,uniqueMember eq,Prés

What's last word in this line? It should be "pres", not "Prés". Please fix it and restart openldap service again.
If it doesn't work, please run it in debug mode and show us the last few lines on console, we need that for troubleshooting.

slapd -u openldap -g openldap -d -1 /etc/openldap/slapd.conf

3

Re: slapd service does not raise after update to iredmail v1.0

The lines are correct, it will have been the spelling:
index member,uniqueMember eq,pres
index mailingListID eq

The issue is that the server is in production with 300 users working and we cannot restart the service as well as as well
If it happens you something else let us know
Thanks..

4

Re: slapd service does not raise after update to iredmail v1.0

Is the openldap service running? I'm confused.

5

Re: slapd service does not raise after update to iredmail v1.0

Yes, this service is running. In his day, restarting the server, so that the service will start, we had to comment on these 2 lines