I am working on a script to move users from the default users container to OU's that we specify. The goal is to be able to run an nlist from Novell to a text file and then have the script move the users in each text file to their designated OU's. I have looked around at a couple different places and have not found anything like this. Below is the script I was trying to use from Microsoft's scripting center, but I receive and an error when I run it that states object does not exist on the specified server. I checked in ADUC and the ID is there, so I am not sure why it cannot find it.

Set objOU = GetObject("LDAP://ou=users,dc=NTDEV3,dc=KEMET,dc=com")
 objOU.MoveHere _
  "LDAP://cn=Gberar1,OU=ACCT,dc=NTDEV3,dc=KEMET,dc=com", vbNullString

I have tried adding cn=Gberar1 to the beginning of the first statement and this does not help. I am sure it is something simple that I am missing but I cannot figure it out. Any help would be greatly appreciated.

Thanks
John Hicks | KEMET Electronics Corporation | Network Engineer
Phone: 864-228-4473
| E-mail: [EMAIL PROTECTED] | AOL IM: ipaq1978
[
Mailing: 2835 KEMET Way  Simpsonville, SC 29681 USA ]


Reply via email to