Thoughts on python-ldap 3.0

Michael Ströder michael at stroeder.com
Sat Jan 10 18:15:11 CET 2009


Please, stay on the mailing list.

Olivier Sessink wrote:
> Sorry for this very late reaction.
> 
> What would be great is to have a higher-level ldap objects to
> manipulate entries:
> ldapconnection = new blabla()
> ldapobjects = ldapconnection.search('uid=xyz')
> if (ldapobjects[0]['sn'] == 'yourname'):
>    ldapobjects[0]['sn'] = 'my name'
>    ldapobjects[0].commit()

Something like this could be easily implemented on top of the current
python-ldap API but this won't be the basic API for doing such things.
Glad you used dictionary keys in your example though.

Ciao, Michael.





More information about the python-ldap mailing list