New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
win_domain_user CN name #44757
Comments
Files identified in the description: If these files are inaccurate, please update the |
I'm not sure this is even possible, I was under the assumption that the Common-Name could only be set on creation and cannot be changed unless you delete and recreate the user. The module supports the |
This is a creation of a user. The display name (CN) under active directory users and computers mmc just shows the username. When manualy creating a user the full displayed name can be edited. |
cc @if-meaton |
Files identified in the description: If these files are inaccurate, please update the |
The issue is that system attributes cannot be changed like regular attributes are changed. In order to modify the CN/name of a user the Rename-ADObject command should be used. This means that those two additional attributes should be handled separately than the other additional attributes. Probably it would even make more sense to take them out as separate parameters of the win_domain_user module and handle their change with the above mentioned command. By the way, there seems to be an alternative way of doing what you're trying to achieve as described in #45298. Unfortunately this other way is also not fully functional at the moment. |
Closing since this seems to have no solution |
SUMMARY
Module win_domain_user has no option to edit CN (Full Name).
ISSUE TYPE
COMPONENT NAME
win_domain_user
ANSIBLE VERSION
STEPS TO REPRODUCE
EXPECTED RESULTS
User created with displayed full name (CN)
ACTUAL RESULTS
User is created. But CN name is same as username.
The text was updated successfully, but these errors were encountered: