Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 12877 invoked from network); 18 Feb 2005 03:11:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 18 Feb 2005 03:11:39 -0000 Received: (qmail 47055 invoked by uid 500); 18 Feb 2005 03:11:38 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 46995 invoked by uid 500); 18 Feb 2005 03:11:38 -0000 Mailing-List: contact directory-dev-help@incubator.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 directory-dev@incubator.apache.org Received: (qmail 46980 invoked by uid 99); 18 Feb 2005 03:11:38 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=FROM_ENDS_IN_NUMS,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of aok123@bellsouth.net designates 205.152.59.67 as permitted sender) Received: from imf19aec.mail.bellsouth.net (HELO imf19aec.mail.bellsouth.net) (205.152.59.67) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 17 Feb 2005 19:11:36 -0800 Received: from [172.16.1.7] ([65.80.200.112]) by imf19aec.mail.bellsouth.net (InterMail vM.5.01.06.11 201-253-122-130-111-20040605) with ESMTP id <20050218031134.MPID2048.imf19aec.mail.bellsouth.net@[172.16.1.7]> for ; Thu, 17 Feb 2005 22:11:34 -0500 Message-ID: <42155CE5.7090006@bellsouth.net> Date: Thu, 17 Feb 2005 22:11:33 -0500 From: Alex Karasulu User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: [apacheds] Bind to localhost / 127.0.0.1 References: <768dcb2e050217182961d10f54@mail.gmail.com> In-Reply-To: <768dcb2e050217182961d10f54@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Trustin Lee wrote: >It is a bug of Apseda. The trunk uses MINA now, so you'll have to try >the latest version to resolve this issue afaik. > > Yeah Trustin is right. Another person had asked about this as well. If eyebrowse was not in shambles I could direct you to the link. The trunk is your best bet. Hopefully after an incubator exist we can release 0.9 for you to use. Until then you can use artifacts in our maven repo: http://cvs.apache.org/repository/incubator-directory/jars Good luck and let us know if you run into problems, Alex >On Thu, 17 Feb 2005 12:34:41 +0100, >David_Geleyn@inventivedesigners.com > wrote: > > >>Hi, >> >>I'm having some troubles connecting to the LDAP server I started (the >>startup code is attached at the end). >> >>When connecting to david (name of my computer) I can browse the server >>(p.e. with LDAP Browser), but when >>I try to connect to 127.0.0.1 or localhost, I get a 'connection failed'. >> >>I also tried to connect with the MS telnet client, which gave me the same >>results. Therefore I conclude it is a server >>(configuration) problem. >>Anybody an idea how to solve this problem? >>A configuration entry I don't know? >> >>Thanks! >> >>David. >> >>========= SERVER STARTUP CODE >>Properties env = new Properties(); >> >>// Standard JNDI properties >>env.setProperty(Context.PROVIDER_URL, "ou=system"); >>env.setProperty(Context.INITIAL_CONTEXT_FACTORY, >>"org.apache.ldap.server.jndi.ServerContextFactory"); >>env.setProperty(Context.SECURITY_PRINCIPAL, "uid=admin,ou=system"); >>env.setProperty(Context.SECURITY_CREDENTIALS, "secret"); >> >>env.setProperty(EnvKeys.WKDIR, store.getAbsolutePath()); >>env.setProperty(EnvKeys.DISABLE_ANONYMOUS, "true"); >>env.setProperty(EnvKeys.LDAP_PORT, String.valueOf(settings.fPort)); >>env.setProperty(EnvKeys.LDAPS_PORT, String.valueOf(settings.fSecurePort)); >> >>try >>{ >> // Fire it up! >> InitialDirContext ctx = new InitialDirContext(env); >>} >>catch (NamingException e) >>{ >>} >> >>-------------------------------------------------- >> >>Inventive Designers' Email Disclaimer: >> >>http://www.inventivedesigners.com/email-disclaimer >> >> >> >> > >Thanks, >Trustin > >