directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ersin Er <ersin...@gmail.com>
Subject Re: create new user
Date Thu, 16 Mar 2006 22:00:48 GMT
I've just followed the instructions here:

http://directory.apache.org/subprojects/apacheds/docs/users/authentication.html

without any problems. (created and binded)

-- 
Ersin

Andre Fonseca wrote:
> Hi there,
>
> I created a new LDAP user - ldif is attached - but I could not connect
> in the LDAP server using this user/password (credentials??). 
>
> What is the objectClass'es that I need to use? 
>
> The atribute I used to set the password is "userPassword". - plain
> mode, not crypted. (but its crypted in the ldif... :|)
>
> I need to set parent properties to connect in the server?? 
>
> The Java Exception is below.
>
> Any help is welcome...
>
> OBS: I used JXplorer to create the user...
> javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid
> Credentials]
> 	at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
> 	at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
> 	at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
> 	at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
> 	at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
> 	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)
> 	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)
> 	at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)
> 	at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
> 	at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
> 	at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
> 	at javax.naming.InitialContext.init(Unknown Source)
> 	at javax.naming.InitialContext.<init>(Unknown Source)
> 	at javax.naming.directory.InitialDirContext.<init>(Unknown Source)
> 	at com.ca.commons.jndi.JNDIOps.openContext(JNDIOps.java:412)
> 	at com.ca.commons.jndi.JNDIOps.<init>(JNDIOps.java:101)
> 	at com.ca.commons.jndi.BasicOps.<init>(BasicOps.java:62)
> 	at com.ca.commons.jndi.AdvancedOps.<init>(AdvancedOps.java:58)
> 	at com.ca.commons.naming.DXOps.<init>(DXOps.java:37)
> 	at
> com.ca.directory.jxplorer.broker.CBGraphicsOps.<init>(CBGraphicsOps.java:42)
> 	at
> com.ca.directory.jxplorer.broker.JNDIBroker.openConnection(JNDIBroker.java:393)
> 	at
> com.ca.directory.jxplorer.broker.JNDIBroker.processRequest(JNDIBroker.java:358)
> 	at
> com.ca.directory.jxplorer.broker.Broker.processQueue(Broker.java:158)
> 	at
> com.ca.directory.jxplorer.broker.JNDIBroker.processQueue(JNDIBroker.java:877)
> 	at com.ca.directory.jxplorer.broker.Broker.run(Broker.java:124)
> 	at java.lang.Thread.run(Unknown Source)
>
>
> 		
> _______________________________________________________
> Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora!
> http://br.acesso.yahoo.com


Mime
View raw message