Bug 251060 - rhn-custom-info bad passwd returns unhandled exception
Summary: rhn-custom-info bad passwd returns unhandled exception
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Configuration Management
Version: 501
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Sayli Karmarkar
QA Contact: John Matthews
URL: na
Whiteboard:
Depends On:
Blocks: 456985
TreeView+ depends on / blocked
 
Reported: 2007-08-06 19:55 UTC by wes hayutin
Modified: 2009-09-10 20:21 UTC (History)
2 users (show)

Fixed In Version: sat530
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 20:21:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description wes hayutin 2007-08-06 19:55:39 UTC
[root@fjs-0-19 rhn]# rhn-custom-info -l -uadmin
/usr/lib/python2.3/optik.py:8: DeprecationWarning: the optik interface is
deprecated; please use optparse instead
  DeprecationWarning)
Password: 
Error code:  -1
unhandled internal exception: error.invalid_login


low priority however.. this is an ugly return for a bad passwd.

Comment 3 Sayli Karmarkar 2008-11-20 17:50:52 UTC
Fixed to give "Invalid login information" error message in case of bad loginname/password. Also fixed DeprecationWarning that was being generated.

~SayliK

Comment 6 John Matthews 2009-02-11 00:47:56 UTC
I don't see the newer package in rhn-tools channel.

From a client registered to webqa and subscribed to rhn-tools:

yum info rhn-custom-info
Loaded plugins: rhnplugin, security
Available Packages
Name       : rhn-custom-info
Arch       : noarch
Version    : 5.1.0
Release    : 1.el5
Size       : 8.2 k
Repo       : rhn-tools-rhel-i386-server-5
Summary    : set and list custom values for RHN-enabled machines
License    : RHN Subscription License
Description: Allows for the setting and listing of custom key/value pairs for an RHN-enabled system.

Putting back on MODIFIED

Comment 7 Sayli Karmarkar 2009-06-12 15:51:04 UTC
I can see rhn-custom-info-5.3.0-2.el5sat.noarch.rpm in rhn-tools channel now. Moving to on_qa. 

~SayliK

Comment 8 John Matthews 2009-06-16 14:14:19 UTC
ISO: Satellite-5.3.0-RHEL5-re20090612.0-i386-embedded-oracle.iso

# rhn-custom-info -l -uadmin
Password: 
Error code:  2950
redstone.xmlrpc.XmlRpcFault: Either the password or username is incorrect.

Comment 9 John Sefler 2009-08-28 15:16:35 UTC
Verified on staged (Satellite-5.3.0-RHEL5-re20090724.0) with updates from Aug 20, 2009

[root@rlx-0-04 ~]# rpm -q rhn-custom-info
rhn-custom-info-5.3.0-2.el5sat
[root@rlx-0-04 ~]# yum info rhn-custom-info
Loaded plugins: rhnplugin, security
Installed Packages
Name       : rhn-custom-info
Arch       : noarch
Version    : 5.3.0
Release    : 2.el5sat
Size       : 20 k
Repo       : installed
Summary    : set and list custom values for RHN-enabled machines
License    : GPLv2
Description: Allows for the setting and listing of custom key/value pairs for an RHN-enabled system.

[root@rlx-0-04 ~]# rhn-custom-info -l -uadmin
Password: 
Error code:  2950
redstone.xmlrpc.XmlRpcFault: Either the password or username is incorrect.

[root@rlx-0-04 ~]# 

moving to RELEASE_PENDING

Comment 10 Brandon Perkins 2009-09-10 20:21:29 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-1434.html


Note You need to log in before you can comment on or make changes to this bug.