directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Commented: (DIRLDAP-25) Ldif files must begin with "version: 1"
Date Mon, 14 Feb 2005 18:34:20 GMT
     [ ]
Emmanuel Lecharny commented on DIRLDAP-25:

Yes, you're right, it may be seen as optionnal. I don't know however if it's a good politic
to do so, as the ldif file format could change sooner or later. May be something acceptable
would be at least to log a warning, but still accept the file.

So with the number : even if it's not '1', we may still accept the file, and log a message.

I don't remember if LDIFDE extract a version number out of AD, so in this case, it's really
important to accept a ldif file without any version number : it will allow a M$ "compatibility".

This entry could be changed from "Bug" to "Improvment".

> Ldif files must begin with "version: 1"
> ---------------------------------------
>          Key: DIRLDAP-25
>          URL:
>      Project: Directory LDAP
>         Type: Bug
>     Versions: 0.8.0
>  Environment: not relevant
>     Reporter: Emmanuel Lecharny
>     Assignee: Alex Karasulu
>     Priority: Trivial
>      Fix For: 0.8.1

> RFC 2849 states that a ldif file must start with the 'version: 1' string. LdifParserImpl
does accept files that don't respect this rule.
> It was marked Trivial as this is really not an issue : Microsoft(TM) ldifde.exe tool
accept those kind of files (even worse : it does NOT accept files with a 'version: 1' string
...). I think that it should be an option, but at least, it should verify that the version
number is '1', if present ! (p.5, par.1) 
> BTW, RFC2849 is not very clear on this subject, and could be interpreted as "If <version-spec>
is absent, ..." instead of "If version number is absent..."

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message