[Freeipa-devel] [PATCH] 93 Add custom mapping object for LDAP entry data

Simo Sorce simo at redhat.com
Mon Jan 21 18:48:53 UTC 2013


On Mon, 2013-01-21 at 17:46 +0100, Petr Viktorin wrote:
> As for attribute values, you're right that LDAP specifies how they 
> should be compared, but that's only in the context of a single
> attribute 
> type. What happens when you try comparing a case-sensitive string to
> a 
> case-insensitive one in Python?
> 
There is also the little issue that we may treat a string in a more
restrictive way than the LDAP schema allow or we may not have schema
loaded yet for example in the installer case, so if you want to make the
objects 'smart' make sure you do not cause them to be 'too' smart to be
usable :)

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list