When running an ldif import you see the error message :
Connecting to “localhost”
Logging in as current user using SSPI
Importing directory from file “TestUser.ldif”
There is a syntax error in the input file
Failed on line 1. The last token starts with ‘ï’.
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.
The file was saved in the UNICODE format, and ldifde likes UTF-8 more. What you have to do is open the file in notepad in save it in the UTF-8 format or use the parameter -u to tell ldifde to use unicode. You can do this by clicking the encoding drop-down-box. Run ldifde again, and see if it run’s correctly.
Disclaimer : The author reserves the right not to be responsible for the topicality, correctness, completeness or quality of the information provided.