[CalendarServer-changes] [15474] twext/trunk/twext/who/ldap/_service.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Mar 14 12:41:46 PDT 2016
Revision: 15474
http://trac.calendarserver.org//changeset/15474
Author: wsanchez at apple.com
Date: 2016-03-14 12:41:46 -0700 (Mon, 14 Mar 2016)
Log Message:
-----------
Also catch ldap.INAPPROPRIATE_AUTH
Modified Paths:
--------------
twext/trunk/twext/who/ldap/_service.py
Modified: twext/trunk/twext/who/ldap/_service.py
===================================================================
--- twext/trunk/twext/who/ldap/_service.py 2016-03-12 03:52:28 UTC (rev 15473)
+++ twext/trunk/twext/who/ldap/_service.py 2016-03-14 19:41:46 UTC (rev 15474)
@@ -560,7 +560,9 @@
self.log.debug("Authenticated {dn}", dn=dn)
return True
except (
- ldap.INVALID_CREDENTIALS, ldap.INVALID_DN_SYNTAX
+ ldap.INAPPROPRIATE_AUTH,
+ ldap.INVALID_CREDENTIALS,
+ ldap.INVALID_DN_SYNTAX,
):
self.log.debug("Unable to authenticate {dn}", dn=dn)
return False
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160314/d30c65fd/attachment.html>
More information about the calendarserver-changes
mailing list