fujitsu / fujitsu-ansible-irmc-integration

The Fujitsu Software Serverview Ansible iRMC Integration features modules and playbooks to access and manage Fujitsu PRIMERGY servers via iRMC.
GNU General Public License v3.0
35 stars 6 forks source link

Please add support for ConfLDAPAuthorizationUserGroupName #6

Open kristjankullerkann opened 5 years ago

kristjankullerkann commented 5 years ago

Currently it is possible to configure LDAP settings but no authorization when using "Standard LDAP" e.g user can't login. Or if I am doing something wrong e.g I should use some other task, please let me know :)

kristjankullerkann commented 5 years ago

Worked around it with "set_cs":

  irmc_scci:
    irmc_url: "{{ inventory_hostname }}"
    irmc_username: "{{ irmc_ansible_user }}"
    irmc_password: "{{ irmc_ansible_user_password }}"
    command: "set_cs"
    opcodeext: 0x1AC8
    data: "1"
  delegate_to: localhost
  when: ldap_group_avr_data.data != "1"

https://sp.ts.fujitsu.com/dmsp/Publications/public/dp-svs-configuration-space-values-en.pdf

kristjankullerkann commented 5 years ago

This workaround will not fully solve it as it doesn't seem to be possible to grant redfish access to group with scci.