# HG changeset patch # User Aurelien Campeas # Date 1336573863 -7200 # Node ID 574cf17a992856ebf23a6ff82a385db99db601f3 # Parent 637b934bc742e99f1ee5d1cb9a578bfd9dfd045a [ldapparser] reapply dropped fix diff -r 637b934bc742 -r 574cf17a9928 sobjects/ldapparser.py --- a/sobjects/ldapparser.py Wed May 09 16:23:21 2012 +0200 +++ b/sobjects/ldapparser.py Wed May 09 16:31:03 2012 +0200 @@ -71,7 +71,7 @@ # generate a dumb password if not fetched from ldap (see # userPassword) pwd = crypt_password(generate_password()) - entity.cw_edited = Binary(pwd) + entity.cw_edited['upassword'] = Binary(pwd) return entity def after_entity_copy(self, entity, sourceparams):