LDAP Client
Version vom 3. Mai 2023, 09:16 Uhr von Linkai.zhang (Diskussion | Beiträge)
Client
Benötigte Pakete
Debian
- apt install nslcd ldap-utils
Arch
- pacman -S nss-pam-ldapd
Konfiguration
- vim /etc/nslcd.conf
uid nslcd gid nslcd uri ldap://ldap.lab100.it # uri ldap://ldap.lab100.it ldap://ldap.lab101.it base dc=lab100,dc=it # base dc=lab101,dc=it tls_cacertfile /etc/ssl/certs/ca-certificates.crt
- systemctl restart nslcd
- vim 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