The problem was that my LDAP user didn't have any rights so I was unable to change anything.Īfter some research I created bootable Lubuntu USB and plugged it in the server. LDAPTLS_CACERT=/etc/ssl/certs/ca-certificates.crt ldapsearch -x -H "$ /sshPublicKey:/x $g s/\n *//g s/sshPublicKey: //gp'ĪuthorizedKeysCommand /usr/bin/ssh-ldap-auth %uĪfter the initial configuration, I was able to log into my server with LDAP user but now I'm unable to log in with local users: root, user. Nscd -i group (invalidate name service cache for groups/users)Įdited /etc/ldap/nf (added TLS_CACERT location) Pam-auth-update (enable LDAP auth on server) ![]() Getent passwd (check if LDAP users are successfully pulled) ![]() Yesterday I tried installing openLDAP on my Debian server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |