Client
Benötigte Pakete
Debian
- apt install nslcd ldap-utils
Arch
Konfiguration
NSS
uid nslcd
gid nslcd
uri ldap://ldap.lab1xx.it # ldap://ldap.lab101.it
base dc=lab1xx,dc=it
# base dc=lab101,dc=it
tls_cacertfile /etc/ssl/certs/ca-certificates.crt
- Für LDAP
- systemctl restart nslcd
- Für lokalen Cache
- systemctl restart nscd
- vim /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: files systemd ldap
group: files systemd ldap
shadow: files ldap
Debian
- Unter Debian sollte die Standardeinstellung nach der Installation von libpam-ldap für das reine Anmelden funktionieren
- Falls eine Funktionalität nicht existiert kann man Einstellungen von Arch auch übernehmen
- Die genauen Dateipfade können aber abweichen
Arch
Quellen