Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3882

Raspberry Pi OS • Re: LDAP Server Installation

$
0
0
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.

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
I searched the entire disk for a file named core.ldif, but I cannot find it.

What should I be doing different to make it work?
I think your problem is the 'dpkg-reconfigure', you run it and files that are part of 'slapd' disappear.
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



Viewing all articles
Browse latest Browse all 3882

Trending Articles