Projet

Général

Profil

Development #12516

display a different error message when trying to authenticate against a down ldap server

Ajouté par Frédéric Péters il y a presque 8 ans. Mis à jour il y a plus de 2 ans.

Statut:
Nouveau
Priorité:
Bas
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
11 juillet 2016
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

At the moment the user gets the generic "please enter a correct username adn password...", I think it would be better to announce that the authentication server is down.


Demandes liées

Lié à Authentic 2 - Development #58151: préciser sur un échec d'authentification dans le journal que ça vient d'un annuaire LDAP downFermé25 octobre 2021

Actions

Historique

#1

Mis à jour par Benjamin Dauvergne il y a presque 8 ans

  • Priorité changé de Normal à Bas

It's really not simple as all we known is that no backend returned a user. I could try to attach a message to the globally stored HttpRequest object if I find one but if for any reason the backend is used in a request outside of the login page it could have consequences.

The only way would be to completely rewrite the django.contrib.auth.authenticate() function so that we can raise some kind of informative exceptions that would be displayed by the login page.

#2

Mis à jour par Benjamin Dauvergne il y a plus de 2 ans

  • Dupliqué par Development #58151: préciser sur un échec d'authentification dans le journal que ça vient d'un annuaire LDAP down ajouté
#3

Mis à jour par Frédéric Péters il y a plus de 2 ans

  • Dupliqué par Development #58151: préciser sur un échec d'authentification dans le journal que ça vient d'un annuaire LDAP down supprimé
#4

Mis à jour par Frédéric Péters il y a plus de 2 ans

  • Lié à Development #58151: préciser sur un échec d'authentification dans le journal que ça vient d'un annuaire LDAP down ajouté
#5

Mis à jour par Frédéric Péters il y a plus de 2 ans

  • Planning mis à Non

Ce ticket concerne l'information à l'usager, pas dans le journal (l'autre ticket).

Formats disponibles : Atom PDF