ADGroup: Cannot Manage Child Domain User Membership Using DistinguishedName in v6.1.0-preview0006 #633
Labels
blocking release
The issue or pull request is blocking the next release. Higher priority than label 'High priority'.
bug
The issue is a bug.
help wanted
The issue is up for grabs for anyone in the community.
Details of the scenario you tried and the problem that is occurring
With the preview module
v6.1.0-preview0006
, containing the modifiedADGroup
resource code from PR #620, managing child domain user membership of an AD Group using theDistinguishedName
MembershipAttribute now fails.This is a blocker for the release of
v6.1.0
of the module.Verbose logs showing the problem
Suggested solution to the issue
The
Get-ADObject
call in theResolve-MembersSecurityIdentifier
common function is failing to get details of the user from the child domain. This can be resolved by targeting a global catalog server on this call-Server :3268
, which then allows child domain users specified as Distinguished Names to be successfully added to groups. This does not allow the removal of child domain users however, which fail with the following error:Investigating this, it looks as if removing child domain members of a group by specifying the user SID in the
Remove
parameter ofSetADGroup
does not work. i.e.Unfortunately, the group membership processing change that was introduced in PR #620 to resolve managing user membership across one way forest trusts currently relies on this functionality.
The DSC configuration that is used to reproduce the issue (as detailed as possible)
The operating system the target node is running
Version and build of PowerShell the target node is running
Version of the DSC module that was used
v6.1.0-preview0006
The text was updated successfully, but these errors were encountered: