LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-02-2006, 10:58 AM   #1
mundacho
LQ Newbie
 
Registered: Mar 2006
Location: Switzerland
Distribution: Mandrake
Posts: 2

Rep: Reputation: 0
nss_ldap doesn't work!!


hello,

I've just installed openldap to make my mandrake system to log me in via ldap.
I've configured the server and everything works fine, i've migrated my passwd, group and host database to the server, then changed the nsswitch.conf file to consult ldap and then configured the /etc/ldap.conf file to acces the directory.

when I make

Code:
cusipsrv $ getent passwd
i get only the /etc/passwd file content. it seems that the libraries are not able to contact the server (which is working).
how could i get some information from the libraries (I mean nss_ldap.so)?? if there is an error with them they should write it somewhere, isn't it??
could someone help? thanks in advance,

mundacho
 
Old 07-02-2006, 04:32 PM   #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
i've been having similar frustrations with this myself recently. how are you doing with the ldapsearch tool? that's always the first step to manually suck some data out on demand. only then should you worry about the integration to the system. You've not mentioned anything about the ldap server in question. I was using an AD 2003 backend and my lack of "getent passwd" details was down to the fact that is was not obtaining a uid or a gid for any users, and as such it's ignored all the data. I struggled a lot to find any way to debug the scenario, but using ethereal was a massive boost, as it can easily decode plaintext LDAP queries, so you can see directly wether the data was recieved by the box or not, any error codes from the server etc... hope this helps you get a litle closer.
 
  


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
nss_ldap not working (getent passwd) WindowBreaker Slackware 2 06-27-2006 02:19 AM
NFS doesn't work work well with mounted NTFS volumes? StevenO Linux - Networking 6 02-13-2006 10:54 AM
nss_ldap, can't contact LDAP server! mesh2005 Linux - Networking 3 12-06-2005 01:22 AM
OpenLDAP, nss_ldap, pam_ldap and shadow account info pshinpaugh Linux - General 2 08-16-2004 08:13 AM
FALCONS EYE (nethack) FAILS ON STARTUP, use to work, wont work even after reinstall roorings Linux - Software 0 10-08-2003 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:43 AM.

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