|
新裝2008 server,想將舊服務器2000 server上的AD用戶導出,然後在2008中導入。我已將2008密碼策略改為簡單的密碼策略,允許空密碼。參考liwentao的教程,在2008中新建OU=test,用 csvde -i -f c:\user.txt 導入,出現如下提示:
C:\>csvde -i -f c:\user.txt
Connecting to "(null)"
Logging in as current user using SSPI
Importing directory from file "c:\user.txt"
Loading entries.
Add error on line 2: Insufficient Rights
The server side error is "Access is denied."
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.
user.txt 文件如下:
DN,objectClass,sAMAccountName,userPrincipalName,displayName,userAccountControl
"CN=test,OU=test,DC=fossilcn,DC=local",user,liwentao,liwentao@winos.cn,test,514
"CN=test1,OU=test,DC=fossilcn,DC=local",user,liwenbin,liwenbin@winos.cn,test1,514
想導出2008 AD,出現如下提示:
C:\>csvde -f c:\user1.txt
Connecting to "(null)"
Logging in as current user using SSPI
Exporting directory to file c:\user1.txt
Searching for entries...
Writing out entries
.............................................................................
....................................................................
Export Completed. Post-processing in progress...
Error opening output file.
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.
希望有经验的朋友指点一下,谢谢! |
|