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

Re: Adding users to sub OU using Script by Meinolf

Meinolf
Sat Feb 16 12:04:25 PST 2008

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

> 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
>



Re: Adding users to sub OU using Script by Adnan

Adnan
Tue Feb 19 21:30:10 PST 2008

Thanks Meinolf Weber nospam.

I have Done it.




On Feb 17, 1:04=A0am, Meinolf Weber <meiweb(nospam)@gmx.de> wrote:
> Hello Adnan,
>
> Just modify your LDAP to:
> Set oContainer=3DGetObject("LDAP://OU=3Dyournewou,OU=3DStudent,DC=3Din,DC=
=3Ddt,DC=3Dcom")
>
> Best regards
>
> Meinolf Weber
> Disclaimer: This posting is provided "AS IS" with no warranties, and confe=
rs
> no rights.
> ** Please do NOT email, only reply to Newsgroups
> ** HELP us help YOU!!!http://www.blakjak.demon.co.uk/mul_crss.htm
>
> > I am using Windows Server 2003 as Domain Controller and i want to add
> > users using vb script.
> > my LDAP path is
> > "LDAP://OU=3DStudent,DC=3Din,DC=3Ddt,DC=3Dcom")
>
> > 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