forked from infra/ansible
37 lines
1.1 KiB
Django/Jinja
37 lines
1.1 KiB
Django/Jinja
DEBUG = True
|
|
REMEMBER_COOKIE_SECURE = True
|
|
SECRET_KEY = "{{ dss_secret }}"
|
|
SESSION_COOKIE_SECURE = True
|
|
SESSION_TIMEOUT = 3600
|
|
|
|
LDAP_CA = "/etc/ssl/certs/ca-certificates.crt"
|
|
LDAP_URI = "{{ ldap_uri }}"
|
|
LDAP_BASE = "{{ ldap_base }}"
|
|
|
|
ADMINS = [ "cn=moepman,ou=people,dc=binary-kitchen,dc=de", "cn=marove,ou=people,dc=binary-kitchen,dc=de", "cn=zaesa,ou=people,dc=binary-kitchen,dc=de", "cn=Manager,dc=binary-kitchen,dc=de" ]
|
|
|
|
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}'
|
|
}
|
|
|
|
GROUP_FILTER = "(objectClass=posixGroup)"
|
|
|
|
REDIS_HOST = "127.0.0.1"
|
|
REDIS_PASSWD = None
|