mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 17:34:21 +01:00
configuration formatting
This commit is contained in:
parent
398a29f7e2
commit
6ece24bd84
@ -76,11 +76,12 @@ home:
|
|||||||
backend-attributes:
|
backend-attributes:
|
||||||
ldap: home
|
ldap: home
|
||||||
ad: Home
|
ad: Home
|
||||||
|
|
||||||
password:
|
password:
|
||||||
decription: "Password of the user"
|
decription: "Password of the user"
|
||||||
display_name: "Password"
|
display_name: "Password"
|
||||||
self: true
|
self: true
|
||||||
type: pwd
|
type: password
|
||||||
backend-attributes:
|
backend-attributes:
|
||||||
ldap: userPassword
|
ldap: userPassword
|
||||||
ad: userPassword
|
ad: userPassword
|
||||||
|
@ -54,10 +54,15 @@ tools.sessions.timeout = 10
|
|||||||
# session
|
# session
|
||||||
#tools.sessions.storage_path = "/var/lib/ldapcherry/sessions"
|
#tools.sessions.storage_path = "/var/lib/ldapcherry/sessions"
|
||||||
|
|
||||||
# resources parameters
|
[attributes]
|
||||||
[resources]
|
|
||||||
# templates directory
|
# file discribing form content
|
||||||
template_dir = '/usr/share/ldapcherry/templates/'
|
attributes.file = '/etc/ldapcherry/attributes.yml'
|
||||||
|
|
||||||
|
[roles]
|
||||||
|
|
||||||
|
# file listing roles
|
||||||
|
roles.file = '/etc/ldapcherry/roles.yml'
|
||||||
|
|
||||||
[backends]
|
[backends]
|
||||||
|
|
||||||
@ -77,6 +82,13 @@ auth.mode = 'or'
|
|||||||
# custom auth module to load
|
# custom auth module to load
|
||||||
#auth.module = 'ldapcherry.auth.modNone'
|
#auth.module = 'ldapcherry.auth.modNone'
|
||||||
|
|
||||||
|
# resources parameters
|
||||||
|
[resources]
|
||||||
|
# templates directory
|
||||||
|
template_dir = '/usr/share/ldapcherry/templates/'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[/static]
|
[/static]
|
||||||
tools.staticdir.on = True
|
tools.staticdir.on = True
|
||||||
tools.staticdir.dir = '/usr/share/ldapcherry/static/'
|
tools.staticdir.dir = '/usr/share/ldapcherry/static/'
|
||||||
|
2
setup.py
2
setup.py
@ -77,7 +77,7 @@ resources_files = get_list_files('resources',
|
|||||||
|
|
||||||
resources_files.append((
|
resources_files.append((
|
||||||
os.path.join(sysconfdir, 'ldapcherry'),
|
os.path.join(sysconfdir, 'ldapcherry'),
|
||||||
[ 'conf/ldapcherry.ini']
|
[ 'conf/ldapcherry.ini', 'conf/attributes.yml', 'conf/roles.yml']
|
||||||
))
|
))
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
Loading…
Reference in New Issue
Block a user