Bug #73342
ldap erreur log erreur (?) TypeError: 'NoneType' object is not subscriptable
Début:
12 janvier 2023
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/103444/
TIMEOUT: (5 additional frame(s) were not displayed) ... File "authentic2/backends/ldap_backend.py", line 184, in result4 ) = NativeLDAPObject.result4( File "ldap/ldapobject.py", line 758, in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) File "ldap/ldapobject.py", line 331, in _ldap_call reraise(exc_type, exc_value, exc_traceback) File "ldap/compat.py", line 44, in reraise raise exc_value File "ldap/ldapobject.py", line 315, in _ldap_call result = func(*args,**kwargs) TypeError: 'NoneType' object is not subscriptable (20 additional frame(s) were not displayed) ... File "authentic2/backends/ldap_backend.py", line 652, in authenticate user = self.authenticate_block(request, block, uid, password) File "authentic2/backends/ldap_backend.py", line 784, in authenticate_block self._record_failure_for_user(request, 'ldap timeout', authz_id, block, conn) File "authentic2/backends/ldap_backend.py", line 1567, in _record_failure_for_user user = self._lookup_by_external_id(block=block, attributes=attributes) File "authentic2/backends/ldap_backend.py", line 1409, in _lookup_by_external_id external_id = self.build_external_id(eid_tuple, attributes) File "authentic2/backends/ldap_backend.py", line 1364, in build_external_id part = attributes[attribute]
Demandes liées
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a plus d'un an
- Projet changé de Suivi des traces à Authentic 2
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Nouveau à Solution proposée
Benjamin Dauvergne (bdauvergne) a ouvert une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/authentic/pulls/9
- Titre : ldap: prevent crash when recording a timeout failure (#73342)
- Modifications : https://git.entrouvert.org/entrouvert/authentic/pulls/9/files
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Solution proposée à Solution validée
Paul Marillonnet (pmarillonnet) a approuvé une pull request sur Gitea concernant cette demande :
Mis à jour par Paul Marillonnet il y a environ un an
- Lié à Development #75705: authn/ldap_backend : à l’authentification, d’abord tenter de retrouver localement le compte en base avant d’appeler l’annuaire distant ajouté
Mis à jour par Robot Gitea il y a environ un an
- Statut changé de Solution validée à Résolu (à déployer)
Benjamin Dauvergne (bdauvergne) a mergé une pull request sur Gitea concernant cette demande :
- URL : https://git.entrouvert.org/entrouvert/authentic/pulls/9
- Titre : ldap: prevent crash when recording a timeout failure (#73342)
- Modifications : https://git.entrouvert.org/entrouvert/authentic/pulls/9/files
Mis à jour par Transition automatique il y a environ un an
- Statut changé de Résolu (à déployer) à Solution déployée
ldap: prevent crash when recording a timeout failure (#73342)