server/test/data/sourcesldap
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Fri, 02 Apr 2010 13:48:16 +0200
branchstable
changeset 5138 18388a897d2a
parent 4531 530a5997d51b
permissions -rw-r--r--
list allowed values for ldap protocol setting in help, so that the generated file includes this in a comment

[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