commit | 34698d575975091ebcd95f8b74fa719d6ee7aca6 | [log] [tgz] |
---|---|---|
author | Johnathan Mantey <johnathanx.mantey@intel.com> | Tue Nov 19 14:47:30 2019 -0800 |
committer | Johnathan Mantey <johnathanx.mantey@intel.com> | Fri Nov 22 08:28:52 2019 -0800 |
tree | 14f19c05f04a69a425ac398defef242fa438e328 | |
parent | 4d22640a64b74c11b2cbdadc88d0ffd60d09e274 [diff] |
Fix command privilege for Get LAN Configuration command The Get LAN Configuration command, per the IPMI 2.0 spec, has Operator privilege, not administrator privilege. This is per Table G, Command Number and Privilege Levels. Tested: ipmitool -I lanplus -H obmcjgmwfp -U root -P <pw> lan print Set in Progress : Set Complete Auth Type Support : Auth Type Enable : Callback : : User : : Operator : : Admin : : OEM : IP Address Source : DHCP Address IP Address : 10.243.48.108 Subnet Mask : 255.255.254.0 MAC Address : de:a4:84:d7:2c:28 Default Gateway IP : 10.243.48.1 Default Gateway MAC : 00:00:00:00:00:00 802.1q VLAN ID : Disabled RMCP+ Cipher Suites : 3,17 Cipher Suite Priv Max : Not Available Bad Password Threshold : Not Available ipmitool -I lanplus -H obmcjgmwfp -U operator1 -P <pw> -L operator lan print Set in Progress : Set Complete Auth Type Support : Auth Type Enable : Callback : : User : : Operator : : Admin : : OEM : IP Address Source : DHCP Address IP Address : 10.243.48.108 Subnet Mask : 255.255.254.0 MAC Address : de:a4:84:d7:2c:28 Default Gateway IP : 10.243.48.1 Default Gateway MAC : 00:00:00:00:00:00 802.1q VLAN ID : Disabled RMCP+ Cipher Suites : 3,17 Cipher Suite Priv Max : Not Available Bad Password Threshold : Not Available ipmitool -I lanplus -H obmcjgmwfp -U operator1 -P <pw> lan print Set Session Privilege Level to ADMINISTRATOR failed: Unknown (0x81) Error: Unable to establish IPMI v2 / RMCP+ session Change-Id: I4928c34b68e8f28d2356ff49890daa536bd39b5f Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.