server/sources/ldapuser.py
changeset 6142 8bc6eac1fac1
parent 5972 220856aff85e
child 6427 c8a5ac2d1eaa
--- a/server/sources/ldapuser.py	Wed Aug 25 10:29:07 2010 +0200
+++ b/server/sources/ldapuser.py	Wed Aug 25 10:29:18 2010 +0200
@@ -574,7 +574,7 @@
         entity = super(LDAPUserSource, self).before_entity_insertion(session, lid, etype, eid)
         res = self._search(session, lid, BASE)[0]
         for attr in entity.e_schema.indexable_attributes():
-            entity[attr] = res[self.user_rev_attrs[attr]]
+            entity.cw_edited[attr] = res[self.user_rev_attrs[attr]]
         return entity
 
     def after_entity_insertion(self, session, dn, entity):