Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Problem with dsadd user - directory not found

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 09-11-2011
Member
 
Join Date: Nov 2011
Posts: 2
Problem with dsadd user - directory not found

hi
i use the following command for add user but message that directory not found!

dsadd user "cn=mike, ou=departemant, ou=dep1, dc=test, dc=com" -pwd 123 -disabled no

please help me.

Reply With Quote
  #2  
Old 09-11-2011
Member
 
Join Date: Dec 2007
Posts: 1,583
Re: Problem with dsadd user - directory not found

After check the for solutions i found out that the code that you are using is proper, that is;

"cn=User01,ou=moncton,dc=dahouse,dc=deyoung,dc=com"

Also, without pulling up a cmd and trying it myself, one suggestion I would have is to split your batch file into 2 parts. First the dsadd user, then a second command using dsmod to add the users to the group:

dsmod group group_dn -addmbr member_dn
Reply With Quote
  #3  
Old 04-05-2012
Member
 
Join Date: May 2011
Posts: 269
Re: Problem with dsadd user - directory not found

There would be certain issue with the syntax that you are using. Try to remodify the same and then check. Ensure that the domain which you are providing in the syntax should be live or else the error is common. And if the error continous it is recommended that you must build each and every common one by one. If the there is something broken in the syntax you cannot add user via dsadd. There are certain sample scripts on the web which can help you to generated a automated bat file for the process.
Reply With Quote
  #4  
Old 05-05-2012
Member
 
Join Date: Jul 2011
Posts: 346
Re: Problem with dsadd user - directory not found

Even I will advice you to have a look on the syntax first. Before the object directory not found error appears when you had not provided a proper domain controller or when there is something missing. A common examle of dsadd is - dsadd ou "ou=guyds, dc=cp, dc=com". Here you have to add properly information related to your user addition in specificied directory.
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Problem with dsadd user - directory not found"
Thread Thread Starter Forum Replies Last Post
No such files or directory found error in Grub2 partition Vaikuntam Operating Systems 3 04-01-2011 06:14 AM
Error 404 - File or Directory not found Ameya Technology & Internet 3 28-02-2009 08:52 PM
Getting the properties of a DirectoryEntry (local user) in c# whenthe user is a domain account? Active Directory Michael Howes Active Directory 5 13-06-2007 07:23 AM
DSADD user -memberof usage Norika Active Directory 3 13-03-2007 08:51 PM


All times are GMT +5.5. The time now is 07:27 PM.