wrong permissions to access ldapi
Bug #257667 reported by
Javier Uruen Val
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: slapd
Source: openldap_
Release: 8.10
Version: 2.4.11-0ubuntu1
Unless I'm missing something if slapd is configured to place its socket unix within /var/run/slapd -which is usual-, processes won't be able to connect to the socket due to the directory's permissions.
Related branches
To post a comment you must log in.
Thanks for your bug report. Your debdiff doesn't work as expected as /var/run is a tmpfs directory and is recreated every time the system is booted.
Moreover, according the init script /etc/init.d/slapd, the symlink is there to maintain backward compatibility with openldap 2.1 client libraries:
# Backward compatibility with OpenLDAP 2.1 client libraries.
if [ ! -h /var/run/ldapi ] && [ ! -e /var/run/ldapi ] ; then
ln -s slapd/ldapi /var/run/ldapi
fi