File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes Open Ldap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Open Ldap" Watch "Open Ldap" New topic
Author

Open Ldap

Shashank Hiwarkar
Ranch Hand

Joined: Feb 17, 2002
Posts: 32
Did anyonw know about OpenLdap.
I am not getting how the values / attributes are added in OpenLdap.
My Server is working and all commands are also working, but for "ldapadd" it is giving problems
ldapadd: update failed: cn=Jennifer J Jensen,dc=example,dc=com
ldap_add: No such object (32)
Can anyone help me in this context:


Shashank Hiwarkar<br />SCJP, SCWCD
norman richards
Author
Ranch Hand

Joined: Jul 21, 2003
Posts: 367
What is the naming context for your LDAP server? Is it really dc=example,dc=com? If so, did you load that context before loading the person entry? Did that add succeed?
Laxmi Narayan
Greenhorn

Joined: Sep 22, 2003
Posts: 7
Check your ldapManager ip is properly given and your are getting ldapManager object from naming context.
//ldap server
InitialContext ic = new InitialContext();
String ip = (String)ic.lookup(JNDINames.LDAPSERVER_IP);
ldapManager = new LDAPManager(ip);
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Open Ldap
 
Similar Threads
Difficulties with Open LDAP
Ldap error(ldap_add: Operations error) while installation
WLS6.1 - Configuring realm for openLdap
ldap_bind: Invalid credentials
JNDI Tutorial/LDAP examples/OpenLDAP