[CalendarServer-changes] [15700] twext/trunk/twext/who/ldap/_service.py
source_changes at macosforge.org
source_changes at macosforge.org
Thu Jun 23 17:40:33 PDT 2016
Revision: 15700
http://trac.calendarserver.org//changeset/15700
Author: sagen at apple.com
Date: 2016-06-23 17:40:33 -0700 (Thu, 23 Jun 2016)
Log Message:
-----------
Return 401 for unexpected ldap exception
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-06-24 00:38:42 UTC (rev 15699)
+++ twext/trunk/twext/who/ldap/_service.py 2016-06-24 00:40:33 UTC (rev 15700)
@@ -606,6 +606,7 @@
return False
except Exception as e:
self.log.error("Unexpected error {error} trying to authenticate {dn}", error=str(e), dn=dn)
+ return False
finally:
connection.unbind()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20160623/2e71cb98/attachment.html>
More information about the calendarserver-changes
mailing list