Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem using ldifde/csvde to import user list

Status
Not open for further replies.

zacca

Technical User
Dec 25, 2003
333
HK
Hi there,

I got problem when using ldifde & csvde to import user into 2000 AD.

Add error on line 1: Invalid Syntax
The server side error is "The parameter is incorrect."
An error has occurred in the program

Compare to other entries which successfully imported, I guess it was related to username format of "A.B. CCCC"
For example,
Entry DN: CN=A.B. CCCC,CN=Users,DC=domain,DC=com

So wondering for this kind of username, what is the correct syntax to used in ldifde/csvde?

Many thanks!
 
use quotes (Just guessing here) But I would try to use quotes around the user name.

Joseph L. Poandl
MCSE 2003

If your company is in need of experts to examine technical problems/solutions, please check out (Sales@njcomputernetworks.com)
 
Hi Joseph,

I added " " but it didn't work in w2k ad with both ldifde & csvde. This is my csv file:

DN,cn,company,countryCode,c,department,displayName,mail,facsimileTelephoneNumber,givenName,objectCategory,objectClass,homePhone,mobile,physicalDeliveryOfficeName,sAMAccountName,sn,telephoneNumber,co,title,userPrincipalName
"CN=K. H. Chan,CN=Users,DC=domain,DC=com",K. H. Chan,ABC Co Ltd,344,HK,General,K. H. Chan,khChan@domain.com,+852 12345678,K. H.,"CN=Person,CN=Schema,CN=Configuration,DC=domain,DC=com",user,+852 23456789,+852 34567890,HK,khChan,Chan,+852 12341234,HONG KONG S.A.R.,Manager,khChan@domain.com

I tried to change the quote from " " to ' ' & ` ` & "" "" but still didn't work.

Wondering what's wrong? Many thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top