Commit da9e40f1 authored by Julian Rother's avatar Julian Rother
Browse files

Adapted default config and LDAP emulation to new groups

parent 28e81389
......@@ -23,9 +23,9 @@ SQLITE_INIT_DATA = True
#JOBS_API_KEY = 'something random'
#LDAP_HOST = 'rumo.fsmpi.rwth-aachen.de'
#LDAP_HOST = 'auth.fsmpi.rwth-aachen.de'
LDAP_PORT = 636
LDAP_GROUPS = ['users']
LDAP_GROUPS = ['fachschaft']
#ICAL_URL = 'https://user:password@mail.fsmpi.rwth-aachen.de/SOGo/....ics'
ERROR_PAGE = 'static/500.html'
RWTH_IP_RANGES = ['134.130.0.0/16', '137.226.0.0/16', '134.61.0.0/16', '192.35.229.0/24', '2a00:8a60::/32']
......
......@@ -163,8 +163,8 @@ if 'LDAP_HOST' in config:
else:
notldap = {
'videoag':('videoag', ['users','videoag'], {'uid': 'videoag', 'givenName': 'Video', 'sn': 'Geier'}),
'gustav':('passwort', ['users'], {'uid': 'gustav', 'givenName': 'Gustav', 'sn': 'Geier'})
'videoag':('videoag', ['fachschaft','videoag'], {'uid': 'videoag', 'givenName': 'Video', 'sn': 'Geier'}),
'gustav':('passwort', ['fachschaft'], {'uid': 'gustav', 'givenName': 'Gustav', 'sn': 'Geier'})
}
def ldapauth(user, password):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment