[ldapparser] reapply dropped fix
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 09 May 2012 16:31:03 +0200
changeset 8391 574cf17a9928
parent 8390 637b934bc742
child 8392 c25b96ae4f8a
[ldapparser] reapply dropped fix
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):