server/test/data/sourcesldap
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 24 Sep 2010 18:20:59 +0200
branchstable
changeset 6340 470d8e828fda
parent 4531 530a5997d51b
permissions -rw-r--r--
[test] update test to unittest2 api (still using lgc.testlib though)

[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=ldap1
# 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