Bug 979625

Summary: Login credentials are not authenticated before providing the katello/headpin shell
Product: Red Hat Satellite Reporter: Apurva Bhole <abhole>
Component: HammerAssignee: Mike McCune <mmccune>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: NightlyCC: bkearney, mzywusko, omaciel
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/4896
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-13 21:01:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Apurva Bhole 2013-06-28 22:21:55 UTC
Description of problem:
When trying to login to katello/headpin shell using invalid credentials (invalid password/ non-existent userName), the shell shows up successfully instead of throwing an error.
(Credentials are authenticated only when a command is triggered on the katello/headpin shell)

How reproducible:
everytime

Steps to Reproduce:
1. # katello -u "invalidUsr" -p "invalidPass" shell
2. katello> org list

Actual results:
After 1. katello/headpin shell shows up
After 2. Invalid credentials

Expected results:
Should throw the "Invalid credentials" error after Step 1.

Comment 1 RHEL Program Management 2013-09-17 04:24:31 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 6 Bryan Kearney 2014-03-26 21:05:06 UTC
Created redmine issue http://projects.theforeman.org/issues/4896 from this bug

Comment 7 Dominic Cleal 2014-11-21 08:25:57 UTC
*** Bug 1166472 has been marked as a duplicate of this bug. ***

Comment 8 Bryan Kearney 2016-08-10 18:14:08 UTC
Upstream bug component is Uncategorized

Comment 9 Bryan Kearney 2016-08-10 18:59:18 UTC
Upstream bug component is Hammer

Comment 10 Bryan Kearney 2017-01-13 21:01:07 UTC
This is an older bug which has been reported upstream. We are not going to track this bug downstream. When the upstream issue is resolved, the next build will contain the fix. Thank you.