Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 293660 Details for
Bug 430025
Changing password in UI returns a 500 - Internal Server Error
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
use different dictionary to get krbprincipalname
freeipa-626-passchange.patch (text/plain), 1.47 KB, created by
Rob Crittenden
on 2008-01-31 22:40:01 UTC
(
hide
)
Description:
use different dictionary to get krbprincipalname
Filename:
MIME Type:
Creator:
Rob Crittenden
Created:
2008-01-31 22:40:01 UTC
Size:
1.47 KB
patch
obsolete
># HG changeset patch ># User Rob Crittenden <rcritten@redhat.com> ># Date 1201819101 18000 ># Node ID d0db9d791d6f87b1a9029f5bf59e5ef7488a42c3 ># Parent b2fc82a18b9342686513cfede5f715dafedc243c >Use orig_user_dict to get krbprincipalname when changing passwords. >Add an extra exception handler so we don't return a 500 on errors. > >diff -r b2fc82a18b93 -r d0db9d791d6f ipa-server/ipa-gui/ipagui/subcontrollers/user.py >--- a/ipa-server/ipa-gui/ipagui/subcontrollers/user.py Thu Jan 31 16:49:01 2008 -0500 >+++ b/ipa-server/ipa-gui/ipagui/subcontrollers/user.py Thu Jan 31 17:38:21 2008 -0500 >@@ -518,9 +518,14 @@ class UserController(IPAController): > # > try: > if password_change: >- rv = client.modifyPassword(kw['krbprincipalname'], "", kw.get('userpassword')) >+ rv = client.modifyPassword(orig_user_dict['krbprincipalname'], "", kw.get('userpassword')) > except ipaerror.IPAError, e: > turbogears.flash("User password change failed: " + str(e) + "<br/>" + e.detail[0]['desc']) >+ return dict(form=user_edit_form, user=kw, >+ user_groups=user_groups_dicts, >+ tg_template='ipagui.templates.useredit') >+ except Exception, e: >+ turbogears.flash("User password change failed: " + str(e)) > return dict(form=user_edit_form, user=kw, > user_groups=user_groups_dicts, > tg_template='ipagui.templates.useredit')
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 430025
: 293660