Home
last modified time | relevance | path

Searched hist:cdcdf2b7 (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-host-ipmid/user_channel/
H A Duser_layer.hppcdcdf2b7 Fri Mar 27 19:12:05 CDT 2020 jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> user_channel:Remove unused ipmiUserSetUserName API

ipmiUserSetUserName API signature is changed to use string variable.
So removed unused API

Tested:
Verified using ipmitool commands.
Command: ipmitool user set name 4 user4
Response: //Success
Command: ipmitool user set password 4 asdf1234
Response: Set User Password command successful (user 4)
Command: ipmitool user priv 4 0x03 1
Response: Set Privilege Level command successful (user 4)
Command: ipmitool user set name 14 user13asdfghkjlqwert
Response: Username is too long (> 16 bytes)
Command: ipmitool -I lanplus -C 17 -p 623 -U root -P <password> -H
<BMC-IP> user set name 8 WIJGueNKd
Response: //Success
Command: ipmitool user list 1 //User list for channel 1
Response:
ID Name Callin Link Auth IPMI Msg Channel Priv Limit
1 root false true true ADMINISTRATOR
2 true false false NO ACCESS
3 true false false NO ACCESS
4 user4 true false false OPERATOR
5 WIJGueNKda true false false NO ACCESS
6 true false false NO ACCESS
7 true false false NO ACCESS
8 WIJGueNKd true false false NO ACCESS
9 true false false NO ACCESS

Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: I6ae8349f61fc658d4e74d923711325eae6f8088a
H A Dusercommands.cppcdcdf2b7 Fri Mar 27 19:12:05 CDT 2020 jayaprakash Mutyala <mutyalax.jayaprakash@intel.com> user_channel:Remove unused ipmiUserSetUserName API

ipmiUserSetUserName API signature is changed to use string variable.
So removed unused API

Tested:
Verified using ipmitool commands.
Command: ipmitool user set name 4 user4
Response: //Success
Command: ipmitool user set password 4 asdf1234
Response: Set User Password command successful (user 4)
Command: ipmitool user priv 4 0x03 1
Response: Set Privilege Level command successful (user 4)
Command: ipmitool user set name 14 user13asdfghkjlqwert
Response: Username is too long (> 16 bytes)
Command: ipmitool -I lanplus -C 17 -p 623 -U root -P <password> -H
<BMC-IP> user set name 8 WIJGueNKd
Response: //Success
Command: ipmitool user list 1 //User list for channel 1
Response:
ID Name Callin Link Auth IPMI Msg Channel Priv Limit
1 root false true true ADMINISTRATOR
2 true false false NO ACCESS
3 true false false NO ACCESS
4 user4 true false false OPERATOR
5 WIJGueNKda true false false NO ACCESS
6 true false false NO ACCESS
7 true false false NO ACCESS
8 WIJGueNKd true false false NO ACCESS
9 true false false NO ACCESS

Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: I6ae8349f61fc658d4e74d923711325eae6f8088a