cubicweb #2341162 error while starting an app [validation pending]

2012-05-03 11:59:08 - (cubicweb.sources.ldapuser) ERROR: unable to connect to ldap
Traceback (most recent call last):
 File "/home/auc/src/fcw/cubicweb/server/ldaputils.py", line 181, in get_connection
   self._connect()
 File "/home/auc/src/fcw/cubicweb/server/ldaputils.py", line 238, in _connect
   protocol, hostport = self.connection_info()
 File "/home/auc/src/fcw/cubicweb/server/ldaputils.py", line 171, in connection_info
   assert len(self.urls) == 1, self.urls
AssertionError: []

was created with:

session.create_entity('CWSource', name=u'ldap', type=u'ldapfeed', config=config)

and config:

user-base-dn=ou=People,dc=cubicweb,dc=test
user-scope=ONELEVEL
user-classes=top,posixAccount
user-login-attr=uid
user-default-group=users
user-attrs-map=gecos:email,uid:login
prioritynormal
typebug
done in3.15.1
load0.100
load left0.000
closed by<not specified>