Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 23591 invoked from network); 26 Aug 2007 13:04:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Aug 2007 13:04:48 -0000 Received: (qmail 3891 invoked by uid 500); 26 Aug 2007 13:04:44 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 3864 invoked by uid 500); 26 Aug 2007 13:04:44 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 3853 invoked by uid 99); 26 Aug 2007 13:04:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Aug 2007 06:04:43 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [81.169.146.188] (HELO mo-p07-ob.rzone.de) (81.169.146.188) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Aug 2007 13:04:38 +0000 Received: from [127.0.0.1] (p548FD166.dip.t-dialin.net [84.143.209.102]) by post.webmailer.de (mrclete mo7) (RZmta 11.0) with ESMTP id 60124bj7QCEJnv for ; Sun, 26 Aug 2007 15:04:16 +0200 (MEST) Message-ID: <46D17A9D.3090909@apache.org> Date: Sun, 26 Aug 2007 15:05:33 +0200 From: Stefan Zoerner User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: users@directory.apache.org Subject: Re: SimpleBindDemo not working References: <001301c7e6c1$5c08b6a0$7464a8c0@KevinTsun> In-Reply-To: <001301c7e6c1$5c08b6a0$7464a8c0@KevinTsun> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-RZG-AUTH: kR2YrGeU3i5GJZNxbYfAbITnBeX/YWiFZ/RSZNN7D9RkvGeI3+0E61QMdA== X-RZG-CLASS-ID: mo07 X-Virus-Checked: Checked by ClamAV on apache.org Hi Kevin! Kevin Tsun wrote: > When I run the SimpleBindDemo in the first time after DS is restarted, > it works fine. However, all the subsequence requests fail to bind and > throw this error �javax.naming.AuthenticationException: [LDAP: error > code 49 - Bind failed: null]�. I have tested the Java program from http://directory.apache.org/apacheds/1.0/31-authentication-options.html against a current ApacheDS 1.0.3 SNAPSHOT, and it works just fine (several times). As Emmanuel has already pointed out, we need more information about your environment in order to help you: - OS - Java version - and most important: ApacheDS version > The attached is my server.xml. I wonder if I have configured the > sevenSeas partition correct. It is a good idea to provide your configuration, but as Emmanuel has already depicted, mails with attachments have a hard life here on this list. One option is to file a JIRA issue, which would also have the advantage that it would be tracked well by us. http://issues.apache.org/jira/browse/DIRSERVER > Please help to find out why. We would love to. Perhaps you have found a bug (which would be severe, if is behaves like you describe). Please help us find out. Greetings from Hamburg, Stefan ---8<--- Stefan Zoerner (szoerner@apache.org) Committer :: PMC Member Apache Directory Project http://directory.apache.org