On 8/25/10 8:21 PM, Stefan Seelmann wrote:
I have used Apache Directory Studio for a while now, and it seems that in
one of the more recent releases, a version line has been added to the LDIF
output file if you export a record.  The file used to just start with the DN
line of the first record.  Is there a way to suppress the version line?
Yes, that was added with version 1.5.0, see
https://issues.apache.org/jira/browse/DIRSTUDIO-486.

There is now way to supress the version line during export, please
file a new issue.

s/now/no/

The 'version: 1' line is mandatory per RFC 2849 :

ldif-file                = ldif-content / ldif-changes

ldif-content             = version-spec 1*(1*SEP ldif-attrval-record)

version-spec             = "version:" FILL version-number

...


As a workaround, as you wrote "if you export a record": If you only
want to copy the LDIF of a single entry or some entries you can select
the entries and choose "Advanced ->  Copy Entry as LDIF" from context
menu.

Kind Regards,
Stefan



--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to