server/sources/ldapfeed.py
changeset 9662 f13ae1fea212
parent 9512 88dc96fc9fc1
child 10011 340d4ef55b6f
--- 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()