From users-return-697-apmail-directory-users-archive=directory.apache.org@directory.apache.org Mon Jul 23 18:14:45 2007 Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 55892 invoked from network); 23 Jul 2007 18:14:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2007 18:14:44 -0000 Received: (qmail 68018 invoked by uid 500); 23 Jul 2007 18:14:45 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 67997 invoked by uid 500); 23 Jul 2007 18:14:45 -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 67986 invoked by uid 99); 23 Jul 2007 18:14:45 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 11:14:45 -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 elecharny@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 11:14:42 -0700 Received: by ug-out-1314.google.com with SMTP id a2so5070ugf for ; Mon, 23 Jul 2007 11:14:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=X7Gfftw3vmnI3XatDfDEVI4B27UtI/NNjlyX6cKGQiUntWvqwB+eQsSesZEpxWf3FwvUyy+BGJTlUow4R+1Z/RpQtKwYk2mPzHlg2YQ11XOxO5cKaumiLPIpiABdmsjkv+JHhYK+SaT21U8XLCgaUgcUwqE3MPz1SVVxLCS1a0w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NncknN6vxg/FL3juujzQqyc4xAz2B+Ypd7tBftH01Hea8ZqZtB4zQrE141S3KfINX3gqvMd7/vUtkkR04BdowTKx3bDeAN2wYzy3JZKp1WE0AB89BDvuIhWqAJv9WKWb+LmrO0ZKw2zTCY+Ez15CUNLvNxYaeIX+L6ZPdTW2uz8= Received: by 10.78.193.5 with SMTP id q5mr835807huf.1185214460072; Mon, 23 Jul 2007 11:14:20 -0700 (PDT) Received: by 10.78.42.11 with HTTP; Mon, 23 Jul 2007 11:14:20 -0700 (PDT) Message-ID: Date: Mon, 23 Jul 2007 20:14:20 +0200 From: "Emmanuel Lecharny" Reply-To: elecharny@iktek.com To: users@directory.apache.org Subject: Re: [ApacheDS 1.5.0 + DirStudio] Search result differs between Uppercase and Lowercase Searchstring In-Reply-To: <46A4EE53.7050701@webunity.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <46A4D732.2020107@webunity.de> <46A4EE53.7050701@webunity.de> X-Virus-Checked: Checked by ClamAV on apache.org Seems to be a clear bug ! I _think_ there is already a JIRA about it, but not 100% sure. On 7/23/07, Markus Pohle wrote: > Hi List-users, > hi Emmanuel, > > I am so sorry, there is a mistake in my description of the problem: > > Search result zero is: > (uniqueMember=3Duid=3Dp.groesche,cn=3Dusers,cn=3Dcas,dc=3DAPPLICATIONS,dc= =3DDOUGLASHOLDING) > > Search result one is: > (uniqueMember=3Duid=3Dp.groesche,cn=3Dusers,cn=3Dcas,dc=3DAPPLICATIONS,dc= =3Ddouglasholding) > > The difference is once dc=3DDOUGLASHOLDING and dc=3Ddouglasholding > > I appologize for that mispelling! > > And yes, Emmanuel, I have tried to search for > (uniqueMember=3D*p.groesche*) just to see if there are any results. And > this delivers one match, too. > > Best regards > Markus > > > Emmanuel Lecharny schrieb: > > Hi Markus, > > > > have you tried with : > > (uniqueMember=3D*p.groesche*) ? > > > > Just to check that you get any result. > > > > On 7/23/07, Markus Pohle wrote: > >> Hi List-users, > >> > >> following problem I see during my tests with ApacheDS. Would like to > >> know if someone of you do know what the problem is... any hint or tip = is > >> really appreciated. > >> > >> If my webapp tries to get the roles which contain a given user > >> "p.groesche" as a uniqueMember, I do get a resultset of zero when the > >> search string is like this: > >> (uniqueMember=3Duid=3Dp.groesche,cn=3Dusers,cn=3Dcas,dc=3DAPPLICATIONS= ,dc=3DDOUGLASHOLDING) > >> > >> > >> If I modify the search string so that it looks like this > >> (uniqueMember=3Duid=3Dp.groesche,cn=3Dusers,cn=3Dcas,dc=3DAPPLICATIONS= ,dc=3DDOUGLASHOLDING) > >> > >> I do get a result set of one. > >> > >> I am able to reproduce this behaviour thru Directory Studio searches. > >> > >> Can anybody explain this behaviour to me? I would really like to know > >> what the problem is, 'cause I thought ApacheDS is case-insensitive. > >> > >> The following is the system I used for my tests. > >> > >> TIA > >> Markus Pohle > >> > >> > >> System: CentOS 4.3 > >> ADS: ApacheDS 1.5.0 installed by rpm under /usr/local/apache-1.5.0 > >> Java Version: 1.5.0_10 > >> > >> Defined a partition called DouglasHolding with the following base > >> structur: http://www.webunity.de/apacheds-tools/basic-structure.ldif > >> > >> Within this structure I created the following objects: > >> > >> dn: uid=3Dp.groesche,cn=3Dusers,dc=3DVERWALTUNG,dc=3DDOUGLASHOLDING > >> objectClass: organizationalPerson > >> objectClass: person > >> objectClass: inetOrgPerson > >> objectClass: top > >> cn: Groesche, Peter > >> givenname: Peter > >> sn: Groesche > >> uid: p.groesche > >> userpassword:: c3RhcnQ=3D > >> > >> dn: uid=3Dp.groesche,cn=3Dusers,cn=3Dcas,dc=3DAPPLICATIONS,dc=3DDOUGLA= SHOLDING > >> objectClass: uidObject > >> objectClass: alias > >> objectClass: top > >> aliasedobjectname: > >> uid=3Dp.groesche,cn=3Dusers,dc=3DVERWALTUNG,dc=3DDOUGLASHOLDING > >> uid: p.groesche > >> > >> dn: cn=3DAdmin,cn=3Drollen,cn=3Dcas,dc=3DAPPLICATIONS,dc=3DDOUGLASHOLD= ING > >> objectClass: groupOfUniqueNames > >> objectClass: top > >> cn: Admin > >> uniquemember: > >> uid=3Dp.groesche,cn=3Dusers,cn=3Dcas,dc=3DAPPLICATIONS,dc=3Ddouglashol= ding > >> > >> > >> > > > > > --=20 Regards, Cordialement, Emmanuel L=E9charny www.iktek.com