saltstack/salt — pull request #18840 by lomeroe (2014-12-09 15:53:18+00:00)
Title: Modified win_groupadd to use ADSI like win_useradd, added ability to man...

...age AD users/groups via ADSI on a domain controller minion (keying off 'dc=' in username)

mods to win_groupadd.py as referenced in pull request 16988 (been sitting on this code for a while and just haven't had the time to push it up)

I believe it also resolves #11093
May resolve #3106

tested on Windows 2008/2012

lots of changes/options here, would definitely appreciate some additional testing by some other users

user/group state files likely need updating to make full use of the AD capabilities