Hello and welcome to CertForums.co.uk, here we host free active certification forums with links to the best free resources for Microsoft's MCSA MCSE MCDBA Cisco's CCNA CCDA and CCNP, and CompTIA's A+ Network+ i-NET+ and Security+ certifications in the UK. If you wish to post or use other advanced features you will need to register first. Registration is absolutely free and takes only a few minutes to complete so sign up today!

If you have any problems with the registration process or your account login, please contact support

Go Back   CertForums > Certification Forums > Microsoft Certification Forums > Server Exams
Home Forums Register Search Today's Posts Mark Forums Read

DSADD Problem (Multiple Objects)

Post New ThreadReply
 
Thread Tools Display Modes
  #1  
Old 23-Mar-2008, 05:43 PM
Rover977's Avatar
Rover977 Rover977 is offline
Valued Member
Posts: 100
Points: 249 Rover977 has over 100 pointsRover977 has over 100 pointsRover977 has over 100 points
Power: 5
None
Join Date: 08 Aug 2007
Location: Scotland
Certifications: A+, Network+, Cisco CCNA
DSADD Problem (Multiple Objects)

I am currently studying for 70-290 exam and have encountered a problem with DSADD USER and DSADD GROUP when trying to add multiple objects.

For example :-

C:\DOCUME~1\ADMINI~1>dsadd user
"cn=tst1,ou=marketing,dc=contoso,dc=com"
"cn=tst2,ou=marketing,dc=contoso,dc=com"
^Z
dsadd failed:`cn=tst2,ou=marketing,dc=contoso,dc=com' is an unknown parameter.

Similarly the same error occurs when I enter :-

dsadd user "cn=tst1,ou=marketing,dc=contoso,dc=com" "cn=tst2,ou=marketing,dc=contoso,dc=com"

It seems only one object can be added at a time, but in the Help and Support documentation says otherwise :-

"If you do not supply a target object at the command prompt, the target object is obtained from standard input (stdin). Stdin data can be accepted from the keyboard, a redirected file, or as piped output from another command. To mark the end of stdin data from the keyboard or in a redirected file, use the end-of-file character (CTRL+Z). "

"If a value that you supply contains spaces, use quotation marks around the text (for example, "CN=Mike Danseglio,CN=Users,DC=Microsoft,DC=Com"). "

"If you supply multiple values for a parameter, use spaces to separate the values (for example, a list of distinguished names). "


This is also what it says in the Microsoft 70-290 cert study guide.

Anybody encountered this problem and found the cause of it ? I've seen a couple of people on searching Google who have encountered the same problem but as yet have seen no explanation for it - only suggestions to do it another way.

Many thanks for any help.


B.Sc. Honours Maths (1st Class) Univ of Dundee, A+, N+, CCNA

Last edited by Rover977 : 24-Mar-2008 at 01:40 AM.
 
Reply With Quote
  #2  
Old 23-Mar-2008, 05:52 PM
Sparky's Avatar
Sparky Sparky is offline
Premium Member
Posts: 5,001
Points: 2421 Sparky has over 2000 pointsSparky has over 2000 pointsSparky has over 2000 pointsSparky has over 2000 pointsSparky has over 2000 pointsSparky has over 2000 pointsSparky has over 2000 pointsSparky has over 2000 pointsSparky has over 2000 pointsSparky has over 2000 pointsSparky has over 2000 points
Power: 79
None
Join Date: 15 Dec 2005
Location: Scotland
Age: 29
Certifications: MSc MCSE MCTS N+ A+
WIP: Server 2008 upgrade & 70-284
This might help mate...

http://www.petri.co.il/create_users_...purposes.htm#2


Me: You need to buy a couple of servers.
Customer: Whats wrong with the servers I have?
Me: Well, you dont have *any* servers just now.
Customer: WTF! I thought I did!

 
Reply With Quote
  #3  
Old 23-Mar-2008, 06:08 PM
Rover977's Avatar
Rover977 Rover977 is offline
Valued Member
Posts: 100
Points: 249 Rover977 has over 100 pointsRover977 has over 100 pointsRover977 has over 100 points
Power: 5
None
Join Date: 08 Aug 2007
Location: Scotland
Certifications: A+, Network+, Cisco CCNA
Thanks Sparky, this is a helpful resource. But I still wonder why the original command 'dsadd user' won't work with multiple objects, as described in the MS 70-290 cert guide and in W2K3 Help and Support. dsadd group has the same problem. Of course, as there are many other methods this is not a critical problem.

Cheers
Ross


B.Sc. Honours Maths (1st Class) Univ of Dundee, A+, N+, CCNA
 
Reply With Quote
  #4  
Old 22-Apr-2008, 06:03 AM
minson minson is offline
New Member
Posts: 4
Points: 0 minson has no points
Power: 1
None
Join Date: 22 Apr 2008
Location: CHINA,Guangzhou
Certifications: CCNA,MCP
I have the same problem.Why?

 
Reply With Quote
  #5  
Old 22-Apr-2008, 09:37 AM
minson minson is offline
New Member
Posts: 4
Points: 0 minson has no points
Power: 1
None
Join Date: 22 Apr 2008
Location: CHINA,Guangzhou
Certifications: CCNA,MCP
I had tested dsget and dsmod comand,which is ok.

 
Reply With Quote
  #6  
Old 22-Apr-2008, 05:50 PM
ryanthelion84's Avatar
ryanthelion84 ryanthelion84 is offline
Registered Member
Posts: 66
Points: 0 ryanthelion84 has no points
Power: 1
None
Join Date: 13 Apr 2008
Location: England, UK
Age: 24
Certifications: 70-290
WIP: MCP: 270 > 620 > 291 :MCSA
you could just try dsadd user

this should then allow you to enter each DN followed by RETURN.

CTRL-Z-RETURN should submit the lot once all DNs are entered!

 
Reply With Quote
  #7  
Old 23-Apr-2008, 01:21 AM
minson minson is offline
New Member
Posts: 4
Points: 0 minson has no points
Power: 1
None
Join Date: 22 Apr 2008
Location: CHINA,Guangzhou
Certifications: CCNA,MCP
Rover977 and me had done about "dsadd user",as follows you say,but result didn't so.you should try.

 
Reply With Quote
Post New ThreadReply Spread this thread: Submit this thread to digg Submit this thread to del.icio.us


Go Back   CertForums > Certification Forums > Microsoft Certification Forums > Server Exams


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with XAMPP - localhost does not respond christoph hass Web Design & Graphics 2 29-Dec-2007 04:23 AM
Ubuntu - problem with gui TimoftheC Linux / Unix Discussion 16 30-Oct-2007 11:58 PM
HUGE PROBLEM IN MSN ABOUT MY MIC kobem Hardware & Upgrading 63 14-Oct-2007 08:23 PM
Problem for week 40 Tinus1959 Training & Development 8 02-Oct-2007 02:49 PM
File saving problem in XP Pro nugget Software 4 24-Oct-2006 12:04 AM


All times are GMT. The time now is 08:30 AM.

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
CertForums.co.uk (C) copyright 2003-2007 All Rights Reserved. Content published on CertForums.co.uk requires permission for reprint.
Hosted by Lunarpages