getent passwd dosen't show users of LDAP server
Using Ubuntu 14.04 LTS I needed to allow the listing of LDAP users!
Edit /etc/sssd/sssd.conf
, and change enumerate = false
to enumerate = true
.
I often see this kind of thing when I have a problem with the the connection to LDAP. Make sure you have the correct URL for your server. Personally, I avoid the ldapi:// URL. It has only caused problems in the past. Make sure that the binddn can bind. Check both secret files, if you are using password authentication and bind manually from the box to ldap.
Hope this was helpful.
Revision
#binddn cn=proxyuser,dc=padl,dc=com
#bindpw secret
Your binddn and it's secret are not being used. Ordinarily I use both to ensure that the configuration is working.
Revision 2
Sorry I couldn't be of more help. But I would expect two conf files
- /etc/libnss-ldapp.conf
- /etc/pam_ldap.conf
Both these files plus /etc/nsswitch.conf are used to configure LDAP authentication. Your nsswitch.conf is fine. The effect you are describing comes usually when the user can't be authenticated against LDAP. There's probably a short pause before getent quits. The error messages are found in /var/log/auth.log. Often the problem is that the binddn can't bind with LDAP and authentication will only take place after this bind is successful.
Like I say, sorry I couldn't be of more help.