SpriteLink/NIPAP — pull request #210 by garberg (2012-07-31 07:09:24+00:00)
Title: Handle more LDAP exceptions on authentication

In addition to catching the INVALID_CREDENTIALS exception which is
thrown when invalid credentials are entered, also catch
ldap.INVALID_DN_SYNTAX and ldap.UNWILLING_TO_PERFORM which are thrown
when leaving both username and password resp. one of them empty when
authenticating.

Fixes #145