Project

General

Profile

Anomalie #1625

Ead 2.3 : bug modification utilisateurs

Added by samuel morin over 10 years ago. Updated over 10 years ago.

Status:
Fermé
Priority:
Haut
Assigned To:
Category:
-
Start date:
04/04/2011
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:
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)"

Associated revisions

Revision e8089a5a (diff)
Added by Joël Cuissinat over 10 years ago

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

History

#1 Updated by Joël Cuissinat over 10 years ago

  • Assigned To set to Joël Cuissinat
  • Priority changed from Normal to Haut
  • Target version set to EOLE 2.3 RC4
  • Estimated time set to 0.50 h

#2 Updated by Joël Cuissinat over 10 years ago

  • Project changed from Horus to ead

#3 Updated by Joël Cuissinat over 10 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#4 Updated by Joël Cuissinat over 10 years ago

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 Updated by Joël Cuissinat over 10 years ago

  • Status changed from Résolu to Fermé

OK : eole-ead (2.3-eole33)

Also available in: Atom PDF