equal
deleted
inserted
replaced
1 [system] |
|
2 adapter=native |
|
3 # database driver (postgres or sqlite) |
|
4 db-driver=sqlite |
|
5 # database host |
|
6 db-host= |
|
7 # database name |
|
8 db-name=tmpdb |
|
9 # database user |
|
10 db-user=admin |
|
11 # database password |
|
12 db-password=gingkow |
|
13 # database encoding |
|
14 db-encoding=utf8 |
|
15 |
|
16 [admin] |
|
17 login = admin |
|
18 password = gingkow |
|
19 |
|
20 [ldapuser] |
|
21 adapter=ldapuser |
|
22 # ldap host |
|
23 host=ldap1 |
|
24 # base DN to lookup for usres |
|
25 user-base-dn=ou=People,dc=logilab,dc=net |
|
26 # user search scope |
|
27 user-scope=ONELEVEL |
|
28 # classes of user |
|
29 user-classes=top,OpenLDAPperson |
|
30 # attribute used as login on authentication |
|
31 user-login-attr=uid |
|
32 # name of a group in which ldap users will be by default |
|
33 user-default-group=users |
|
34 # map from ldap user attributes to cubicweb attributes |
|
35 user-attrs-map=mail:email,uid:login |
|