server/ldaputils.py
changeset 8384 98782f17dd84
parent 8329 ac2b17bd7311
child 8387 b59af20a868d
equal deleted inserted replaced
8383:3f34d69e0c22 8384:98782f17dd84
   214             self.info('while trying to authenticate %s: %s', user, ex)
   214             self.info('while trying to authenticate %s: %s', user, ex)
   215             raise AuthenticationError()
   215             raise AuthenticationError()
   216         except Exception:
   216         except Exception:
   217             self.error('while trying to authenticate %s', user, exc_info=True)
   217             self.error('while trying to authenticate %s', user, exc_info=True)
   218             raise AuthenticationError()
   218             raise AuthenticationError()
   219         eid = self.repo.extid2eid(self, user['dn'], 'CWUser', session)
   219         eid = self.repo.extid2eid(self, user['dn'], 'CWUser', session, {})
   220         if eid < 0:
   220         if eid < 0:
   221             # user has been moved away from this source
   221             # user has been moved away from this source
   222             raise AuthenticationError()
   222             raise AuthenticationError()
   223         return eid
   223         return eid
   224 
   224