From: Michael S. <mi...@st...> - 2009-01-10 17:15:19
|
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. |