# SESSION_CONFIG file # Run with: # SESSION_CONFIG=example.cfg FLASK_APP=session_app.py FLASK_DEBUG=1 flask run --host 0.0.0.0 --port 5000 HOSTNAME = "d2-03a.ipa.internal.com" # These don't seem to work when running "flask run", so they might only be used by uwsgi. LISTEN_HOST = "0.0.0.0" LISTEN_PORT = "5000" DEBUG=True LDAP_URI = "ldaps://ipa.internal.com:636" LDAP_USER_BASE = "cn=users,cn=accounts,dc=ipa,dc=internal,dc=com" LDAP_GROUP_BASE = "cn=groups,cn=accounts,dc=ipa,dc=internal,dc=com" LDAP_USER_MATCH_ATTRIB = "uid" LDAP_USER_DISPLAY_ATTRIB = "uid" LDAP_USER_ATTRIB_MEMBEROF = "memberof" LDAP_GROUP_DISPLAY_ATTRIB = "cn" LDAP_BIND_DN = "uid=domainjoin,cn=users,cn=accounts,dc=ipa,dc=internal,dc=com" LDAP_BIND_PASSWORD = "examplepassword" # Default timeout for session, which is ignored if the user checks "Remember until logout" at login screen. SESSION_DURATION_MINUTES = 60*24*365*10 ADMIN_GROUP = 'admins'