|
| ||||||||||
| Tags: active directory, domain controller, dsadd script, dsadd user, windows server |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Problem with dsadd user - directory not found
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. |
|
#2
| ||||
| ||||
| 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
__________________ Education, Career and Job Discussions |
|
#3
| |||
| |||
| 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. |
|
#4
| |||
| |||
| 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. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Problem with dsadd user - directory not found" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting directory not found error 425 on FileZilla Server | Vijayabhas | Networking & Security | 3 | 18-01-2012 07:40 PM |
| 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 |