author | sylvain.thenault@logilab.fr |
Tue, 24 Mar 2009 11:58:35 +0100 | |
changeset 1137 | 9ce0ac82f94f |
parent 364 | 226cbb207859 |
child 4531 | 530a5997d51b |
permissions | -rw-r--r-- |
364
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
1 |
[system] |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
2 |
adapter=native |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
3 |
# database driver (postgres or sqlite) |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
4 |
db-driver=sqlite |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
5 |
# database host |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
6 |
db-host= |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
7 |
# database name |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
8 |
db-name=tmpdb |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
9 |
# database user |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
10 |
db-user=admin |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
11 |
# database password |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
12 |
db-password=gingkow |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
13 |
# database encoding |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
14 |
db-encoding=utf8 |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
15 |
|
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
16 |
[admin] |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
17 |
login = admin |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
18 |
password = gingkow |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
19 |
|
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
20 |
[ldapuser] |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
21 |
adapter=ldapuser |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
22 |
# ldap host |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
23 |
host=ldap |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
24 |
# base DN to lookup for usres |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
25 |
user-base-dn=ou=People,dc=logilab,dc=fr |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
26 |
# user search scope |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
27 |
user-scope=ONELEVEL |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
28 |
# classes of user |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
29 |
user-classes=top,posixAccount |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
30 |
# attribute used as login on authentication |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
31 |
user-login-attr=uid |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
32 |
# name of a group in which ldap users will be by default |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
33 |
user-default-group=users |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
34 |
# map from ldap user attributes to cubicweb attributes |
226cbb207859
missing test resources
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
35 |
user-attrs-map=gecos:email,uid:login |