Permalink
Browse files

Merge pull request #63 from liveaverage/patch-4

Removed original call to ADUser
  • Loading branch information...
2 parents 7c0b3be + fab8a30 commit 37edbc603a0b4d084a78497f0ce8a8b467efd701 @akissa akissa committed Apr 10, 2013
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

0 comments on commit 37edbc6

Please sign in to comment.