Adding users to sub OU using Script

  • Thread starter Thread starter Adnan
  • Start date Start date
A

Adnan

I am using Windows Server 2003 as Domain Controller and i want to add
users using vb script.
my LDAP path is

"LDAP://OU=Student,DC=in,DC=dt,DC=com")

this create the users only in the Student OU but i want to create
users in the Session which is Sub OU of the Student. Cand any body
help me.


Thanks in Advance
 
Hello Adnan,

Just modify your LDAP to:
Set oContainer=GetObject("LDAP://OU=yournewou,OU=Student,DC=in,DC=dt,DC=com")


Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
 
Thanks Meinolf Weber nospam.

I have Done it.




Hello Adnan,

Just modify your LDAP to:
Set oContainer=GetObject("LDAP://OU=yournewou,OU=Student,DC=in,DC=dt,DC=com")

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!!http://www.blakjak.demon.co.uk/mul_crss.htm
 
Back
Top