mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Use the priv level requested on the command line (default == USER) in the
RAKP1 message
This commit is contained in:
parent
85ed419117
commit
00e0c7d7fb
@ -1981,7 +1981,7 @@ static int ipmi_lanplus_rakp1(struct ipmi_intf * intf)
|
||||
* Requested maximum privilege level.
|
||||
*/
|
||||
msg[24] = 0x10; /* We will specify a name-only lookup */
|
||||
msg[24] |= IPMI_PRIV_ADMIN;
|
||||
msg[24] |= session->privlvl;
|
||||
session->v2_data.requested_role = msg[24];
|
||||
|
||||
msg[25] = 0; /* reserved */
|
||||
|
Loading…
x
Reference in New Issue
Block a user