This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes General Computing and the fly likes LDAP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » General Computing
Reply Bookmark "LDAP" Watch "LDAP" New topic
Author

LDAP

Harry Singh
Ranch Hand

Joined: May 02, 2001
Posts: 124
Hi Gurus,
I have just started started learning LDAP.but i m not sure about certain things like whihc server i need for LDAP.do i need additional server or will API's like JLDAP do the same thing.How much is JNDI diff from LDAP? what additional software should i need for LDAP server or client.
Thanks in advance.
Regards,
Harry
Michael Ernest
High Plains Drifter
Sheriff

Joined: Oct 25, 2000
Posts: 7292

LDAP is a protocol, not a product. Microsoft calls their LDAP product Active Directory, but I don't know much about it. I am most familiar with iPlanet Directory Server (to be called Sun ONE Directory Server in the next release). Directory Servers are complicated creatures, and not all that easy to understand.
JNDI is not a kind of LDAP. JNDI allows you to write "lookup semantics" that can be applied to a variety of different service types on the backend -- even a file system can be addressed as a lookup system through JNDI. So after you've written some JNDI access code, it's conceivable that you could change the directory server you're using -- or even move to a completely different kind of lookup system -- and your JNDI code would largely remain intact.
I took a quick peek at JLDAP; this seems like a more direct approach for learning purposes and might be a better starting point. You'll possibly appreciate JNDI more once you've done things this way for a while.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

As above, but I'll add that the IBM implementation of LDAP is called SecureWay (and I'm not a fan), and there is a free version called OpenLDAP, which comes with some Linux distributions (well, I know it came on the RedHat CD's I have). I've installed OpenLDAP but haven't had a chance to play yet.
There is also the Netscape version called Netscape Directory Server and this is a nice one. I only had a chance to use it in a fairly superficial manner, but it behaved nicely with large amounts of data (unlike SecureWay!)
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: LDAP
 
Similar Threads
Tomcat and LDAP.
Weblogic 8.1 - LDAP Embedded Server
Get handle of UserRegistry or JAAS entries in WAS
LDAP for Authentication
LDAP Authentication with Active Directory