Skip to content
Snippets Groups Projects
Verified Commit a719690e authored by nd's avatar nd
Browse files

fixup! moved to generic ldap connection instead of service/user connection

parent 026bc0dc
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ def fix_connection(conn): ...@@ -15,7 +15,7 @@ def fix_connection(conn):
def service_conn(): def service_conn():
server = Server(current_app.config["LDAP_SERVICE_URL"], get_info=ALL) server = Server(current_app.config["LDAP_SERVICE_URL"], get_info=ALL)
conn = Connection(server, current_app.config["LDAP_SERVICE_BIND_DN"], current_app.config["LDAP_SERVICE_BIND_PASSWORD"], auto_bind=True) return Connection(server, current_app.config["LDAP_SERVICE_BIND_DN"], current_app.config["LDAP_SERVICE_BIND_PASSWORD"], auto_bind=True)
def user_conn(): def user_conn():
pass pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment