User Authencation
更新时间: 2026/08/06
在Gitcode上查看源码

User Authencation

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Authenticate the user.

Privilege

UserMgnt

Command Information

Request Information

ByteData Field
NetFn30h
CMD91h
1:3Manufacturer 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.
4Sub command, sub command=11h
5[7]-unlock flag
0-reserved
1-unlock
[6:0]-login type:
0- local user only
1- domain user
6:21User Name
The data length is 16 bytes. If the data length is less than 16 bytes, 0 is filled in.
22:41Password
The data length is 20 bytes. If the data length is less than 20 bytes, 0 is filled in.

Response Information

ByteData Field
1Completion Code
81h User not exist
82h Invalid password
2:4Manufacturer 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.
5User 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:9PrivilegeMask: 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 0x00

Response:

text
 db 07 00 04 ff ff ff ff

Back to Index