• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
  • Tim Holloway
  • Piet Souris
  • Frits Walraven


Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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've got no option but to sell you all for scientific experiments. Or a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!