LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   getent passwd problems (https://www.linuxquestions.org/questions/linux-server-73/getent-passwd-problems-699508/)

carlos23 01-23-2009 09:31 PM

getent passwd problems
 
Hi,

I have a problem with an LDAP server, when I run getent passwd fail with some users, but when I use id username or ldapsearch it's work. The server have 2000+ users and run Fedora Core 10.


Thanks.

acid_kewpie 01-24-2009 01:17 AM

well users won't appear there if the ldap query does not provide back sufficient details for form into a posix user account. this might be no gid or uid for example. take a look at the actual query and see if there is a difference between the working and non-working accounts. Best way I'd think of to do this would be to use wireshark to capture the ldap query direct from the network and compare in there. Only applicable for plaintext queries though, not ldaps.


All times are GMT -5. The time now is 04:51 AM.