Trying to import a well-formed LDIF file into LDB causes it to break with Error: First line of ldif must be a dn not 'version' Modified 0 records successfully According to http://tools.ietf.org/html/rfc2849#page-2 "Formal Syntax Definition of LDIF", version-spec is mandatory.