hmc_configure_ldap
Configure LDAP server integration for IBM HMC by specifying server URL, bind credentials, search base, and group mappings to control HMC access.
Instructions
Configure the HMC LDAP server integration.
server_url is the LDAP or LDAPS URL (e.g. 'ldap://ldap.example.com' or 'ldaps://ldap.example.com:636'). Only the fields you supply are changed.
base_dn: LDAP search base (e.g. 'dc=example,dc=com'). bind_dn: DN of the account used to bind for searches. bind_pw: password for the bind account. search_filter: LDAP search filter (e.g. '(objectClass=person)'). hmc_groups: comma-separated LDAP groups mapped to HMC access. group_member_attributes: LDAP attribute used for group membership.
Equivalent to Ansible hmc_user action=configure_ldap.
Returns the updated LDAP configuration resource dict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_dn | No | ||
| bind_dn | No | ||
| bind_pw | No | ||
| hmc_groups | No | ||
| server_url | Yes | ||
| search_filter | No | ||
| group_member_attributes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |