I was missing
l.set_option(ldap.OPT_REFERRALS, 0)
From the init.
More Related Contents:
- How to use Python to login to a webpage and retrieve cookies for later usage?
- Python urllib2, basic HTTP authentication, and tr.im
- I can’t install python-ldap
- Django SMTPAuthenticationError
- How to set folder permissions in Windows?
- Salt and hash a password in Python
- Login credentials not working with Gmail SMTP
- Authenticating against Active Directory with Java on Linux
- Python urllib2 Basic Auth Problem
- ASP.NET Core 2.0 LDAP Active Directory Authentication
- How to use pip on windows behind an authenticating proxy
- How to check if a user is logged in (how to properly use user.is_authenticated)?
- Forbidden (403) CSRF verification failed. Request aborted. Even using the {% csrf_token %}
- How do you access an authenticated Google App Engine service from a (non-web) python client?
- Accepting email address as username in Django
- Django: signal when user logs in?
- User Registration with error: no such table: auth_user
- Login to website using python
- Using LDAP for authentication in iOS
- Python request with authentication (access_token)
- Authenticating in PHP using LDAP through Active Directory
- Google Authenticator implementation in Python
- What is a Pythonic way for Dependency Injection?
- Python 3 – urllib, HTTP Error 407: Proxy Authentication Required
- Authenticating users using Active Directory in Client-Server Application
- Authentication with Azure Active Directory – how to accept user credentials programmatically
- How to use Stanford Parser in NLTK using Python
- Should you always favor xrange() over range()?
- How can I build multiple submit buttons django form?
- How to create a spinning command line cursor?