Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 53663 invoked from network); 23 Jul 2007 18:07:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Jul 2007 18:07:41 -0000 Received: (qmail 55100 invoked by uid 500); 23 Jul 2007 18:07:43 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 55079 invoked by uid 500); 23 Jul 2007 18:07:43 -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 55068 invoked by uid 99); 23 Jul 2007 18:07:43 -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:07:43 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [194.25.216.40] (HELO scrat.ecrmforce.biz) (194.25.216.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2007 11:07:40 -0700 Received: from [172.16.156.161] (unknown [172.16.156.161]) by scrat.ecrmforce.biz (Postfix) with ESMTP id 0E44A77C45 for ; Mon, 23 Jul 2007 20:07:16 +0200 (CEST) Message-ID: <46A4EE53.7050701@webunity.de> Date: Mon, 23 Jul 2007 20:07:15 +0200 From: Markus Pohle User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: users@directory.apache.org Subject: Re: [ApacheDS 1.5.0 + DirStudio] Search result differs between Uppercase and Lowercase Searchstring References: <46A4D732.2020107@webunity.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi List-users, hi Emmanuel, I am so sorry, there is a mistake in my description of the problem: Search result zero is: (uniqueMember=uid=p.groesche,cn=users,cn=cas,dc=APPLICATIONS,dc=DOUGLASHOLDING) Search result one is: (uniqueMember=uid=p.groesche,cn=users,cn=cas,dc=APPLICATIONS,dc=douglasholding) The difference is once dc=DOUGLASHOLDING and dc=douglasholding I appologize for that mispelling! And yes, Emmanuel, I have tried to search for (uniqueMember=*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=*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=uid=p.groesche,cn=users,cn=cas,dc=APPLICATIONS,dc=DOUGLASHOLDING) >> >> >> If I modify the search string so that it looks like this >> (uniqueMember=uid=p.groesche,cn=users,cn=cas,dc=APPLICATIONS,dc=DOUGLASHOLDING) >> >> 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=p.groesche,cn=users,dc=VERWALTUNG,dc=DOUGLASHOLDING >> objectClass: organizationalPerson >> objectClass: person >> objectClass: inetOrgPerson >> objectClass: top >> cn: Groesche, Peter >> givenname: Peter >> sn: Groesche >> uid: p.groesche >> userpassword:: c3RhcnQ= >> >> dn: uid=p.groesche,cn=users,cn=cas,dc=APPLICATIONS,dc=DOUGLASHOLDING >> objectClass: uidObject >> objectClass: alias >> objectClass: top >> aliasedobjectname: >> uid=p.groesche,cn=users,dc=VERWALTUNG,dc=DOUGLASHOLDING >> uid: p.groesche >> >> dn: cn=Admin,cn=rollen,cn=cas,dc=APPLICATIONS,dc=DOUGLASHOLDING >> objectClass: groupOfUniqueNames >> objectClass: top >> cn: Admin >> uniquemember: >> uid=p.groesche,cn=users,cn=cas,dc=APPLICATIONS,dc=douglasholding >> >> >> > >