Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 97578 invoked from network); 28 Jan 2005 16:19:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Jan 2005 16:19:25 -0000 Received: (qmail 65070 invoked by uid 500); 28 Jan 2005 16:19:24 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 65024 invoked by uid 500); 28 Jan 2005 16:19:23 -0000 Mailing-List: contact directory-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list directory-dev@incubator.apache.org Received: (qmail 65006 invoked by uid 99); 28 Jan 2005 16:19:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 28 Jan 2005 08:19:23 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j0SGJKaE023951 for ; Fri, 28 Jan 2005 17:19:20 +0100 Message-ID: <605603745.1106929160817.JavaMail.jira@ajax.apache.org> Date: Fri, 28 Jan 2005 17:19:20 +0100 (CET) From: "Alex Karasulu (JIRA)" To: directory-dev@incubator.apache.org Subject: [jira] Updated: (DIRLDAP-25) Ldif files must begin with "version: 1" In-Reply-To: <522294484.1106868501285.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRLDAP-25?page=history ] Alex Karasulu updated DIRLDAP-25: --------------------------------- Version: 0.8.0 Fix Version: 0.8.1 Nice! Sounds like you've got some serious experience in LDAP. Funny I noticed the same ldifde.exe behavoir. With your help we can make sure we're much more compliant. Also I don't think we support modification operations other than adds in the ldif. This is something that must be looked into. You're more than welcome to tackle all this ;). Cheers, Alex P.S. Again pushing this to 0.8.1. > Ldif files must begin with "version: 1" > --------------------------------------- > > Key: DIRLDAP-25 > URL: http://issues.apache.org/jira/browse/DIRLDAP-25 > 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 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: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira