Set LDAP Configuration
更新时间: 2026/08/06
在Gitcode上查看源码Set LDAP Configuration
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
LDAP attributes can be set.
Privilege
UserMgmt
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 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=83h |
| 5 | ControllerId: LDAP controller ID |
| 6 | GroupId: LDAP group ID, which can be ignored when controller attributes are set. |
| 7 | Parameter Selector. For details about the function number, see Table 1. |
| 8:9 | Reserved |
| 10 | Flag: indicates the additional parameter of the current command. It is used only for the password change policy upon the first login and is ignored in other settings. [7]:[6]: reserved [5]:[0]: UserId, |
| 11 | Offset of the written data, starting from 0. CAUTION: When the data is long and needs to be written for multiple times, the data must be written from the beginning to the end in sequence. |
| 12 | Length: write length |
| 13:N | Written data |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 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. |
Table 1 Querying and setting LDAP function options
| Function ID | Function |
|---|---|
| 01h | LDAPS port of the domain controller. The value ranges from 1 to 65535. |
| 02h | Domain controller binding ID. The value is a string of a maximum of 255 characters. |
| 03h | Password bound to the domain controller. The value contains a maximum of 20 characters. |
| 04h | Application folder of the domain controller user. The value contains a maximum of 255 characters. |
| 05h | Domain controller server address. The value contains a maximum of 255 characters. |
| 06h | Domain name of the domain controller. The value contains a maximum of 255 characters. |
| 07h | Indicates whether to enable domain controller certificate verification. 0: disable; 1: enable. |
| 08h | Domain controller certificate verification level. 2: required; 3: allow. |
| 09h | Indicates whether to enable the domain controller. 0: disable; 1: enable. |
| 10h | Group name. The value contains a maximum of 255 characters. |
| 11h | Group permissions 2: CommonUser 3:Operator 4:Administrator |
| 12h | Group permission mask. The value contains a maximum of 255 characters. |
| 13h | Group domain. The value contains a maximum of 255 characters. |
| 14h | Group Login Rule Least significant bit 1: Rule 1 Least significant bit 2: Rule 2 Least significant bit 3: Rule3 |
| 15h | Group application folder. The value can contain a maximum of 255 characters. |
Command Example
Set the port number of controller 1 to 600.
Request:
bash
ipmitool raw 0x30 0x93 0xdb 0x07 0x00 0x83 0x01 0x01 0x01 0x00 0x00 0x00 0x00 0x02 0x02 0x58Response:
text
db 07 00