Import User Objects Using CSVDE in Windows Server 2003 evaluation version.


(1) opened not pad.
(2) typed following information carefully.

dn,objectclass,samaccountname,sn,givenname,userprincipalname

"cn=danielle tiedt,ou=employees,
dc=contoso,dc=com",user,dtiedt,tiedt,danielle,danielle.tiedt@contoso.com

"cn=lorrin smith-bates,ou=employees,
dc=contoso,dc=com",user,lsmithbates,smith-bates,lorrin,lorrin.smithbates@contoso.com

(3) save file "c:\users.csv" beging surround filename quoate marks.  without quote marks, file saved c:\users.csv.txt.
(4) open command prompt type following command:

csvde -i -f c:\users.csv

i conducted line 4.

c:\documents , setting\administrator> csvde -i -f c:\users.csv

i received error.

connecting "<null>"
logging in current user using sspi
importing directories file "c:\users.csv"
loading entries.
parsing error.  last read character 32
syntax error on line 3
0 entries modified successfully.
an error has occured in program
no log files written.  in order generate log file, please
specify log file path via j option.

(5) if command output confirms command completed successfully, open active directory users , computers confirm object s created.  if command output suggests there errors, open users.csv file in notepad , correct errors.

i found no errors in note pad document.  can please?

hi cat11432,

sorry misunderstanding.

in error message:

"importing directories file "c:\users.csv"
loading entries.
parsing error.  last read character 32
syntax error on line 3"

which illustrates issue more related file missing.

based on tests, command "csvde" doesn't recognize the file path "c:\", it can not load "c:\users.csv" filename. to workaround this, need remove "c:\" in command. try follwoing command:

-----------------------
c:\documents , settings\administrator>cd\

c:\>csvde -i -f users.csv
connecting "(null)"
logging in current user using sspi
importing directory file "users.csv"
loading entries...
2 entries modified successfully.

the command has completed successfully

c:\>
-----------------------
best regards,
wilson jia


this posting provided "as is" no warranties, , confers no rights.


Windows Server  >  File Services and Storage



Comments

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...