Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed original call to ADUser

Should only be called in the try/except statements.
  • Loading branch information...
commit fab8a30224ce35dc8401baad391ea5381e45632a 1 parent 7c0b3be
@liveaverage liveaverage authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  src/baruwa/auth/ad.py
View
2  src/baruwa/auth/ad.py
@@ -277,8 +277,6 @@ def authenticate(self, username=None, password=None):
logger.warning("No MySQL MailADAuthHost; using setting.py AD config\n")
aduser = ADUser(username, host.address, host.port, None, None, None, None)
- aduser = ADUser(username, host.address, host.port, adset.ad_search_dn, adset.ad_admin_group, adset.ad_user_group, adset.ad_auth_domain)
-
if not aduser.connect(password):
logger.warning("AD bind failed for %s\n" % username)
continue
Please sign in to comment.
Something went wrong with that request. Please try again.