Bug 869279

Summary: Bad link to Web UI config page after session is expired
Product: Red Hat Enterprise Linux 6 Reporter: Dmitri Pal <dpal>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 6.4CC: jgalipea, mkosek, pvoborni, xdong
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-3.0.0-6.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 09:28:41 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:

Description Dmitri Pal 2012-10-23 13:11:51 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/3187

Reproduction:

 1. successfully login to Web UI
 2. destroy ticket (if SSO  is used)
 3. wait for a session to expire
 4. do some action requiring communication with server
 5. login dialog with incorrect link to browser configuration page is shown

Note:
Correct link is shown before successful login to Web UI so practically the bug affects only users using forms based authentication. 

Cause:
 Typo in ipa_init.json and internal.py. It's supposed to use a curly bracket:
{{{ http://${host]/ipa/config/unauthorized.html }}}

Comment 1 Petr Vobornik 2012-10-24 07:22:59 UTC
Fixed upstream:

 * master: 445744206b92787e82057ca56062076ccf9d7dfe Fixed incorrect link to browser config after session expiration
 * ipa-3-0: 1f81fe68aba37ef5992920d43e337aca197a6022 Fixed incorrect link to browser config after session expiration

Comment 5 Xiyang Dong 2013-01-18 17:49:00 UTC
verified in ipa-server-3.0.0-22.el6.x86_64
 
Reproduction: 
 1. successfully login to Web UI
 2. destroy ticket (if SSO  is used)
 3. wait for a session to expire
 4. do some action requiring communication with server
Result:
 5. login dialog with correct link shown

Comment 7 errata-xmlrpc 2013-02-21 09:28:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0528.html