Fix permissions on Get Channel Cipher Suites command

The Get Channel Cipher Suites command should be available at any
privilege level as well as pre-session. This changes it so that it can
be used pre-session to determine the best cipher suite to use. As per
section 22.15 of the IPMI 2.0 spec, "This command can be executed prior
to establishing a session with the BMC." This means that it should be
able to be executed at any privilege, including 'none'.

Tested: run a new version of ipmitool that calls get channel cipher
        suite as part of session initialization before and after. This
        affects all commands, but raw is the shortest to run, so it is
        used here. (raw 6 1 is get device id).

        Before:
        $ ipmitool -I lanplus -H a.b.c.d -U root -P 0penBmc raw 6 1
        Get Channel Cipher Suites failed: Insufficient privilege level
         23 00 00 01 02 bf 57 01 00 7b 00 99 91 cd 13

        After:
        $ ipmitool -I lanplus -H a.b.c.d -U root -P 0penBmc raw 6 1
         23 00 00 01 02 bf 57 01 00 7b 00 99 91 cd 13

Change-Id: I59a3212f1ea5dc82c545e6ec1ee4a437ec5abfe1
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
1 file changed