Tâche #35947
Scénario #35906: Forcer le changement de mot de passe à la première connexion au portail web
changepasswordeole.pl : modifier le shadowLastChange d'OpenLDAP au lieu du pwdLastSet en mode non SASL
Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
Début:
21/05/2024
Echéance:
% réalisé:
100%
Restant à faire (heures):
0.0
Révisions associées
changepasswordeole.pl : manage shadowLastChange instead of pwdLastSet in no SASL mode
Ref: #35947
Historique
#1 Mis à jour par Joël Cuissinat il y a presque 2 ans
- Sujet changé de changepasswordeole.pl : modifier le shadowLastChange d'OpenLDAP au lieu du pwdLastSet en non SASL à changepasswordeole.pl : modifier le shadowLastChange d'OpenLDAP au lieu du pwdLastSet en mode non SASL
#2 Mis à jour par Joël Cuissinat il y a presque 2 ans
Après mise à jour, le comportement du script est sensé être le suivant :
root@scribe:~# /usr/sbin/changepasswordeole.pl admin "$pwd" Password changed root@scribe:~# ldapsearch -x -D cn=reader,o=gouv,c=fr -w `cat /root/.reader` uid=admin shadowLastChange | grep ^shadowLastChange shadowLastChange: 19864 root@scribe:~# /usr/sbin/changepasswordeole.pl admin "$pwd" 1 Password changed root@scribe:~# ldapsearch -x -D cn=reader,o=gouv,c=fr -w `cat /root/.reader` uid=admin shadowLastChange | grep ^shadowLastChange shadowLastChange: 0 root@scribe:~# /usr/sbin/changepasswordeole.pl admin "$pwd" Password changed root@scribe:~# ldapsearch -x -D cn=reader,o=gouv,c=fr -w `cat /root/.reader` uid=admin shadowLastChange | grep ^shadowLastChange shadowLastChange: 19864
#3 Mis à jour par Joël Cuissinat il y a presque 2 ans
- Statut changé de Nouveau à Résolu
- % réalisé changé de 0 à 100
#4 Mis à jour par Joël Cuissinat il y a presque 2 ans
- Statut changé de Résolu à Fermé
- Restant à faire (heures) mis à 0.0