Closed pierre-claranet closed 1 year ago
As mentioned in https://github.com/ansible-collections/community.windows/pull/481#issuecomment-1399707946, this module will be deprecated sometime soon and we are trying to avoid adding new features to it.
This might be a feature that could be implemented in the microsoft.ad collection but it would have to be generic enough to work for more than just the user module.
Hello @jborean93, I see your point. The "multi domain" feature main logic is generic (query an AD global catalog DC to get the target object). This PR was containing more changes because in case of the user module we are also managing groups, it is a specific and more complex case. I'll probably try again by openning a new PR on the microsoft.ad.user module, and maybe other if I have the time.
SUMMARY
Added multi-domains support:
multi_domains
, when set toyes
, the module will look for the user account in the whole Active Directory forestISSUE TYPE
COMPONENT NAME
win_domain_user
ADDITIONAL INFORMATION