Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 28440 invoked from network); 14 Jun 2007 13:52:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jun 2007 13:52:59 -0000 Received: (qmail 41204 invoked by uid 500); 14 Jun 2007 13:52:57 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 41185 invoked by uid 500); 14 Jun 2007 13:52:57 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 41168 invoked by uid 99); 14 Jun 2007 13:52:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 06:52:57 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of pajbam@gmail.com designates 66.249.82.230 as permitted sender) Received: from [66.249.82.230] (HELO wx-out-0506.google.com) (66.249.82.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jun 2007 06:52:52 -0700 Received: by wx-out-0506.google.com with SMTP id t5so499459wxc for ; Thu, 14 Jun 2007 06:52:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=BSe92hBc4ANNJF0RwaV9fx/lIqbsmUmVlD+sojoisDjtBCl3IuR5sYEgMAfxqnjc2Xpdu0kEd3MhHBYu94wwlq29ICiFtn1gHi12iAwMjRsrnPsdBQGx+n37HlD+7QlyNQg9QQ9CKnPa7wFflV+25PU+xX6M+B0ldI5mZZfe4Pw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=GjwVsakjG2DgY2v5/A6KXbrpYuzh37RfR9j3eXwiWhNWH1OOkURsBH0I8XVGcX/Cc6ec1BcR7ZjXUDzLRKsNdiTtE2+yCwDwnr+fINh4iNASqOZzOClcTcBBd6L3C1FecLqnDTrJ5Lv6N4CLHXCndAtE4WkJ6l30bqrDvstWhzM= Received: by 10.90.29.18 with SMTP id c18mr1392128agc.1181829151536; Thu, 14 Jun 2007 06:52:31 -0700 (PDT) Received: by 10.90.120.19 with HTTP; Thu, 14 Jun 2007 06:52:31 -0700 (PDT) Message-ID: <98d8c0860706140652w163ba301w5cbd6f6833f563ca@mail.gmail.com> Date: Thu, 14 Jun 2007 15:52:31 +0200 From: "Pierre-Arnaud Marcelot" Sender: pajbam@gmail.com To: users@directory.apache.org Subject: Re: Schema issues with Apache DS In-Reply-To: <98d8c0860706140643r673e7162ud80e9d940fcbb333@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_30343_12654714.1181829151506" References: <98d8c0860706140643r673e7162ud80e9d940fcbb333@mail.gmail.com> X-Google-Sender-Auth: abf8ce7ba914cf14 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_30343_12654714.1181829151506 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Ok, I think I've found the bug. You were right, the error was on m-length. The import fails because the m-length attribute doesn't exist in the Apache Meta schema bundled in the 1.5.0 version of Apache Directory Server. The m-length attribute has been added on april 24th and Apache DS 1.5.0released on april 12th. To avoid the problem what you can do is : - whether removing the syntax length value from your schema (and wait for Apache DS 1.5.1 to fix the problem) - or moving to the latest trunk version of Apache DS. Sorry for the inconvenience... P-A Marcelot On 6/14/07, Pierre-Arnaud Marcelot < pa@marcelot.net> wrote: > > Hi Dan, > > I tried to import a schema defined with Apache Directory Studio (formely > LDAP Studio) containing an attribute type with syntax equals to ' > 1.3.6.1.4.1.1466.115.121.1.15' and syntax-length equals to '1234' in the > latest trunk version of Apache Directory Server, and it ended successfully. > > Could you give us the complete error message please ? > > Pierre-Arnaud Marcelot > > > On 6/14/07, Barber, Dan (Contractor) < Dan.Barber@polycom.com> wrote: > > > > Apache DS schema experts, > > > > > > > > > > > > I'm a brand new user of Apache Directory and am trying to add support > > for H.350. I've been able to convert several ldif files for the various > > pieces of H.350 I want to include into schema files appropriate for LDAP > > > > Studio. That all went perfectly. I exported them all as Apache Directory > > ldif files, again without a hitch. However, when I try to import one of > > those ldif files, for H.320 Identity, I get an error. I'm using LDAP > > Studio to do the import. > > > > > > > > The problem appears to be here: > > > > > > > > > > > > attributetype (0.0.8.350.1.1.5.1.3 > > > > > > > > NAME 'h320IdentityExtension' > > > > > > > > DESC 'Extension of terminal required to dial after initial PTSN > > address is connected.' > > > > > > > > EQUALITY caseIgnoreMatch > > > > > > > > SUBSTR caseIgnoreSubstringsMatch > > > > > > > > SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{120} ) > > > > > > > > > > > > which when exported to an Apache Directory LDIF file becomes > > > > > > > > > > > > > > > > dn: m-oid=0.0.8.350.1.1.5.1.3, ou=attributeTypes, cn=h320Identity, > > ou=schema > > > > > > > > objectclass: metaAttributeType > > > > > > > > objectclass: metaTop > > > > > > > > objectclass: top > > > > > > > > m-oid: 0.0.8.350.1.1.5.1.3 > > > > > > > > m-name: h320IdentityExtension > > > > > > > > m-description: Extension of terminal required to dial after initial PTSN > > address > > > > > > > > is connected. > > > > > > > > m-equality: caseIgnoreMatch > > > > > > > > m-substr: caseIgnoreSubstringsMatch > > > > > > > > m-syntax: 1.3.6.1.4.1.1466.115.121.1.15 > > > > > > > > m-length: 120 > > > > > > > > > > > > > > > > The error that I get is on m-length. It appears that > > > > 1.3.6.1.4.1.1466.115.121.1.15 isn't supporting a length attribute. > > > > Checking all over on the web I find several examples of a length > > attribute being used with 1.3.6.1.4.1.1466.115.121.1.15. > > > > > > > > Is there something that I'm missing? Is this a current shortcoming with > > Apache DS 1.5? > > > > > > > > Thanks for any help you can offer. > > > > > > > > Sincerely, > > > > > > > > Dan Barber > > > > > > > > > > > > > > > > > > > > > > > > > ------=_Part_30343_12654714.1181829151506--