I confirm that the bug is present on Kubuntu 14.10 as well. When installing a clean ubuntu 14.10 server and installing slapd with : apt-get install slapd ldap-utils configure it with : dpkg-reconfigure slapd with ldap address of ldapi://xxx.xxx.xxx the following command : ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config gives the following error: ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
Also, the provided solution of modifying apparmor config for slapd worked. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1392018 Title: apparmor stops /var/run/ldapi from being read causing ldap to fail To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1392018/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs