diff -r c170ec8a4525 -r f13ae1fea212 server/sources/ldapfeed.py --- a/server/sources/ldapfeed.py Fri Mar 28 14:59:33 2014 +0100 +++ b/server/sources/ldapfeed.py Fri Apr 04 14:48:51 2014 +0200 @@ -252,7 +252,7 @@ except Exception: self.error('while trying to authenticate %s', user, exc_info=True) raise AuthenticationError() - eid = self.repo.extid2eid(self, user['dn'], 'CWUser', session=cnx, insert=False) + eid = self.repo.extid2eid(self, user['dn'], 'CWUser', cnx, insert=False) if eid < 0: # user has been moved away from this source raise AuthenticationError()