[SAMBA4][PATCH] Change capitalization of local and remote names of built-in objectClass mappings

Andrew Bartlett abartlet at samba.org
Thu Aug 17 22:09:06 GMT 2006

On Thu, 2006-08-17 at 22:42 +0200, Martin Kühl wrote:
> 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.
> >
> > Simo.
> 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?

I'm happy to leave this as a limitation of the language, and hope/assume
that the server always returns the attributes by the correct name.

Anything else seems way to hard at the moment...

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20060818/fb672f5a/attachment.bin

More information about the samba-technical mailing list