directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny" <elecha...@gmail.com>
Subject Re: [ApacheDS 1.5.0 + DirStudio] Search result differs between Uppercase and Lowercase Searchstring
Date Mon, 23 Jul 2007 18:14:20 GMT
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 <apacheds.users@webunity.de> 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=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 <apacheds.users@webunity.de> 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
> >>
> >>
> >>
> >
> >
>


-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com

Mime
View raw message