ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
812 stars 1.49k forks source link

community.general.udm_user - no primary group handling #3691

Open Nox-404 opened 2 years ago

Nox-404 commented 2 years ago

Summary

When trying to create a user with udm_user, we cannot set the primary_group

Issue Type

Bug Report

Component Name

community.general.udm_user

Ansible Version

$ ansible --version
ansible 2.10.14
  python version = 3.6.8

Community.general Version

$ ansible-galaxy collection list community.general
community.general 1.3.2

Configuration

$ ansible-config dump --only-changed

OS / Environment

CentOS 7

Steps to Reproduce

- udm_user:
    name: user1
    password: password1
    primary_group: cn=mygroup,cn=groups,dc=my-domain,dc=my-tld

Expected Results

The user should have mygroup as primary group.

Actual Results

The user will have Domain Users for it's primary group.

Code of Conduct

ansibullbot commented 2 years ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot commented 2 years ago

cc @keachi click here for bot help

ansibullbot commented 1 year ago

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help