1
0
mirror of https://github.com/moepman/bk-dss synced 2024-12-22 08:04:27 +01:00

Minor cleanup.

This commit is contained in:
Markus 2017-01-21 18:48:33 +01:00
parent c0e3a3558a
commit b1e0035e83
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ USER_ATTRS = {
'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_PSWD = "foobared"
REDIS_PASSWD = "foobared"

View File

@ -15,7 +15,7 @@ app.config.from_pyfile('config.cfg')
app.jinja_env.trim_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_REFERRALS, 0)