From abab96a3e55d8663f996684add635ff7eaf472f6 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Tue, 25 Oct 2011 12:25:33 -0400 Subject: [PATCH] Scripts auth: Use ldap-too for LDAP server Apparently it includes email addresses for people who have suppressed it, unlike ldap.mit.edu. --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index 7958beb..6b72710 100644 --- a/__init__.py +++ b/__init__.py @@ -32,7 +32,7 @@ class ScriptsRemoteUserBackend(RemoteUserBackend): def configure_user(self, user, ): username = user.username user.password = "ScriptsSSLAuth" - con = ldap.open('ldap.mit.edu') + con = ldap.open('ldap-too.mit.edu') con.simple_bind_s("", "") dn = "dc=mit,dc=edu" fields = ['cn', 'sn', 'givenName', 'mail', ] -- 2.44.0