server/sources/ldapuser.py
branchstable
changeset 5827 aad4496a279a
parent 5800 2bc88fb424bc
child 5836 e654c13b57b8
equal deleted inserted replaced
5826:462435bf5457 5827:aad4496a279a
   551                     rec_dict[key] = value = value[0]
   551                     rec_dict[key] = value = value[0]
   552             rec_dict['dn'] = rec_dn
   552             rec_dict['dn'] = rec_dn
   553             self._cache[rec_dn] = rec_dict
   553             self._cache[rec_dn] = rec_dict
   554             result.append(rec_dict)
   554             result.append(rec_dict)
   555         #print '--->', result
   555         #print '--->', result
   556         self.info('ldap built results %s', len(result))
   556         self.debug('ldap built results %s', len(result))
   557         return result
   557         return result
   558 
   558 
   559     def before_entity_insertion(self, session, lid, etype, eid):
   559     def before_entity_insertion(self, session, lid, etype, eid):
   560         """called by the repository when an eid has been attributed for an
   560         """called by the repository when an eid has been attributed for an
   561         entity stored here but the entity has not been inserted in the system
   561         entity stored here but the entity has not been inserted in the system