you're confused between OpenLDAP and ldapd - ldapd is the OpenBSD LDAP daemon, part of the base OS.
the OpenLDAP daemon is called slapd, installed with the openldap-server package. On 2011-05-13, Tito Mari Francis Esca??o <titomarifran...@gmail.com> wrote: > Good day! > I was able to install OpenLDAP 2.4.23p1 on OpenBSD 4.9, sure enough it will > run as daemon when I edited /etc/rc.conf as below: > ldapd_flags="" > > I run slaptest -u and get the complaint: > unable to open file "/var/run/openldap/slapd.pid" > > I find that /var/run/openldap is not created, when I execute: > mkdir /var/run/openldap > > if we execute slaptest -u again, it will say test OK, but if I reboot the > box, the path /var/run/openldap will be erased again. Can you please advise > me how this can be resolved? Thank you very much.