I have installed slapd on Ubuntu 12.04 and configured it with the following under /etc/ldap/slapd.conf:
modulepath /usr/lib/ldap
moduleload back_sock.la
database sock
socketpath /tmp/slapd.sock
However, if I start slapd with service slapd restart
then, slapd is running but there is no socket file in /tmp. What am I missing?
Update:
Output of netstat -nlp | grep slapd
is:
tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN 860/slapd
tcp6 0 0 :::389 :::* LISTEN 860/slapd
unix 2 [ ACC ] STREAM LISTENING 8303 860/slapd /var/run/slapd/ldapi
sudo netstat -nlp | grep slapd
? Please edit your question for this.