1
0
forked from moepman/bk-dss
bk-dss/config.cfg.example

29 lines
668 B
Plaintext
Raw Normal View History

DEBUG = True
SECRET_KEY = "CHANGE!ME"
SESSION_TIMEOUT = 3600
LDAP_CA = "/etc/ldap/ssl/CA.crt"
LDAP_URI = "ldaps://ldap.example.com"
LDAP_BASE = "dc=example,dc=com"
ADMINS = [ "cn=admin,ou=people,dc=example,dc=com" ]
2016-03-22 00:41:31 +01:00
USER_DN = "cn={user},ou=people,dc=example,dc=com"
USER_ATTRS = {
2016-03-20 16:26:14 +01:00
'objectClass' : ['top', 'inetOrgPerson', 'organizationalPerson', 'person', 'posixAccount'],
'cn' : '{user}',
'givenName' : '{gn}',
'homeDirectory' : '/home/{user}',
'loginShell' : '/bin/bash',
'sn' : '{sn}',
'uid' : '{user}',
2016-03-20 17:17:13 +01:00
'uidNumber' : '{uid}',
'gidNumber' : '1000'
2016-03-20 16:26:14 +01:00
}
2017-01-21 18:48:33 +01:00
GROUP_DN = 'cn=user,ou=groups,dc=example,dc=com'
2016-03-22 00:41:31 +01:00
2015-06-17 20:22:52 +02:00
REDIS_HOST = "127.0.0.1"
2017-01-21 18:48:33 +01:00
REDIS_PASSWD = "foobared"