csv2ldif2 is a command line tool written in perl that converts CSV files to LDIF files. Features: Platform independent, reads from STDIN and writes to STDOUT, ignoring/selecting specific fields of the CSV, choosing a custom base-dn and much more!
Available options of csv2ldif2 1.1
Project Admins:
In case you get encoding problems with EXCEL exported CSV-files, you probably need to adjust the CSV delimeter and the input encoding:
csv2ldif2.pl -e CP850 -d ';' ...
The codeset used by your excel varies by region (OS localization) and excel version, so you probably need to search the ionternet in case the above example (or CP1250 to CP1259, or latin1) does not work.