Bug 782816 - warning messages of wallaby shell
Summary: warning messages of wallaby shell
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: wallaby
Version: Development
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: 2.3
: ---
Assignee: Will Benton
QA Contact: Lubos Trilety
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-18 15:36 UTC by Martin Kudlej
Modified: 2013-03-06 18:40 UTC (History)
5 users (show)

Fixed In Version: wallaby-0.12.5-2
Doc Type: Bug Fix
Doc Text:
Previous versions of the wallaby shell may have displayed a spurious warning message if no authentication mechanism was explicitly specified. Current versions will only display a warning if the explicitly-specified mechanism is invalid.
Clone Of:
Environment:
Last Closed: 2013-03-06 18:40:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0564 0 normal SHIPPED_LIVE Low: Red Hat Enterprise MRG Grid 2.3 security update 2013-03-06 23:37:09 UTC

Description Martin Kudlej 2012-01-18 15:36:50 UTC
Description of problem:

$ wallaby -M CRAM-MD5 -U guest -P guest list-groups
warning:  rejecting bogus WALLABY_BROKER_MECHANISM of ''
warning:  valid mechanisms include ANONYMOUS, CRAM-MD5, DIGEST-MD5, GSSAPI, OTP, PLAIN
Console Connection Established...
the default group +++DEFAULT
the skeleton group +++SKEL

$ cat  /etc/sysconfig/wallaby-agent 
...
export WALLABY_BROKER_MECHANISM=CRAM-MD5
...

I think first warning is not valid because authentication mechanism is defined in wallaby configuration and also as parameter of command.

I think there should be second warning only if user uses mechanism which is not supported by installed broker(it sends list of valid authentication mechanisms).


Version-Release number of selected component (if applicable):
ruby-wallaby-0.12.5-1
wallaby-0.12.5-1
python-wallabyclient-4.1.2-1
condor-wallaby-tools-4.1.2-1
condor-wallaby-base-db-1.19-1
condor-wallaby-client-4.1.2-1


How reproducible:
100%

Steps to Reproduce:
1. install broker, wallaby
2. install and configure auth. mechanism in broker/sasl/wallaby
3. run any command of wallaby shell

Comment 1 Will Benton 2012-01-18 18:36:27 UTC
This is fixed upstream; sorry to have missed it.

Comment 3 Will Benton 2012-03-20 14:18:41 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previous versions of the wallaby shell may have displayed a spurious warning message if no authentication mechanism was explicitly specified.  Current versions will only display a warning if the explicitly-specified mechanism is invalid.

Comment 6 Lubos Trilety 2012-11-16 16:25:55 UTC
Successfully reproduce on:
ruby-wallaby-0.12.5-1
wallaby-0.12.5-1
wallaby-utils-0.12.5-1

# wallaby -M CRAM-MD5 -U cumin -P cumin list-groups
warning:  rejecting bogus WALLABY_BROKER_MECHANISM of ''
warning:  valid mechanisms include ANONYMOUS, CRAM-MD5, DIGEST-MD5, GSSAPI, OTP, PLAIN
Console Connection Established...
the default group +++DEFAULT
the skeleton group +++SKEL

Comment 7 Lubos Trilety 2012-11-16 16:31:43 UTC
Tested with:
wallaby-0.16.1-2
wallaby-utils-0.16.1-2
ruby-wallaby-0.16.1-2

Tested on:
RHEL6 i386,x86_64
RHEL5 i386,x86_64

No warning printed

# wallaby -M CRAM-MD5 -U cumin -P cumin list-groups
Console Connection Established...
the default group +++DEFAULT
the skeleton group +++SKEL

>>> verified

Comment 9 errata-xmlrpc 2013-03-06 18:40:58 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-0564.html


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