Update of OpenLdap

Odhiambo Washington odhiambo at gmail.com
Sat Aug 7 11:33:47 UTC 2021


On Sat, Aug 7, 2021 at 2:25 PM Jerry Seibert <jerry at seibercom.net> wrote:

> FreeBSD 11.4-RELEASE-p9
>
> After the recent updating of "openldap", the follow error/warning
> message is presented whenever I attempt to access the database.
>
> Aug  7 07:13:57 scorpio slapd[82175]: OTP unavailable because can't
> read/write key database /etc/opiekeys: Permission denied
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

How about you check the permissions on  /etc/opiekeys and ensure that the
process requiring WRITE access is given that right?

On my system (FreeBSD 13) I see:

root at gw:/usr/home/wash # ls -al /etc/opiekeys
-rw-------  1 root  wheel  0 Jan 10  2019 /etc/opiekeys

Meaning that the file is only WRITEable by root.

Check that the process gets access, or maybe assign that process another
file? I don't know if that works. I don't use OpenLDAP.
You need to read /usr/ports/UPDATING for clues, or the relevant man page
for the details of what you should do.



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' :-)


More information about the freebsd-questions mailing list