Discussion:
dsadd group command
(too old to reply)
Rafael
2005-07-08 14:51:05 UTC
Permalink
Hi,

I've been trying to use the dsadd group command, but I got confused with the
command sintax.

I'd like to create a new domain local group.

My domain is pp1.ad.pp.com
The Organization Units path is:
Client\ram\hou\DataGroups

My domain local group will be located into the "DataGroups" OU
--
Muchas gracias / Thanks all for your help
Rafael
Kurt Roggen
2005-07-09 09:51:52 UTC
Permalink
Syntax: dsadd group <GroupDN> [-secgrp {yes | no}] [-scope {l | g | u}]
[-samid <SAMName>] [-desc <Description>] [-memberof <Group ...>]
[-members <Member ...>] [{-s <Server> | -d <Domain>}] [-u
<UserName>]
[-p {<Password> | *}] [-q] [{-uc | -uco | -uci}]

-secgrp {yes | no} Sets this group as a security group (yes) or not
(no) distribution list.
Default: yes.

-scope {l | g | u} Sets the scope of this group: local, global
or universal. If the domain is still in mixed-mode,
then the universal scope is not supported.
Default: global.

-members <Member ...> Adds one or more members to this group. Members are
set by space-separated list of DNs <Member ...>.

For example: dsadd Group "CN=Group1,CN=Users,DC=win2003,DC=lab" -scope
l -secgroup yes
If group should be in Client\ram\hou\DataGroups than
your DN: "CN=DLG1,OU=DataGroups,
OU=hou,OU=ram,OU=Client,DC=pp1,DC=ad,DC=pp,DC=com"
--
Kurt Roggen
http://www.blogontheweb.com/roggenk
Post by Rafael
Hi,
I've been trying to use the dsadd group command, but I got confused with the
command sintax.
I'd like to create a new domain local group.
My domain is pp1.ad.pp.com
Client\ram\hou\DataGroups
My domain local group will be located into the "DataGroups" OU
--
Muchas gracias / Thanks all for your help
Rafael
Loading...