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


  Search this Thread
Old 08-13-2009, 02:39 AM   #1
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: a few...
Posts: 654

Rep: Reputation: 32
nss_ldap, openldap and openldap-server ... what is openldap for?

Hello there

I'm trying to sort out our LDAP setup. I've gathered that:
nss_ldap provides the means for logging in using ldap.
openldap-server provides the service that nss_ldap connects to and does the authentication against.

So, what does openldap do? There are no binaries ... only libraries. So i'm guessing it is the shared components which still get used by nss_ldap ... though what else is there?

I have nss_ldap and openldap installed everywhere but what the later does ... is baffling me.

I've not done a lot of digging because ... well the rpm -qi stuff isn't helping and my staring at the configuration attempting to work out the voodoo that's making the replication work is frustrating me.

Any insight would be great...

Last edited by chakkerz; 08-13-2009 at 02:39 AM. Reason: removed double sig
Old 08-13-2009, 03:49 AM   #2
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
That is not entirely accurate. nss_ldap provides a method for the system to access information such as group and user information. This is not the same as logging in. That function would be provided by pam_ldap, or at least the authenticaton aspect would.

openldap itself is a package which contains the libraries that allow services to access information in the LDAP database. It also contains binaries that allow one to administrate the LDAP. It contains the actual db engine (usually Sleepycat) and it contains base schemas and config files.
Old 08-13-2009, 07:16 PM   #3
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: a few...
Posts: 654

Original Poster
Rep: Reputation: 32
Yeah, that's what i thought. nss_ldap contains pam_ldap from the rpm -ql ... sorry i wasn't precise.

Thanks for the answer



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
LXer: OpenLDAP Quick Tips: OpenLDAP Logfile analysis LXer Syndicated Linux News 0 12-01-2008 04:00 PM
LXer: OpenLDAP Quick Tips: Regularly upgrade OpenLDAP! LXer Syndicated Linux News 0 11-25-2008 02:00 PM
LXer: OpenLDAP Quick Tips: Using syslog or syslog-ng with slapd for OpenLDAP logging LXer Syndicated Linux News 0 11-14-2008 08:41 PM
openLDAP server sbalasuriya Linux - Software 9 07-30-2005 02:14 PM
OpenLDAP, nss_ldap, pam_ldap and shadow account info pshinpaugh Linux - General 2 08-16-2004 08:13 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:59 PM.

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