Description of problem: katello shell does not validate the username/password combination Version-Release number of selected component (if applicable): * candlepin-0.7.23-1.el6_3.noarch * candlepin-cert-consumer-cloud-qe-9.idm.lab.bos.redhat.com-1.0-1.noarch * candlepin-tomcat6-0.7.23-1.el6_3.noarch * elasticsearch-0.19.9-5.el6_3.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.2.1-1h.el6_3.noarch * katello-cli-1.2.1-12h.el6_3.noarch * katello-cli-common-1.2.1-12h.el6_3.noarch * katello-common-1.2.1-15h.el6_3.noarch * katello-configure-1.2.3-3h.el6_3.noarch * katello-glue-candlepin-1.2.1-15h.el6_3.noarch * katello-headpin-1.2.1-15h.el6_3.noarch * katello-headpin-all-1.2.1-15h.el6_3.noarch * katello-selinux-1.2.1-2h.el6_3.noarch * thumbslug-0.0.28-1.el6_3.noarch * thumbslug-selinux-0.0.28-1.el6_3.noarch How reproducible: Always Steps to Reproduce: 1. Install SAM and run katello-configure. (username/password: admin/admin) 2. Log in to katello shell using a wrong password #katello -u admin -p admin123 shell Actual results: It appears like the credentials are validated to be correct and it opens the shell (shown below) #katello -u admin -p admin123 shell sam> Expected results: Error message saying the credentials are incorrect Additional info: Although the shell is opened, most of the commands does not work. But help command works Example: # katello -u admin -p admin1 shell sam> ping Invalid credentials sam> user create --username user1 --password user1 --email test Invalid credentials sam> help Usage: <options> <command> Supported Commands: activation_key activation key specific actions in the katello server client client specific actions in the katello server..... ......
moving to 1.4.
Next SAM release has a complete rewrite of CLI