Category Archives: Active Directory

LDIFDE : Failed on line 1. The last token starts with ‘ï’.

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”
Loading entries.
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.

utf8

 

 

 

 

 

 

 

 

 

Disclaimer : The author reserves the right not to be responsible for the topicality, correctness, completeness or quality of the information provided.

Migrate a certificate authority from windows 2003 to windows 2008 R2

Today I was moving an enterprise root CA from a Windows 2003 server to a new Windows 2008 R2 with a different server name. To accomplish this, I used this excellent blog post from SMTP port 25 . I encountered no problems!

 

Disclaimer : The author reserves the right not to be responsible for the topicality, correctness, completeness or quality of the information provided.