Projet

Général

Profil

Anomalie #1625

Ead 2.3 : bug modification utilisateurs

Ajouté par samuel morin il y a environ 13 ans. Mis à jour il y a environ 13 ans.

Statut:
Fermé
Priorité:
Haut
Assigné à:
Catégorie:
-
Début:
04/04/2011
Echéance:
% réalisé:

100%

Temps estimé:
0.50 h
Temps passé:
Distribution:

Description

Sur Horus 2.3, dans l'ead, j'essaye de modifier un utilisateur (le rajouter dans un groupe par exemple), la modif n'est pas prise en compte.

Dans les logs, on a les messages suivants :

2011/04/04 10:12:48 CEST [HTTPChannel,900,127.0.0.1] 127.0.0.1 - - [04/Apr/2011:08:12:48 +0000] "POST /RPC2 HTTP/1.0" 200 126 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2011/04/04 10:12:49 CEST [HTTPChannel,901,127.0.0.1] Execution of : <get_menu> by <admin> from frontend <localhost.localdomain> (127.0.0.1)
2011/04/04 10:12:49 CEST [HTTPChannel,901,127.0.0.1] 127.0.0.1 - - [04/Apr/2011:08:12:48 +0000] "POST /RPC2 HTTP/1.0" 200 47561 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"
2011/04/04 10:12:49 CEST [HTTPChannel,902,127.0.0.1] Execution of : <gestion_user_modify> by <admin> from frontend <localhost.localdomain> (127.0.0.1)
2011/04/04 10:12:49 CEST [HTTPChannel,902,127.0.0.1] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 224, in addCallback
callbackKeywords=kw)
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 213, in addCallbacks
self._runCallbacks()
File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 371, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/share/ead2/backend/lib/execute_wrapper.py", line 18, in wrapper
return func(self)
--- <exception caught here> ---
File "/usr/share/ead2/backend/actions/horus/gestion_user.py", line 306, in execute
datas = self.modify_user(self.form_result)
File "/usr/share/ead2/backend/actions/horus/gestion_user.py", line 491, in modify_user
horus.mod_password(self.current_user, pwd)
File "/usr/lib/pymodules/python2.6/horus/backend.py", line 551, in mod_password
return passwd.mod_password(login, user_passwd)
File "/usr/lib/pymodules/python2.6/fichier/passwd.py", line 22, in mod_password
raise Exception(' '.join(ret[1:]))
exceptions.Exception: Changing UNIX and samba passwords for smorin
New password:
Retype new password:
Use of uninitialized value $pass2 in chomp at /usr/sbin/smbldap-passwd line 153, <STDIN> line 1.
Use of uninitialized value $pass2 in string ne at /usr/sbin/smbldap-passwd line 157, <STDIN> line 1.
I cannot generate the proper hash!

2011/04/04 10:12:49 CEST [HTTPChannel,902,127.0.0.1] /usr/share/ead2/backend/actions/horus/gestion_user.py:311: exceptions.DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
2011/04/04 10:12:49 CEST [HTTPChannel,902,127.0.0.1] 127.0.0.1 - - [04/Apr/2011:08:12:48 +0000] "POST /RPC2 HTTP/1.0" 200 688 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)"

Révisions associées

Révision e8089a5a (diff)
Ajouté par Joël Cuissinat il y a environ 13 ans

correction et optimisation de la modification des utilisateurs Horus (fixes #1625)

Historique

#1 Mis à jour par Joël Cuissinat il y a environ 13 ans

  • Assigné à mis à Joël Cuissinat
  • Priorité changé de Normal à Haut
  • Version cible mis à EOLE 2.3 RC4
  • Temps estimé mis à 0.50 h

#2 Mis à jour par Joël Cuissinat il y a environ 13 ans

  • Projet changé de Horus à ead

#3 Mis à jour par Joël Cuissinat il y a environ 13 ans

  • Statut changé de Nouveau à Résolu
  • % réalisé changé de 0 à 100

#4 Mis à jour par Joël Cuissinat il y a environ 13 ans

Beaucoup d'anomalies dans l'action EAD !
Certaines doivent d'ailleurs provoquer des erreurs (masquées) en 2.2 également ;)

modification supplémentaire dans horus-backend : http://dev-eole.ac-dijon.fr/projects/horus-backend/repository/revisions/202dbdace8407ee1176103bcd5382b39a003a76a

#5 Mis à jour par Joël Cuissinat il y a environ 13 ans

  • Statut changé de Résolu à Fermé

OK : eole-ead (2.3-eole33)

Formats disponibles : Atom PDF