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. ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Python-LDAP-dev mailing list Python-LDAP-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/python-ldap-dev