Title: RE: [ActiveDir] CSVDE Importing

This will create a user account, you can loop it feeding it the list.

Set objOU = GetObject("LDAP://OU=management,dc=fabrikam,dc=com")

Set objUser = objOU.Create("User", "cn=MyerKen")

objUser.Put "sAMAccountName", "myerken"

objUser.SetInfo

Rick J. Jones
(NDE) National Desktop Engineering
Phone:425-580-8061

      -----Original Message-----
      From: Tim Krajcar [mailto:[EMAIL PROTECTED]]
      Sent: Monday, February 03, 2003 11:58 AM
      To: [EMAIL PROTECTED]
      Subject: [ActiveDir] CSVDE Importing

      Hey guys.

      I need to set up automated user creation in AD with Exchange 2000.

      I need new users to be created nightly so it will only two or three per day, but it is a real pain to do it manually.

       

      I think I almost have a working 'template' CSV, but I get the following error:

       

      >csvde -v -i -f schmoe.csv
      Connecting to "zorin.ntdom.cupdx"
      Logging in as current user using SSPI
      Importing directory from file "schmoe.csv"
      Loading entries
      2: CN=Joe Schmoe,OU=Testing,DC=ntdom,DC=cupdx
      Add error on line 2: Unwilling To Perform
      The server side error is "Unable to update the password. The value provided for
      the new password does not meet the length, complexity, or history requirement of
       the domain."
      0 entries modified successfully.
      An error has occurred in the program

       

       

      I added a 'unicodePwd' field to my CSV, and that didn't work either.

      Attached is the CSV I'm using. What am I missing? Do I need another command-line tool to update the password? If so, that's fine.. but how do I get csvde to shut up and import it? :)

       

      Thanks for the help.

      Tim Krajcar

      Network Support Technician

      Concordia University - Portland, OR

       

       

Reply via email to