Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 71170 invoked from network); 31 Mar 2007 04:14:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Mar 2007 04:14:18 -0000 Received: (qmail 45742 invoked by uid 500); 31 Mar 2007 04:14:25 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 45710 invoked by uid 500); 31 Mar 2007 04:14:25 -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 45699 invoked by uid 99); 31 Mar 2007 04:14:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2007 21:14:25 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of ole.ersoy@gmail.com designates 64.233.162.234 as permitted sender) Received: from [64.233.162.234] (HELO nz-out-0506.google.com) (64.233.162.234) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2007 21:14:17 -0700 Received: by nz-out-0506.google.com with SMTP id i28so549042nzi for ; Fri, 30 Mar 2007 21:13:56 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=oCZnyHD4AYvD5c6oPH3O7tp0yh0A0O3c26xBVbxH+2QVctnH4xtV/I3V4YNYDkIo+QwA8A2Klz7W7fjyfCqXLXpil8qweCKXy86/DXS9iti40NwQ5HtzOcMGLWlguhHlTkODrUHauLcK8UhlslgN5KFwzhj5aLZjsOtY//X9b2k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=DlXN/G+tyAX34ps+fpRvfeoTGmfPf301rTiBdHEIEQCyS3Ff9+mvKUSs/mip0Y28Y5zzEdm+KaavHyjnHmjqBVAj0BQ3frHyVmIXbhr+RFc+ZbU6pSheArm2Itk5RQSCuVBuYe5ZEYyc1NjjGy2x7mB12+8fH8bBTqPuD2WKqZ0= Received: by 10.65.93.18 with SMTP id v18mr5327751qbl.1175314436618; Fri, 30 Mar 2007 21:13:56 -0700 (PDT) Received: from ?192.168.1.24? ( [24.13.179.233]) by mx.google.com with ESMTP id 15sm11684695nzn.2007.03.30.21.13.54; Fri, 30 Mar 2007 21:13:54 -0700 (PDT) Message-ID: <460DDF51.3010707@gmail.com> Date: Fri, 30 Mar 2007 23:10:57 -0500 From: Ole Ersoy User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: Apache Directory Developers List Subject: [Connect] Troubleshooting Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hmmm... I tried this code that I found on in the java connection section of our documentation: Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory"); env.put(Context.PROVIDER_URL, "ldap://localhost:389/ou=system"); env.put(Context.SECURITY_PRINCIPAL, "uid=admin,ou=system"); env.put(Context.SECURITY_CREDENTIALS, "secret"); env.put(Context.SECURITY_AUTHENTICATION, "simple"); InitialDirContext ctx = new InitialDirContext(env); I still get connection refused. Any ideas on troubleshooting this? I looked in the logs and they are pretty clean... Thanks, - Ole