|
Home > Archive > alt.certification.mcse > October 2003 > DSadd syntax
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| I'm trying to figure out how to use ds*** commands in Win03 such as
dsadd for example. I cannot figure out the correct syntax and microsoft
technet and help files are useless. So could someone please tell me what
would be the exact command with the least amount of attributed needed to
create a new user name johndoe. Thanks a bunch.
| |
| MCSE World 2003-10-02, 4:25 pm |
| How about this:
dsadd user UserDN [-UPN UPN] [-samid SAMName] -pwd {Password|*}
If you want a great (and easy to use) referrerance to most commonly used
command line tools, check out the Syngress 70-292 Study Guide. Not only are
they located throughout the book in each chapter, but there is also an
entire appendix dedicate to them.
http://www.bookpool.com/.x/ptkka2d1...1?qs=1932266569
Best,
Will
www.mcseworld.com
"User" <user@user.com> wrote in message
news:3f7a3b88_4@newsfeed.slurp.net...
> I'm trying to figure out how to use ds*** commands in Win03 such as
> dsadd for example. I cannot figure out the correct syntax and microsoft
> technet and help files are useless. So could someone please tell me what
> would be the exact command with the least amount of attributed needed to
> create a new user name johndoe. Thanks a bunch.
>
>
| |
| mikefoot2 2003-10-03, 7:25 pm |
| create a bat file use below for user info - call it staff.bat
call mkstudent.bat ARMSTONG Tracy staff 13 Tracy
MAKE Second bat call it mkstaff.bat
manually create Group(staff) and OU (staff)
change the domain arnewood.net for yours
(the iisftp part at the end is optional - its for user isolation FTP)
mkdir c:\users\staff\%5
net share %5$="c:\users\staff\%5" /GRANT:everyone,Full
dsadd user " CN=%5,ou=staff,DC=arnewood,DC=
net" -samid %5 -upn
%5@arnewood.net -fn %2 -ln %1 -display "%2 %1" -pwd %2 -desc Staff -memberof
cn=staff,ou=staff,dc=Arnewood,
dc=net -email %2.%1@Arnewood.net -hmdir
\\server1\%5$ -hmdrv Z -profile \\server1\%5$\profile -loscr
\\server1\netlogon\standard.bat -mustchpwd no -canchpwd yes -disabled no
cacls c:\users\staff\%5 /e /g %5:c
iisftp /SetADProp %5 FTPRoot c:\users\staff
iisftp /SetADProp %5 FtPDir %5
"MCSE World" <admin.nospam@mcseworld.nospam.com.nospam> wrote in message
news:NY_eb.2998$4T.1207@news1.central.cox.net...
> How about this:
>
> dsadd user UserDN [-UPN UPN] [-samid SAMName] -pwd {Password|*}
>
> If you want a great (and easy to use) referrerance to most commonly used
> command line tools, check out the Syngress 70-292 Study Guide. Not only
are
> they located throughout the book in each chapter, but there is also an
> entire appendix dedicate to them.
>
> http://www.bookpool.com/.x/ptkka2d1...1?qs=1932266569
>
> Best,
> Will
> www.mcseworld.com
>
>
>
>
>
>
>
>
>
> "User" <user@user.com> wrote in message
> news:3f7a3b88_4@newsfeed.slurp.net...
> > I'm trying to figure out how to use ds*** commands in Win03 such as
> > dsadd for example. I cannot figure out the correct syntax and microsoft
> > technet and help files are useless. So could someone please tell me what
> > would be the exact command with the least amount of attributed needed to
> > create a new user name johndoe. Thanks a bunch.
> >
> >
>
>
|
|
|
|
|