more complete ini conf file

adding necessary parameters for backends
This commit is contained in:
kakwa 2015-05-18 15:12:09 +02:00
parent 2a4bc5d261
commit ff6e996912
1 changed files with 11 additions and 2 deletions

View File

@ -67,7 +67,18 @@ roles.file = '/etc/ldapcherry/roles.yml'
[backends]
ldap.module = 'ldapcherry.backends.ldap'
ldap.groupdn = 'ou=group,dc=example,dc=com'
ldap.people = 'ou=group,dc=example,dc=com'
ldap.authdn = 'cn=ldapcherry,dc=example,dc=com'
ldap.password = 'password'
ldap.uri = 'ldaps://ldap.ldapcherry.org'
ldap.ca = '/etc/dnscherry/TEST-cacert.pem'
ldap.starttls = 'on'
ldap.checkcert = 'off'
ad.module = 'ldapcherry.backends.ad'
ad.auth = 'Administrator'
ad.password = 'password'
# authentification parameters
[auth]
@ -87,8 +98,6 @@ auth.mode = 'or'
# templates directory
template_dir = '/usr/share/ldapcherry/templates/'
[/static]
tools.staticdir.on = True
tools.staticdir.dir = '/usr/share/ldapcherry/static/'