[datafeed] give a dictionary as sourceparams to avoid crash if attempt to import the user is done
--- a/server/ldaputils.py Thu May 03 15:47:29 2012 +0200
+++ b/server/ldaputils.py Thu May 03 15:48:54 2012 +0200
@@ -216,7 +216,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)
+ eid = self.repo.extid2eid(self, user['dn'], 'CWUser', session, {})
if eid < 0:
# user has been moved away from this source
raise AuthenticationError()