Case Sensitive Lookup and Searching

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike C wrote:
> 
> Object o = ctx.lookup("memberUid=steves,ou=People");

Attribute 'memberUid' was never meant to be used within a user entry.

So general advice is to define a better schema and sanitize your data. 
You probably already know that. ;-)

> I've even tried changing the
> definition of memberUid in config/schema/10rfc2307.ldif to use
> 
> attributeTypes: (
>   1.3.6.1.1.1.1.12
>   NAME 'memberUid'
>   DESC 'Standard LDAP attribute type'
>   EQUALITY caseExactIA5Match
>   SUBSTRINGS caseExactIA5SubstringsMatch
>   SYNTAX 'IA5String'
> )
> 
> Ideas?

Well, looking at the schema in FDS there's no such matching rule named 
'caseExactIA5Match' (IMO the server shouldn't even start with such a 
mis-defined schema element declaration). The only caseExact* matching 
rules listed in the subschema are 'caseExactOrderingMatch-en' and 
'caseExactSubstringMatch-en' which both does not look suitable to me.

Strange enough there's not even an EQUALITY matching rule defined for 
attribute type 'memberUid' at all...

I really wonder whether default matching rules are applied for certain 
LDAP syntaxes and how to find out which these are.

Ciao, Michael.




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux