Set LDAP Configuration
更新时间: 2026/08/06
在Gitcode上查看源码

Set LDAP Configuration

Change History

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

Basic Information

Function Description

LDAP attributes can be set.

Privilege

UserMgmt

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
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=83h
5ControllerId: LDAP controller ID
6GroupId: LDAP group ID, which can be ignored when controller attributes are set.
7Parameter Selector. For details about the function number, see Table 1.
8:9Reserved
10Flag: 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,
11Offset 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.
12Length: write length
13:NWritten data

Response Information

ByteData Field
1Completion Code
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.

Table 1 Querying and setting LDAP function options

Function IDFunction
01hLDAPS port of the domain controller. The value ranges from 1 to 65535.
02hDomain controller binding ID. The value is a string of a maximum of 255 characters.
03hPassword bound to the domain controller. The value contains a maximum of 20 characters.
04hApplication folder of the domain controller user. The value contains a maximum of 255 characters.
05hDomain controller server address. The value contains a maximum of 255 characters.
06hDomain name of the domain controller. The value contains a maximum of 255 characters.
07hIndicates whether to enable domain controller certificate verification. 0: disable; 1: enable.
08hDomain controller certificate verification level. 2: required; 3: allow.
09hIndicates whether to enable the domain controller. 0: disable; 1: enable.
10hGroup name. The value contains a maximum of 255 characters.
11hGroup permissions
2: CommonUser
3:Operator
4:Administrator
12hGroup permission mask. The value contains a maximum of 255 characters.
13hGroup domain. The value contains a maximum of 255 characters.
14hGroup Login Rule
Least significant bit 1: Rule 1
Least significant bit 2: Rule 2
Least significant bit 3: Rule3
15hGroup 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 0x58

Response:

text
db 07 00

Back to Index