PATCH – Update global account lockout properties and LDAP properties
Use the PATCH method to update properties in AccountService resource for Redfish service.
Request URL
PATCH https://<BMC_IPADDR>/redfish/v1/AccountService
Request body
Properties to be updated are shown as bellow.
Field | Type | Description | |||
---|---|---|---|---|---|
AccountLockoutDuration | Number | The time in seconds an account is locked after the account lockout threshold is met. The range of this value is 60~172800. | |||
AccountLockoutThreshold | Number | The number of failed login attempts before a user account is locked for a specified duration. The value should be between 0 and 10. | |||
MinPasswordLength | Number | The minimum password length that the implementation will allow a password to be set to. By default, this value is 10. | |||
LDAP | Object | The first LDAP external account provider this AccountService supports. | |||
ServiceAddresses | String | This property contains the addresses of the user account providers this resource references. The format of this field depends on the Type. | |||
LDAPService | Object | This property contains additional mapping information needed to parse a generic LDAP service. | |||
SearchSettings | Object | This property contains the settings needed to search an external LDAP service. | |||
BaseDistinguishedNames | String | The base distinguished names to use when searching the LDAP service. | |||
GroupNameAttribute | String | The attribute name that contains the name of the Group on the group LDAP entry. | |||
GroupsAttribute | String | The attribute name that contains the Groups for a user on the user LDAP entry. | |||
UsernameAttribute | String | The attribute name that contains the Username on the user LDAP entry. | |||
Authentication | Object | This property contains the authentication information for the external account provider. | |||
Username | String | This property contains the username of authentication used to connect to the external account provider. | |||
Password | String | This property contains the password of authentication used to connect to the external account provider. | |||
LocalAccountAuth | String | This property shall govern how the service uses the Accounts collection within this AccountService as part of authentication. Details about each of the modes are found in the description of the enum values. |
Response body
The response returns the same content as GET operation with updated properties.
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |