Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 1743 invoked from network); 5 Oct 2006 03:27:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Oct 2006 03:27:46 -0000 Received: (qmail 24716 invoked by uid 500); 5 Oct 2006 03:27:43 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 24692 invoked by uid 500); 5 Oct 2006 03:27:43 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 24681 invoked by uid 99); 5 Oct 2006 03:27:43 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Oct 2006 20:27:43 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=c1vamsi1c@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=4.0 required=5.0 tests=DNS_FROM_RFC_ABUSE,FROM_HAS_MIXED_NUMS,HTML_MESSAGE DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [64.233.182.188] ([64.233.182.188:11191] helo=nf-out-0910.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 9D/4B-20288-6AB74254 for ; Wed, 04 Oct 2006 20:27:38 -0700 Received: by nf-out-0910.google.com with SMTP id n29so768037nfc for ; Wed, 04 Oct 2006 20:27:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=AYvjgjNWgXffyVOWkhn9Ve/g9UPaoCsDEkmorx9FHMVaO9t/zBPbD8JM6EP0xFp6SNfLwGr+PjSqxEN/qHdovOs8YF3g+z/O12Ti29+G0XV4ubii3dIUqsynPa4eyAGiU5FyXr3FhA38BZg1pzrIzMDXWZRyO9HLDkdS23JbEWw= Received: by 10.48.242.19 with SMTP id p19mr3324165nfh; Wed, 04 Oct 2006 20:27:30 -0700 (PDT) Received: by 10.49.11.12 with HTTP; Wed, 4 Oct 2006 20:27:30 -0700 (PDT) Message-ID: <22d56c4d0610042027p7e2134e6ke61ed51ff7c3a69a@mail.gmail.com> Date: Thu, 5 Oct 2006 08:57:30 +0530 From: "Vamsavardhana Reddy" To: user@geronimo.apache.org Subject: Re: Geronimo and LDAP using the example In-Reply-To: <20061004193359.56602.qmail@web56906.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_109703_13836599.1160018850316" References: <20061004193359.56602.qmail@web56906.mail.re3.yahoo.com> X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_109703_13836599.1160018850316 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Sreepriya, Did you "edit" the realm thru console after creating it? There is a known issue in G1.0 that the realms won't work once edited thru console. See http://issues.apache.org/jira/browse/GERONIMO-1782 It will be helpful if you post the stackTrace to dev-list. Don't worry that it is a lot of text in the mail. It is alright. May I recommend you to use G-1.1.1, which is the latest release? --vamsi On 10/5/06, sreepriya ramakrishnan wrote: > > Hi all, > > I am using Geronimo V1.0 server and I configured the > available LDAPLoginModule of geronimo as follows: > > {connectionProtocol=, roleSearchMatching=(member={0}), > userSearchSubtree=false, roleName=cn, > roleBase=cn=Users,DC=poc.test.com, userRoleName=, > authentication=simple, > connectionUsername=hsimpson,cn=Users,DC=poc.test.com > userBase=cn=Users,DC=poc.test.com > roleSearchSubtree=false, > connectionURL=ldap://localhost:1389, > initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory > connectionPassword=Infy123+, > userSearchMatching=uid={0}} > > But it throws a nullpointer exception in line 415 of > the Geronimo LDAPLoginMOdule class. > > Any insite that you can give will be greatly > appreciated. > > Thanks, > Priya > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ------=_Part_109703_13836599.1160018850316 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Sreepriya,

Did you "edit" the realm thru console after creating it?  There is a known issue in G1.0 that the realms won't work once edited thru console.  See http://issues.apache.org/jira/browse/GERONIMO-1782

It will be helpful if you post the stackTrace to dev-list.  Don't worry that it is a lot of text in the mail.  It is alright.

May I recommend you to use G-1.1.1, which is the latest release?

--vamsi

On 10/5/06, sreepriya ramakrishnan <sreepriya_ramakrishnan@yahoo.com> wrote:
Hi all,

I am using Geronimo V1.0 server and I configured the
available LDAPLoginModule of geronimo as follows:

{connectionProtocol=, roleSearchMatching=(member={0}),
userSearchSubtree=false, roleName=cn,
roleBase=cn=Users,DC=poc.test.com, userRoleName=,
authentication=simple,
connectionUsername=hsimpson,cn=Users,DC= poc.test.com
userBase=cn=Users,DC=poc.test.com
roleSearchSubtree=false,
connectionURL=ldap://localhost:1389,
initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory
connectionPassword=Infy123+,
userSearchMatching=uid={0}}

But it throws a nullpointer exception in line 415 of
the Geronimo LDAPLoginMOdule class.

Any insite that you can give will be greatly
appreciated.

Thanks,
Priya


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

------=_Part_109703_13836599.1160018850316--