DM-
SV01 Server ● BMC User Manual ● Rev. 2.1
112
URI
https://<BMC_IP>/redfish/v1/AccountService
Payload
{
"ActiveDirectory": {
"Authentication": {
"Password": "ldappassword",
"Username": "CN=user1,OU=Users,DC=mycompany,DC=com"
},
"LDAPService": {
"SearchSettings": {
"BaseDistinguishedNames": [
"DC=mycompany,DC=com"
],
"GroupsAttribute": "gid",
"UsernameAttribute": "cn"
}
},
"ServiceAddresses": [
"ldap://mycompany.com"
],
"ServiceEnabled": true
}
}
Header
X-Auth-
Token: “<token>”
Expected
response
200 OK
Reply
Same as payload
Once the operation is successful, it returns the response “200 OK” and the Active Directory is configured
according to the data sent inside the payload of the request operation.