Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Authentication Failures after upgrade of openldap-openrc (Read 591 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Authentication Failures after upgrade of openldap-openrc

after today's upgrade i could no longer connect to my imap-server (dovecot). I get authentication failures in evolution and thunderbird.
I cannot connect from console by ldapsearch:
Quote
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
pacman.log shows upgrades of dovecot-openrc and openldap-openrc.
Downgrade of dovecot-openrc had no effect. Downgrade of openldap-openrc solved the problem.
openldap-openrc contains /etc/init.d/slapd and /etc/conf.d/slapd. If /etc/conf.d/slapd is replaced by the previous version authentication problem is solved too.
I use classical configuration (/etc/openldap/slapd.conf).
What can i do?

 

Re: Authentication Failures after upgrade of openldap-openrc

Reply #1
found a solution by looking for differences in both versions of /etc/conf.d/slapd.  I had to uncomment the line
Quote
# OPTS="-h 'ldaps:// ldap:// ldapi://%2fvar%2frun%2fopenldap%2fslapd.sock'"
 
in openldap-openrc-20200620