ansible/roles/bk_dss/templates/config.cfg.j2

37 lines
1.1 KiB
Plaintext
Raw Normal View History

DEBUG = True
2023-01-06 23:59:04 +01:00
REMEMBER_COOKIE_SECURE = True
SECRET_KEY = "{{ dss_secret }}"
2023-01-06 23:59:04 +01:00
SESSION_COOKIE_SECURE = True
SESSION_TIMEOUT = 3600
LDAP_CA = "/etc/ssl/certs/ca-certificates.crt"
LDAP_URI = "{{ ldap_uri }}"
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" ]
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)"
REDIS_HOST = "127.0.0.1"
REDIS_PASSWD = None