It's true that we swallow LDAPErrors when authenticating. It's reasonable to have multiple authentication backends installed, so we try to be a good citizen and report failures without halting the entire authentication process. Someone using the built-in login view might well prefer an auth-failed result to a 500 page if there's a problem. This may be a case where one size doesn't fit all, of course. At the time, I chose to err on the side of not panicking if LDAP is unavailable and trying to soldier on. Sending mail to admins can obviously be arranged through the logging configuration.
We could probably add settings.AUTH_LDAP_RAISE_LDAP_ERRORS for those who are writing their own login views, have savvy users, and want more control.
> --
> You received this message because you are subscribed to the Google Groups "django-auth-ldap" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
django-auth-ld...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>