server/sources/ldapuser.py
branchstable
changeset 7884 35d2e2f4e10a
parent 7815 2a164a9cf81c
child 8188 1867e252e487
child 8238 087bb529035c
equal deleted inserted replaced
7883:cd98785b4a84 7884:35d2e2f4e10a
   540             eid = self.repo.extid2eid(self, base, 'CWUser', session, insert=False)
   540             eid = self.repo.extid2eid(self, base, 'CWUser', session, insert=False)
   541             if eid:
   541             if eid:
   542                 self.warning('deleting ldap user with eid %s and dn %s',
   542                 self.warning('deleting ldap user with eid %s and dn %s',
   543                              eid, base)
   543                              eid, base)
   544                 entity = session.entity_from_eid(eid, 'CWUser')
   544                 entity = session.entity_from_eid(eid, 'CWUser')
   545                 self.repo.delete_info(session, entity, self.uri, base)
   545                 self.repo.delete_info(session, entity, self.uri)
   546                 self.reset_caches()
   546                 self.reset_caches()
   547             return []
   547             return []
   548         # except ldap.REFERRAL, e:
   548         # except ldap.REFERRAL, e:
   549         #     cnx = self.handle_referral(e)
   549         #     cnx = self.handle_referral(e)
   550         #     try:
   550         #     try: