equal
deleted
inserted
replaced
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 |