2018-10-15 18:25:30 +02:00
|
|
|
DEBUG = True
|
2023-01-06 23:59:04 +01:00
|
|
|
REMEMBER_COOKIE_SECURE = True
|
2019-02-23 23:34:23 +01:00
|
|
|
SECRET_KEY = "{{ dss_secret }}"
|
2023-01-06 23:59:04 +01:00
|
|
|
SESSION_COOKIE_SECURE = True
|
2018-10-15 18:25:30 +02:00
|
|
|
SESSION_TIMEOUT = 3600
|
|
|
|
|
2019-03-25 19:58:06 +01:00
|
|
|
LDAP_CA = "/etc/ssl/certs/ca-certificates.crt"
|
2020-01-31 19:55:15 +01:00
|
|
|
LDAP_URI = "{{ ldap_uri }}"
|
2018-10-15 18:25:30 +02:00
|
|
|
LDAP_BASE = "{{ ldap_base }}"
|
|
|
|
|
2023-04-24 23:18:22 +02:00
|
|
|
ADMINS = [ "cn=moepman,ou=people,dc=binary-kitchen,dc=de", "cn=anke,ou=people,dc=binary-kitchen,dc=de", "cn=toffy,ou=people,dc=binary-kitchen,dc=de", "cn=zaesa,ou=people,dc=binary-kitchen,dc=de", "cn=Manager,dc=binary-kitchen,dc=de" ]
|
2018-10-15 18:25:30 +02:00
|
|
|
|
|
|
|
USER_DN = "cn={user},ou=people,dc=binary-kitchen,dc=de"
|
|
|
|
|
|
|
|
USER_ATTRS = {
|
|
|
|
'objectClass' : ['top', 'inetOrgPerson', 'organizationalPerson', 'person', 'posixAccount', 'kitchenUser', 'radiusprofile', 'sambaSamAccount'],
|
|
|
|
'cn' : '{user}',
|
|
|
|
'gidNumber' : '20000',
|
|
|
|
'givenName' : '{gn}',
|
|
|
|
'homeDirectory' : '/home/{user}',
|
|
|
|
'loginShell' : '/bin/bash',
|
|
|
|
'mail' : '{user}@binary-kitchen.de',
|
|
|
|
'radiusTunnelMediumType' : '802',
|
|
|
|
'radiusTunnelPrivateGroupId' : '2303',
|
|
|
|
'radiusTunnelType' : 'VLAN',
|
|
|
|
'sambaSID' : 'S-1-0-0-{uid}',
|
|
|
|
'sn' : '{sn}',
|
|
|
|
'uid' : '{user}',
|
|
|
|
'uidNumber' : '{uid}',
|
|
|
|
'userPassword' : '{pass}'
|
|
|
|
}
|
|
|
|
|
2023-01-06 23:59:04 +01:00
|
|
|
GROUP_FILTER = "(objectClass=posixGroup)"
|
2018-10-15 18:25:30 +02:00
|
|
|
|
|
|
|
REDIS_HOST = "127.0.0.1"
|
|
|
|
REDIS_PASSWD = None
|