Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NET GROUP & DSMOD GROUP commands?

Status
Not open for further replies.

cpjust

Programmer
Sep 23, 2003
2,132
US
Hi,
I'm trying to add users to a group using NET GROUP but it keeps telling me the group doesn't exist.
I have a group called "Dom_UNIX" and when I do:
Code:
NET GROUP Dom_UNIX
it should print out the users in that group, or when I do:
Code:
NET GROUP Dom_UNIX User1 /ADD /DOMAIN
but both say:
The group name could not be found.

I also tried the DSMOD command version with:
Code:
dsmod group Dom_UNIX -addmbr User1
but it says:
dsmod failed:Value for `Target object for this command' has incorrect format.

What's going on?
 
Some more info...
I just realized one thing. When I ran NET GROUP, it displayed some groups but not others. All the groups that were displayed had a type of "Security Group - Global", but my groups are "Security Group - Local Domain".

Can I add members to a "Local Domain" group on the command line?
 
OK, I found there's also a NET LOCALGROUP command to make that work.
Is there a way to get DSMOD to work with a local group?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top