User Authencation
更新时间: 2026/08/06
在Gitcode上查看源码User Authencation
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Authenticate the user.
Privilege
UserMgnt
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 91h |
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, sub command=11h |
| 5 | [7]-unlock flag 0-reserved 1-unlock [6:0]-login type: 0- local user only 1- domain user |
| 6:21 | User Name The data length is 16 bytes. If the data length is less than 16 bytes, 0 is filled in. |
| 22:41 | Password The data length is 20 bytes. If the data length is less than 20 bytes, 0 is filled in. |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code 81h User not exist 82h Invalid password |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 5 | User rights: 00h-Reserved 01h-Callback 02h: common user (User level) 03h: operator level 04h-The user is an administrator. 05h-OEM The values 1 and 5 are not used on the web page. |
| 6:9 | PrivilegeMask: reserved. Used for function-based authorization extension. |
Command Example
Authenticate the user.
Request:
bash
ipmitool raw 0x30 0x91 0xdb 0x07 0x00 0x11 0x00 0x41 0x64 0x6d 0x69 0x6e 0x69 0x73 0x74 0x72 0x61 0x74 0x6f 0x72 0x00 0x00 0x00 0x41 0x64 0x6d 0x69 0x6e 0x40 0x39 0x30 0x30 0x30 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00Response:
text
db 07 00 04 ff ff ff ff