LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 10-20-2008, 05:20 AM   #1
abolishtheun
Member
 
Registered: Mar 2008
Posts: 183

Rep: Reputation: 31
I still don't get why LDAP is important...


Can someone in the enterprise explain to me (who has never worked in a large enterprise) what LDAP actually accomplishes and why its better anything else? According to wikipedia:

Quote:
An LDAP directory tree often reflects various political, geographic, and/or organizational boundaries, depending on the model chosen. LDAP deployments today tend to use Domain name system (DNS) names for structuring the topmost levels of the hierarchy. Deeper inside the directory might appear entries representing people, organizational units, printers, documents, groups of people or anything else that represents a given tree entry (or multiple entries).
Soo.... LDAP keeps track of phone numbers, contact info, corpate hierarchy info, and similar "stuff"? Wouldn't such data be better stored in (an extremely simple) database, flat text file with NIS, etc? Why are there 750 page books on LDAP 'programming'? Someone enlighten me.
 
Old 10-20-2008, 05:25 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Because, apart from other considerations, it's optimized for record search and retrieval (as opposed to insertion)
 
Old 10-20-2008, 05:29 AM   #3
abolishtheun
Member
 
Registered: Mar 2008
Posts: 183

Original Poster
Rep: Reputation: 31
And you need highly optimized access to phone numbers and contact information?
 
Old 10-20-2008, 05:44 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Authentication, user profiles (eg email profiles), etc. at enterprise scale, etc., etc..

Distributable

See http://www.openldap.org/doc/admin24/...I%20use%20LDAP

Last edited by billymayday; 10-20-2008 at 05:47 AM.
 
Old 10-20-2008, 06:04 AM   #5
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
LDAP is a world-wide directory system - or at least that was one of the original claims...
No one I know operates a public LDAP server, but corporations often have LDAP servers distributed across the globe and sharing information between different offices - well, sharing information that particular individuals may have rights to see that is. Don't expect to see the sales department's customer lists when you're in the "new kid" class.
 
Old 10-20-2008, 08:32 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
LDAP looks to me like a very generalized protocol which has unlimited flexibility. Don't need all that?---don't use it!!

One thing I like is using the ldapsearch command in a terminal---once the config is set up, it's often the fastest way to find specific data---eg:

ldapsearch -X sn=webster|grep mobile

finds the mobile phone #'s for all users with last name "webster"

Our company puts the entire LDAP database (10,000+ people and other entities) on an open server--very handy.
 
Old 10-20-2008, 03:56 PM   #7
DennisC31
Member
 
Registered: May 2007
Location: beyond my means
Distribution: Mint 11.04
Posts: 55

Rep: Reputation: 19
LDAP == Interoperability

A lot of time people tend to think of LDAP as a database. It is /not/ a database. It's a /protocol/ for accessing a database.

Linux comes with an openldap /database/ that you can install.

I make this distinction because I use ldap to access an active directory server and to access the openldap database.

Many identity management programs use ldap to communicate with a directory. For instance, when you login to your mortgage account, you give it a name + password. That name + password are then forwarded over to an identity management server. That server will then use ldap to connect to a Sun Directory server to verify the password. If the password is good, then it notifies the web server to allow you proceed and gives the web server information to put in a cookie for your browser so you don't have to type it in again as long as you stay on the web page.

Because there are many different types of back end databases, ldap is generally supported by those databases so that the database manufacturer doesn't have to write connectors for every single application that wants to access the database. If they make ldap available, then anyone with credentials can access and change data in the database.

Microsoft, Sun, Novell, and God knows who else all provide ldap connectivity.

Last edited by DennisC31; 04-11-2012 at 05:39 PM.
 
Old 10-20-2008, 09:49 PM   #8
syntacticalerror
LQ Newbie
 
Registered: Jun 2008
Posts: 24

Rep: Reputation: 15
Well said, i'm connecting my linux to a windoze domain, and one of the requirements in ldap to access the AD, and the other is Kerberos to authenticate.
 
Old 10-20-2008, 09:51 PM   #9
syntacticalerror
LQ Newbie
 
Registered: Jun 2008
Posts: 24

Rep: Reputation: 15
Well said, i am connecting my linux box to my windoze domain, and one of the requirements is ldap to access AD and the other is Kerberos for authentication, and not to mention Tylenol also.
 
  


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
LDAP: Can't contact master ldap server rulirahm Linux - Networking 2 07-14-2014 02:02 AM
SMBLDAP-TOOLS SAMBA LDAP . Problem when filling ldap. jcdole Linux - Server 0 06-07-2008 11:41 AM
authenticating through one ldap server that uses other ldap servers & active director dreamm Linux - Server 1 02-21-2007 08:22 AM
LXer: LDAP Series Part IV - Installing OpenLDAP on Debian Plus Some LDAP Commentary LXer Syndicated Linux News 0 10-31-2006 06:54 PM
ldap-abook unable to get street name in ldap-entry Jingle Linux - Software 1 06-06-2004 07:13 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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