LPetersson
asked on
How to use DSMOD to add user from a different domain to a Distribution List or Security Group
I may be doing something wrong when I try to add a user from another domain in the forest using DSMOD.
This is the syntax I use:
dsquery user forestroot -name "<NAME OF USER>" | dsmod group "DN OF GROUP" -addmbr
When I use that command and the user is in the London domain it works fine, but if I try with a user from, for example, Japan, then it fails with the error: The specified group type is invalid.
This happens for both Security and Distribution groups. And they are, naturally, universal groups.
If I add the users via Active Directory Users & Groups MMC, then I can add them fine.
This is the syntax I use:
dsquery user forestroot -name "<NAME OF USER>" | dsmod group "DN OF GROUP" -addmbr
When I use that command and the user is in the London domain it works fine, but if I try with a user from, for example, Japan, then it fails with the error: The specified group type is invalid.
This happens for both Security and Distribution groups. And they are, naturally, universal groups.
If I add the users via Active Directory Users & Groups MMC, then I can add them fine.
ASKER
Really? Damn, that's a shame.
Well, I would prefer to use groups like that, but this client isn't too keen on nested groups except where absolutely necessary.
Well, I would prefer to use groups like that, but this client isn't too keen on nested groups except where absolutely necessary.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hmmm, unfortunately that doesn't work for me.
When I use that syntax I still get the error: The specified group type is invalid.
Our domain functional level is indeed Windows 2003 mode.
When I use that syntax I still get the error: The specified group type is invalid.
Our domain functional level is indeed Windows 2003 mode.
Are you sure that you have Universal groups ? Could you post syntax here, please?
Krzysztof
Krzysztof
ASKER
Yupthey were universal groups and it eventually did work.
Thanks for the help.
Thanks for the help.
You're welcome :)
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
Regards,
Krzysztof