Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 98282 invoked from network); 16 Mar 2006 21:35:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Mar 2006 21:35:47 -0000 Received: (qmail 9674 invoked by uid 500); 16 Mar 2006 21:35:46 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 9638 invoked by uid 500); 16 Mar 2006 21:35:45 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 9627 invoked by uid 99); 16 Mar 2006 21:35:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 13:35:45 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [206.190.49.172] (HELO web54602.mail.yahoo.com) (206.190.49.172) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 16 Mar 2006 13:35:43 -0800 Received: (qmail 89033 invoked by uid 60001); 16 Mar 2006 21:35:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Hqc9/TYS/JfoNvtjXXcOCbZWyJHHHWu5RQHCut0slAfXsYRxUL70Om4mSQ3/ePk+IXwXpYdkv6ViJO8TChI0vEy2Z/0tTd9bO7CzlLNsesxH51l3RoVI/hn/HDRS0LJIJkLdIIfOfYhynd3723TE2IoDl+BlkufKjYZTA8Mw7Sg= ; Message-ID: <20060316213520.89031.qmail@web54602.mail.yahoo.com> Received: from [200.153.1.101] by web54602.mail.yahoo.com via HTTP; Thu, 16 Mar 2006 18:35:20 ART Date: Thu, 16 Mar 2006 18:35:20 -0300 (ART) From: Andre Fonseca Subject: create new user To: dev@directory.apache.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1590692666-1142544920=:88009" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --0-1590692666-1142544920=:88009 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline 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.(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.(Unknown Source) at javax.naming.directory.InitialDirContext.(Unknown Source) at com.ca.commons.jndi.JNDIOps.openContext(JNDIOps.java:412) at com.ca.commons.jndi.JNDIOps.(JNDIOps.java:101) at com.ca.commons.jndi.BasicOps.(BasicOps.java:62) at com.ca.commons.jndi.AdvancedOps.(AdvancedOps.java:58) at com.ca.commons.naming.DXOps.(DXOps.java:37) at com.ca.directory.jxplorer.broker.CBGraphicsOps.(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 --0-1590692666-1142544920=:88009 Content-Type: application/octet-stream; name="user.ldif" Content-Transfer-Encoding: base64 Content-Description: 1444537966-user.ldif Content-Disposition: attachment; filename="user.ldif" dmVyc2lvbjogMQ0KZG46IGNuPXVzZXIsbz1jb21wYW55LGM9QlIsY249bG9j YWxob3N0DQpvYmplY3RDbGFzczogb3JnYW5pemF0aW9uYWxQZXJzb24NCm9i amVjdENsYXNzOiBwZXJzb24NCm9iamVjdENsYXNzOiB0b3ANCmNuOiB1c2Vy DQpzbjogdXNlcg0KdXNlclBhc3N3b3JkOjogZFhObGNnPT0NCg0K --0-1590692666-1142544920=:88009--