summaryrefslogtreecommitdiffstats
path: root/install/ui/login.html
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-11-14 09:35:03 +0100
committerPetr Vobornik <pvoborni@redhat.com>2012-12-06 17:02:03 +0100
commit8d892f442f27026ac7195f6d9720b6da046ff477 (patch)
tree31992b4581895b358aa0b2689d7496f7c4b31255 /install/ui/login.html
parente05a720b12ae9bf8a39fa3103bdd61dc065dface (diff)
downloadfreeipa-8d892f442f27026ac7195f6d9720b6da046ff477.tar.gz
freeipa-8d892f442f27026ac7195f6d9720b6da046ff477.tar.xz
freeipa-8d892f442f27026ac7195f6d9720b6da046ff477.zip
Better error message for login of users from other realms
When user from other realm than FreeIPA's tries to use Web UI (login via forms-based auth or with valid trusted realm ticket), he gets an unauthorized error with X-Ipa-Rejection-Reason=denied. Web UI responds with showing login dialog with following error message: 'Sorry you are not allowed to access this service.'. Note: such users are not supported because they don't have a corresponding entry in LDAP which is needed for ACLs. https://fedorahosted.org/freeipa/ticket/3252 denied change
Diffstat (limited to 'install/ui/login.html')
-rw-r--r--install/ui/login.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/install/ui/login.html b/install/ui/login.html
index 69e3dea7f..f279f027d 100644
--- a/install/ui/login.html
+++ b/install/ui/login.html
@@ -34,6 +34,10 @@
<p>If the problem persists, contact your administrator.</p>
</div>
+ <div id="denied" class="error-box" style="display:none">
+ <p>Sorry you are not allowed to access this service.</p>
+ </div>
+
<form id="login">
<ul>
<li>