Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-4962

[ansible-freeipa] IPA user module lacks the "rename" field.

    • ansible-freeipa-1.12.1-1.el9
    • None
    • None
    • 1
    • rhel-sst-idm-ipa
    • ssg_idm
    • 24
    • 25
    • 1
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • No
    • 2024-Q1-Alpha-S3
    • Enhancement
    • Hide
      .The `ansible-freeipa` `ipauser` and `ipagroup` modules now support a new `renamed` state

      With this update, you can use the `renamed` state in `ansible-freeipa` `ipauser` module to change the user name of an existing IdM user. You can also use this state in `ansible-freeipa` `ipagroup` module to change the group name of an existing IdM group.
      Show
      .The `ansible-freeipa` `ipauser` and `ipagroup` modules now support a new `renamed` state With this update, you can use the `renamed` state in `ansible-freeipa` `ipauser` module to change the user name of an existing IdM user. You can also use this state in `ansible-freeipa` `ipagroup` module to change the group name of an existing IdM group.
    • Done
    • None

      Description of problem:
      ipauser module lacks support for the rename field.

      Version-Release number of selected component (if applicable):
      ansible-freeipa-1.11.1-1

      Additional info:
      [root@master ~]# ipa user-show testuser
      User login: testuser
      First name: user
      Last name: test
      Home directory: /home/testuser
      Login shell: /bin/sh
      Principal name: testuser@IPADOMAIN.TEST
      Principal alias: testuser@IPADOMAIN.TEST
      Email address: testuser@ipadomain.test
      UID: 1428000004
      GID: 1428000004
      Account disabled: False
      Password: False
      Member of groups: ipausers
      Kerberos keys available: False

      [root@master ~]# ipa user-mod testuser --rename=01testuser --first=01user --last=01test
      ------------------------
      Modified user "testuser"
      ------------------------
      User login: 01testuser
      First name: 01user
      Last name: 01test
      Home directory: /home/testuser
      Login shell: /bin/sh
      Principal name: 01testuser@IPADOMAIN.TEST
      Principal alias: 01testuser@IPADOMAIN.TEST,
      testuser@IPADOMAIN.TEST
      Email address: testuser@ipadomain.test
      UID: 1428000004
      GID: 1428000004
      Account disabled: False
      Password: False
      Member of groups: ipausers
      Kerberos keys available: False

              rjeffman@redhat.com Rafael Jeffman
              mvarun@redhat.com Varun Mylaraiah
              Rafael Jeffman Rafael Jeffman
              Varun Mylaraiah Varun Mylaraiah
              Filip Hanzelka Filip Hanzelka
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: