From a47dd08a2e14298845449b802f2321fdfaba4b01 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Tue, 25 Oct 2011 12:28:29 -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. (SIPB Trac: #10) See also ASA DB 2b38cb971803016733ee17edb69bf786ec9d3d57. --- django/mit/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/mit/__init__.py b/django/mit/__init__.py index 7958beb..6b72710 100644 --- a/django/mit/__init__.py +++ b/django/mit/__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.45.0