I am trying to enable LDAP authentication on my ubuntu client. So far I tried the following instructions: https://www.tecmint.com/configure-ldap-client-to-connect-external-authentication/
and since it did not work I came across some solutions like changing libnss-ldap to libnss-ldapd according to 16.04 server: enabling LDAP authentication causes systemd-logind to fail
and at some point I started to mix up all these solutions together and so on but so far no luck. I can run ldapsearch on the client machine and get all the information of a user in my ldap server but I can not see any of the ldap users inside passwd file when running
getent passwd and hence I can't login with any of my ldap users to the client machine either. The only new user added in my passwd file is nslcd with the description of "name service LDAP connection daemon". So I will really appreciate if someone could help me with this problem.
I should let you know that my openldap runs on a different machine inside a docker container. So far I managed to successfully connect it so keycloak, bookstack and lime survey. So it actually have been in use for quite some time now.
Thank you very much in advance