LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-23-2009, 09:31 PM   #1
carlos23
LQ Newbie
 
Registered: Sep 2006
Posts: 9

Rep: Reputation: 0
Unhappy 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.
 
Old 01-24-2009, 01:17 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
getent passwd not showing some users dmusil Linux - Software 0 05-14-2008 12:20 PM
getent passwd only pulls local info - getent group works? epoh Linux - Server 2 03-14-2008 07:56 AM
getent passwd errors - no users added jamiegordon Linux - Software 1 01-03-2008 09:33 AM
nss_ldap not working (getent passwd) WindowBreaker Slackware 2 06-27-2006 02:19 AM
getent passwd and wibinfo -u not working bahadur Linux - Networking 0 06-14-2004 12:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration