dcsimg
To set the password for a DN in LDAP Server
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Srinath_Sura
Posted On:   Monday, May 28, 2001 08:08 PM

How can I set the password for a particular DN in LDAP? I am using Java netscape LDAP API.

Thanks.

Re: To set the password for a DN in LDAP Server

Posted By:   Justin_Pape  
Posted On:   Wednesday, September 19, 2001 12:45 PM

you can modify attributes passing the userPassword as the attribute to update.

Create TopicConnectionFactory on LDAP

Posted By:   Massimo_Pascale  
Posted On:   Friday, June 29, 2001 08:44 AM

First of all excuse me for my English and if I disturb you


but I have a problem to solve :

I would want to create a TopicConnectionFactory on a server
LDAP using JNDI API but I have an Exception as :

LDAP: error code 32 - No such Object



this is th code :

Hashtable env = new Hashtable();
env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.ldapCtxFactory");

env.put(avax.naming.Context.PROVIDER_URL, "ldap://localhost:389");

DirContext ldp = new InitialDirContext(env);

Context jndiContext = new InitialContext();


TopicConnectionFactory topicConnectionFactory = (TopicConnectionFactory)jndiContext.lookup("TopicConnectionFactory");


ldp.bind("TopicConnectionFactory", topicConnectionFactory); //**********HERE IS THE EXCEPTION




I hope that someone can help me.

Ciao ciao.
About | Sitemap | Contact