LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-07-2013, 05:14 PM   #1
Xplosive
LQ Newbie
 
Registered: Sep 2005
Distribution: Debian Etch
Posts: 14

Rep: Reputation: 0
openLDAP: getent passwd doesn't show ldap users


Hello,
I have this annoying problem with "getent passwd".
I have tried openldap on Debian, openSuse, a Slackware liveCD named SMS, and different setups on CentOS,
but I always get the same result - the "getent passwd" command shows local accounts only.

Right now I have openldap 2.4.23 with sssd and webmin installed on a fresh and updated centos6.3 server,
a group and a user has been added to the DB by me.
ldapsearch and other openldap-client commands work just fine.
nscd is not running

nsswitch.conf has:
Code:
passwd:    files sss
shadow:    files sss
group:    files sss
What am I doing wrong?
Thanks in advance!
 
Old 02-08-2013, 11:49 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 you've not shown us what you're doing so we can't correct it. What config do you have to pull data from ldap? can you ldapsearch correctly against the server? How are you mapping any fields? how are you binding?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
OpenLDAP - ldapsearch works; getent and finger doesn't fukawi2 Linux - Server 4 03-26-2010 05:39 AM
Getent passwd dont show AD Groups and Users adrigo Linux - Server 6 08-13-2009 12:14 PM
getent passwd not showing some users dmusil Linux - Software 0 05-14-2008 12:20 PM
getent passwd errors - no users added jamiegordon Linux - Software 1 01-03-2008 09:33 AM
SAMBA getent passwd command doesnt list all the users loganking Linux - Software 0 06-14-2006 11:22 AM

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

All times are GMT -5. The time now is 06:44 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