1
0
forked from infra/ansible
infra/roles/bk-dss/templates/config.cfg.j2

35 lines
976 B
Django/Jinja

DEBUG = True
SECRET_KEY = "CHANGE!ME"
SESSION_TIMEOUT = 3600
LDAP_CA = "/etc/ldap/ssl/BKCA.crt"
LDAP_URI = "ldaps://{{ ldap_host }}"
LDAP_BASE = "{{ ldap_base }}"
ADMINS = [ "cn=moepman,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_DN = 'cn=members,ou=groups,dc=binary-kitchen,dc=de'
REDIS_HOST = "127.0.0.1"
REDIS_PASSWD = None