[SAMBA4][PATCH] Change capitalization of local and remote names
of built-in objectClass mappings
mkhl at samba.org
Thu Aug 17 20:42:16 GMT 2006
On 8/17/06, simo <idra at samba.org> wrote:
> The attribute names are case preserving (case insensitive), you should,t
> rely on the case. In ejs it may make sense to just lowercase all
> attribute names no reading or use caseless comparison functions to look
> up attributes.
I took a quick stab at the former, see the attached patch; is that
what you had in mind? It would require changes to a lot of ejs
scripts to comply with this change.
Using caseless comparison for every kind of lookup of ejs object
properties sounds like a really bad idea though, and I can't see a way
to do this only for ldb message objects.
Or am I missing something?
> On Thu, 2006-08-17 at 21:56 +0200, Martin Kühl wrote:
> > The attached patch changes the local and remote names of objectClass
> > mappings in the ldb_map module to the canonical "objectClass".
> > Without this change, the capitalization of the objectClass element
> > name depends on whether it was added via the ldb_map module or
> > directly to the remote database, making assertions about objectClasses
> > of search results from ejs a little unreliable.
> > Cheers,
> > Martin
> Simo Sorce
> Samba Team GPL Compliance Officer
> email: idra at samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1097 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20060817/aa18688c/ejs-el_name-lower.bin
More information about the samba-technical