April 2004
Beginner
416 pages
11h 3m
English
In this lab, you are going to practice creating users. You’ll place the user in the OU created in Lab 22. The result of this will eventually become a subroutine that you can employ in other scripts when you need to use Users.
Open Notepad.exe.
On the first line, type Option Explicit.
Declare the following variables: provider, ou, domain, oClass, oCN, objDomain, objUser, oUname, and oDescription.
Assign the LDAP provider to the variable provider. It will look like the following:
provider = "LDAP://"
Assign the Lab22 OU to the OU variable. It will look like the following:
OU = "ou=lab22,"
Assign the domain used in step 5 of Lab 22 to the domain variable. This domain should be the one on your local network ...