dit document beschrijft hoe je een Linux client configureert zodat gebruikers kunnen aamelden op een LDAP server.
sudo apt-get install libnss-ldap
auth-client-config -t nss -p lac_ldap
pam-auth-update
vink aan: Create home directory on login
getent passwd | group
alle instellingen worden bewaard in:
Aanpassingen die je daar doet, kan je meteen testen ahv getent passwd
Wachtwoorden worden daar ook in leesbare text bewaard …
Dec 24 22:23:48 ip-10-0-110-91 su[2577]: + /dev/pts/0 root:root Dec 24 22:23:48 ip-10-0-110-91 su[2577]: pam_unix(su:session): session opened for user root by koen(uid=0) Dec 24 22:23:48 ip-10-0-110-91 su[2577]: pam_systemd(su:session): Cannot create session: Already running in a session Dec 24 22:31:32 ip-10-0-110-91 getent: nss_ldap: failed to bind to LDAP server ldaps://ldap.jumpcloud.com: Invalid credentials Dec 24 22:31:32 ip-10-0-110-91 getent: nss_ldap: reconnecting to LDAP server... Dec 24 22:31:32 ip-10-0-110-91 getent: nss_ldap: failed to bind to LDAP server ldaps://ldap.jumpcloud.com: Invalid credentials Dec 24 22:31:32 ip-10-0-110-91 getent: nss_ldap: reconnecting to LDAP server (sleeping 1 seconds)... Dec 24 22:31:34 ip-10-0-110-91 getent: nss_ldap: failed to bind to LDAP server ldaps://ldap.jumpcloud.com: Invalid credentials