This will return an empty user, and we will have the same problem as in django-auth-ldap currently when it fails to connect to ldap. How about raising an exception instead?