日期:2014-05-17  浏览次数:20844 次

LDIFDE 命令问题
Hi all,

我在操作ldifde -i -f adduser.ldf -k 文件内容包括以下:
DN: cn=Tony Krijnen,ou=people,dc=ewen,dc=com,dc=cn
changeType: add
CN: Tony Krijnen
objectClass: user
sAMAccountName: Tony.Krijnen
userPrincipalName: Tony.Krijnen@ewen.com.cn
giveName: Tony
sn: Krijnen
displayName: Tony,Krijnen
mail: Tony.Krijnen@ewen.com.cn
description: sales Representative in the USA
title: Sales Representative
department: Sales
company: Ewen,Ltd.

命令出错
Connecting to "ewenAD.ewen.com.cn"
Logging in as current user using SSPI
Importing directory from file "adduser.txt"
Loading entries.
Add error on entry starting on line 1: No Such Attribute
The server side error is: 0x57 The parameter is incorrect.
The extended server error is:
00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion operati
on, data 0, v1db1
0 entries modified successfully.
An error has occurred in the program
No log files were written. In order to generate a log file, please
specify the log file path via the -j option.

我不明白呀,我错在哪里了,高手来指点下。

------解决方案--------------------
帮你结贴