Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
i make an organigation unit i.e guest in win2003 server and make two other organigation unit in guest ou i.e guest1 and guest2 now i want to create users in guest1 unut by using following command
dsadd user "cn=user1,ou=guest,ou=guest1,dc=sales,dc=com"
it do not run show the incorrect format
pl.give the correct command with example.

hi, just one thing that puzzels me a bit... why is your domain name sales.com or was it only an example??
you were just about correct. your ou structure was around the wrong way.
just think of it in this order...
suffix - dc=com
domain - dc=sales
top level ou - ou=guest
secondary ou's - ou=guest1
userdetails - cn=testuserand so on.
here is what you needed. it adds a bit more info for you into AD:
dsadd user "cn=testuser,ou=guest1,ou=guest,dc=sales,dc=com" -samid testuser -upn testuser@sales.com -fn test -ln user display "test user" - pwd testPassword
good luck

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |