[Date Prev][Date Next] [Chronological] [Thread] [Top]

FAQ with DOS files



Hi,

I found a common error for ldapadd (and other errors) that may skip your
attention.

If you use an LDIF file in DOS format (CR/LF) instead of unix format (LF)
you will see the LDIF file is not accepted. Even if the LDIF itself is
good.

Using a tool like dos2unix or a command like `tr -d "\r" < file.dos >
file.unix` will save the day.

Hugo.

-- 
Hugo van der Kooij; Oranje Nassaustraat 16; 3155 VJ  Maasland
hvdkooij@caiw.nl	http://home.kabelfoon.nl/~hvdkooij/
--------------------------------------------------------------
This message has not been checked and may contain harmfull content.