TECHZEN Zenoss User Community ARCHIVE  

Impossible to set or reset a password

Subject: Impossible to set or reset a password
Author: Damien Bras
Posted: 2017-06-23 04:37

Hi,

When I want to reset or set a password for another user in Advanced/Users, I have this error:
Type: <type 'exceptions.KeyError'>
Value: 'Invalid user ID: xxxxxx'
Traceback (most recent call last):
File "/opt/zenoss/lib/python2.7/site-packages/ZPublisher/Publish.py", line 126, in publish
request, bind=1)
File "/opt/zenoss/lib/python2.7/site-packages/ZPublisher/mapply.py", line 77, in mapply
if debug is not None: return debug(object,args,context)
File "/opt/zenoss/lib/python2.7/site-packages/ZPublisher/Publish.py", line 46, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/opt/zenoss/Products/ZenModel/UserSettings.py", line 739, in manage_resetPassword
self.id, newpw)
File "/opt/zenoss/lib/python2.7/site-packages/Products/PluggableAuthService/plugins/ZODBUserManager.py", line 328, in updateUserPassword
raise KeyError, 'Invalid user ID: %s' % user_id
KeyError: 'Invalid user ID: xxxxxx'

Do you know how could I solve this ? Or how to debug ?
My account have this roles: Manager and ZenUser.

Zenoss Ressource Manager version: 5.0.9

Regards,




------------------------------
Damien Bras
------------------------------


Subject: RE: Impossible to set or reset a password
Author: Damien Bras
Posted: 2017-06-23 08:47

The first name of the user (not the user ID) had a special character (ç). With this one, Zenoss failed to request the LDAP.
By replacing this character by a normal c, It working.

Another character format conversion problem.

But this is solved now.

------------------------------
Damien Bras
Homesend
------------------------------


< Previous
VersionConflictEngineException
  Next
zenhub and zenpython performance graphs
>