File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes How to add entries to LDAP using JNDI? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "How to add entries to LDAP using JNDI?" Watch "How to add entries to LDAP using JNDI?" New topic
Author

How to add entries to LDAP using JNDI?

Udayan Naik
Ranch Hand

Joined: Oct 18, 2000
Posts: 135
The requirement is :
The user searchs if a particular username is present.If not present, that username will get added to the LDAP directory.
I have already managed to SEARCH if a particular entry is present or not,but am stuck on the addition part. I cant understand how to add an entry under a subcontext.If I am adding an entry,do I still have to Name it?
Can anybody help me?
Thanks.
[ May 20, 2002: Message edited by: Udayan Naik ]

Udayan Naik<BR>Sun Certified Programmer for the Java 2 Platform
Udayan Naik
Ranch Hand

Joined: Oct 18, 2000
Posts: 135
Can anybody help me?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to add entries to LDAP using JNDI?