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.

