I think your problem is the 'dpkg-reconfigure', you run it and files that are part of 'slapd' disappear.I am trying to install and configure openLDAP on my Raspberry Pi 3. I am running Raspberry Pi OS - Debian GNU/Linux 12 (bookworm). When I follow the various installation procedures I find on the internet, the following happens.I searched the entire disk for a file named core.ldif, but I cannot find it.Code:
$ sudo apt install slapd ldap-utils <...output omitted; no errors or warnings reported...>$ sudo dpkg-reconfigure slapd Creating initial configuration... Loading the initial configuration from the ldif file () failed withthe following error while running slapadd: ldif_read_record: include file:///etc/ldap/schema/core.ldif failed
What should I be doing different to make it work?
Try purging slapd (to ensure it is all removed), then install it again, are there ldif files in /etc/ldap/schema ?
Statistics: Posted by hortimech — Thu Jul 18, 2024 3:45 pm