Inhaltsverzeichnis

Diese Anleitung hat für Ubuntu 26.04 als LXC für Server und Client funktioniert:

https://bm-uni.de/ldap/index.html

wesentliche Schritte für den Server

wesentliche Schritte für die Clients

mit Debian 13 hat es erstmal nicht geklappt.

https://www.howtoforge.de/anleitung/so-installierst-du-openldap-server-und-ldap-account-manager-unter-debian-12/

Eine weitere Anleitung für die Einrichtung des LDAP-Clients unter Ubuntu findet man hier:

https://oneuptime.com/blog/post/2026-03-02-how-to-configure-ldap-client-authentication-on-ubuntu/view

https://www.baeldung.com/linux/ubuntu-ldap-client

Eine Anleitung für ein self-signed-Certificat

https://www.ssldragon.com/how-to/openssl/create-self-signed-certificate-openssl/

generate certificate and private key for the server and clients to use ldaps (ldap via ssl):

openssl req -x509 -newkey rsa:2048 -keyout private.pem -out certificate.crt
-days 365 -nodes -addext „subjectAltName=DNS:ldap.schule.home“
-addext „basicConstraints=critical,CA:FALSE“ -addext „extendedKeyUsage=serverAuth“

extract public-key:

openssl rsa -in private.pem -pubout -out public.pem