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

Raspberry Pi OS • Re: LDAP Server Installation

$
0
0
I played around some more and got to the following (also notice the space at the start of the changetype):

Code:

$ cat /etc/ldap/schema/core.ldif dn: cn=Dougie Lawson,ou=Server Technology,o=Acme, c=UK changetype: addcn: Dougie Lawsoncn: Dougie$ sudo dpkg-reconfigure slapd  Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.5.13+dfsg-5... done.  Creating initial configuration... Loading the initial configuration from the ldif file () failed withthe following error while running slapadd:    PROXIED attributeDescription "OU" inserted.    PROXIED attributeDescription "O" inserted.    PROXIED attributeDescription "C" inserted.    slapadd: line 42: database #0 (cn=config) not configured to hold "cn=Dougie Lawson,OU=Server Technology,O=Acme,C=UKchangetype: add"; no database configured for that naming context
It looks like I first need to configure a database for the naming context, but I have no idea how. The various documents I consulted all seem to assume this was done when the ldap server was installed.

Statistics: Posted by 1marc1 — Thu Jul 18, 2024 12:28 pm



Viewing all articles
Browse latest Browse all 5610

Trending Articles