--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/server/test/data/extern_mapping.py Thu Jan 08 09:59:12 2009 +0100
@@ -0,0 +1,2 @@
+support_entities = {'Card': True, 'Affaire': True, 'State': True}
+support_relations = {'in_state': True, 'documented_by': True, 'multisource_inlined_rel': True}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/server/test/data/sources Thu Jan 08 09:59:12 2009 +0100
@@ -0,0 +1,14 @@
+[system]
+
+db-driver = sqlite
+db-host =
+adapter = native
+db-name = tmpdb
+db-encoding = UTF-8
+db-user = admin
+db-password = gingkow
+
+[admin]
+login = admin
+password = gingkow
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/server/test/data/sources_extern Thu Jan 08 09:59:12 2009 +0100
@@ -0,0 +1,13 @@
+[system]
+
+db-driver = sqlite
+db-host =
+adapter = native
+db-name = tmpdb-extern
+db-encoding = UTF-8
+db-user = admin
+db-password = gingkow
+
+[admin]
+login = admin
+password = gingkow
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/server/test/data/sources_multi Thu Jan 08 09:59:12 2009 +0100
@@ -0,0 +1,20 @@
+[system]
+
+db-driver = sqlite
+db-host =
+adapter = native
+db-name = tmpdb
+db-encoding = UTF-8
+db-user = admin
+db-password = gingkow
+
+[extern]
+adapter = pyrorql
+pyro-ns-id = extern
+cubicweb-user = admin
+cubicweb-password = gingkow
+mapping-file = extern_mapping.py
+
+[admin]
+login = admin
+password = gingkow
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/server/test/data/sourcesldap Thu Jan 08 09:59:12 2009 +0100
@@ -0,0 +1,35 @@
+[system]
+adapter=native
+# database driver (postgres or sqlite)
+db-driver=sqlite
+# database host
+db-host=
+# database name
+db-name=tmpdb
+# database user
+db-user=admin
+# database password
+db-password=gingkow
+# database encoding
+db-encoding=utf8
+
+[admin]
+login = admin
+password = gingkow
+
+[ldapuser]
+adapter=ldapuser
+# ldap host
+host=ldap
+# base DN to lookup for usres
+user-base-dn=ou=People,dc=logilab,dc=fr
+# user search scope
+user-scope=ONELEVEL
+# classes of user
+user-classes=top,posixAccount
+# attribute used as login on authentication
+user-login-attr=uid
+# name of a group in which ldap users will be by default
+user-default-group=users
+# map from ldap user attributes to cubicweb attributes
+user-attrs-map=gecos:email,uid:login