I am setting up an LDAP client on Ubuntu 14.04 server and can't seem to be able to logon. I see an error in the auth.log
that says unknown user
.
I installed packages:
ldap-auth-client
ldap-auth-config
libldap-2.4-2
libnss-ldap
libpam-ldap
I modified /etc/ldap.conf
with my URI and base. I also modified /etc/nsswitch.conf
to include ldap in passwd, group, and shadow. I can successfully ping the URI. I have setup gerrit on another system to use LDAP using the same setting as in ldap.conf
.
What am I missing?
Best Answer
Since you don't post any of your configuration, it is hard to guess, but going from the error message you provided, it seems you are trying to login as an unknown user. Check, if your're using the right LDAP-String.
So maybe this can help you: How can I figure out my LDAP connection string?