aspineux at gmail.com
Thu May 24 16:50:14 CEST 2007
On 5/24/07, Michael Ströder <michael at stroeder.com> wrote:
> Alain Spineux wrote:
> > On 5/24/07, *Michael Ströder* <michael at stroeder.com
> > <mailto:michael at stroeder.com>> wrote:
> > Thanks for showing me my ignorance. I was not knowing about * and + !
> > Easy, only named attributes will be converted!
> > In this case maybe is it possible to use [ '*', u'givenName', u'sn' ]
> > to convert only 'givenName' and 'sn'
> But then you will not gain much! Still the application has to know which
> attributes have to be converted. => It's not worth hiding the conversion
> within python-ldap.
I don't spend too much then I dont't expect too much too :-)
Are you using often '+' and '*' (in real application, not ldap browser, nor
editor tools) ?
And that way, user keep control with explicit conversion.
> > class UnicodeLDAPObject(LDAPObject):
> Sorry, I consider ldap.ldapobject to be low-level.
The only clean solution would be something involving LDAP schema processing!
Yes but what about unknown field type ?
Your remarks help me, don't hesitate to share your feeling.
aspineux gmail com
May the sources be with you
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the python-ldap