Bug 430025
Summary: | Changing password in UI returns a 500 - Internal Server Error | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] freeIPA | Reporter: | Chandrasekar Kannan <ckannan> | ||||
Component: | ipa-server | Assignee: | Rob Crittenden <rcritten> | ||||
Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 1.0 | CC: | benl, mgregg, rcritten, ssorce, yzhang | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | freeipa-2.0.0-1.fc15 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-03-27 07:13:28 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 246164, 429034 | ||||||
Attachments: |
|
Description
Chandrasekar Kannan
2008-01-24 07:06:28 UTC
This bug has nothing to do with password policy. It is simply a problem with the UI. Resetting summary. A more readable stack trace is: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/cherrypy/_cphttptools.py", line 105, in _run self.main() File "/usr/lib/python2.5/site-packages/cherrypy/_cphttptools.py", line 254, in main body = page_handler(*virtual_path, **self.params) File "<string>", line 3, in update File "/usr/lib/python2.5/site-packages/turbogears/controllers.py", line 336, in expose *args, **kw) File "<string>", line 5, in run_with_transaction File "/usr/lib/python2.5/site-packages/turbogears/database.py", line 303, in so_rwt retval = func(*args, **kw) File "<string>", line 5, in _expose File "/usr/lib/python2.5/site-packages/turbogears/controllers.py", line 351, in <lambda> mapping, fragment, args, kw))) File "/usr/lib/python2.5/site-packages/turbogears/controllers.py", line 378, in _execute_func output = errorhandling.try_call(func, *args, **kw) File "/usr/lib/python2.5/site-packages/turbogears/errorhandling.py", line 73, in try_call return func(self, *args, **kw) File "<string>", line 3, in update File "/usr/lib/python2.5/site-packages/turbogears/identity/conditions.py", line 235, in require return fn(self, *args, **kwargs) File "/home/rcrit/redhat/freeipa/ipa-server/ipa-gui/ipagui/subcontrollers/user.py", line 521, in update rv = client.modifyPassword(kw['krbprincipalname'], "", kw.get('userpassword')) KeyError: 'krbprincipalname' Created attachment 293660 [details]
use different dictionary to get krbprincipalname
Committed in changeset 617 if it is "admin" who change user's password, it is success if it is user himself change the password, it has some problems. The bug for this specific scenario is at bug: 441005 https://bugzilla.redhat.com/show_bug.cgi?id=441005 |