mirror of
https://github.com/moepman/bk-dss
synced 2024-12-22 12:44:27 +01:00
Minor cleanup.
This commit is contained in:
parent
c0e3a3558a
commit
b1e0035e83
@ -22,7 +22,7 @@ USER_ATTRS = {
|
|||||||
'gidNumber' : '1000'
|
'gidNumber' : '1000'
|
||||||
}
|
}
|
||||||
|
|
||||||
GROUP_DN = 'cn=user,ou=Groups,dc=binary-kitchen,dc=de'
|
GROUP_DN = 'cn=user,ou=groups,dc=example,dc=com'
|
||||||
|
|
||||||
REDIS_HOST = "127.0.0.1"
|
REDIS_HOST = "127.0.0.1"
|
||||||
REDIS_PSWD = "foobared"
|
REDIS_PASSWD = "foobared"
|
||||||
|
2
index.py
2
index.py
@ -15,7 +15,7 @@ app.config.from_pyfile('config.cfg')
|
|||||||
app.jinja_env.trim_blocks = True
|
app.jinja_env.trim_blocks = True
|
||||||
app.jinja_env.lstrip_blocks = True
|
app.jinja_env.lstrip_blocks = True
|
||||||
|
|
||||||
rdb = Redis(host=app.config.get('REDIS_HOST', '127.0.0.1'), password=app.config.get('REDIS_PSWD'))
|
rdb = Redis(host=app.config.get('REDIS_HOST', '127.0.0.1'), password=app.config.get('REDIS_PASSWD'))
|
||||||
|
|
||||||
ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT, ldap.OPT_X_TLS_DEMAND)
|
ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT, ldap.OPT_X_TLS_DEMAND)
|
||||||
ldap.set_option(ldap.OPT_REFERRALS, 0)
|
ldap.set_option(ldap.OPT_REFERRALS, 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user