Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 15165 invoked from network); 15 Sep 2005 08:58:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Sep 2005 08:58:49 -0000 Received: (qmail 8046 invoked by uid 500); 15 Sep 2005 08:58:48 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 7990 invoked by uid 500); 15 Sep 2005 08:58:48 -0000 Mailing-List: contact dev-help@directory.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 dev@directory.apache.org Received: (qmail 7977 invoked by uid 99); 15 Sep 2005 08:58:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2005 01:58:48 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of elecharny@gmail.com designates 64.233.162.207 as permitted sender) Received: from [64.233.162.207] (HELO zproxy.gmail.com) (64.233.162.207) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2005 01:58:58 -0700 Received: by zproxy.gmail.com with SMTP id q3so127095nzb for ; Thu, 15 Sep 2005 01:58:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=j+8YHNcZM9RZao4nhJZkeoMG2HIqY+siROiovSHmDXms+4g6KJ+mRm03tVbDdVEV2xJmfDqZrGMaQR6A4tjFJeI7sXeRZF3QIUgcUMnr2eISAVfEAiUlYgpNlDTvhV9XZ4LZNtt5lOxjUITJ6ys04CaUY2QuIxxuc6vuth/Axc4= Received: by 10.54.18.71 with SMTP id 71mr127066wrr; Thu, 15 Sep 2005 01:58:45 -0700 (PDT) Received: from ?10.10.10.58? ( [80.11.159.38]) by mx.gmail.com with ESMTP id 64sm394867wra.2005.09.15.01.58.44; Thu, 15 Sep 2005 01:58:45 -0700 (PDT) Subject: Re: Discussion on porting X.500 ACIItem to LDAP From: Emmanuel Lecharny To: Apache Directory Developers List In-Reply-To: <2345.81.215.30.1.1126770183.squirrel@www.cs.hacettepe.edu.tr> References: <1676.81.215.30.1.1126715701.squirrel@www.cs.hacettepe.edu.tr> <768dcb2e050914171918779fd9@mail.gmail.com> <1448.81.215.30.1.1126764027.squirrel@www.cs.hacettepe.edu.tr> <1126769380.24854.48.camel@wkslx01.iktek.com> <2345.81.215.30.1.1126770183.squirrel@www.cs.hacettepe.edu.tr> Content-Type: text/plain Date: Thu, 15 Sep 2005 10:58:40 +0200 Message-Id: <1126774720.7937.12.camel@portable> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > > takes 391 bytes (and only because we only have ASCII chars !). This is > > huge ! 90% of all those bytes are identifier (the T part of TLVs). > > This is one that is almost the shortest to write :-) That's frightening !!! ;) > Identifiers should be > there to obey GSER RFCs. Yeah, it's like "Obey Your Master !". GSER is, in my mind, one of the wosrt RFC ever wrote. Not that it is bad by itself, but it's almost useless... (hey, this is just my own opinion...) > This is really a big spec when you think that a > Set of SubtreeSpecifications is only a small part of the grammar.. > > I can change the grantsAndDenials to recognize a string of certain number > of 0's and 1's something like '10101010'B. However Trustin will have to > write a lot of bitwise code to handle this component in his ACDF. If we > choose this way we must exactly determine which fields are necessary for > ldap while it's not a flexible structure. If you write a string, you will have to put all the bits. It's a good idea to suppress some of the bits, but keep in mind that it's a better idea to keep the offset of each bit, instead of renumbering them. Handling the bits could be something simple if we use internally the BitString we have in ber-new, assuming we add a constructor that take a String. However, this is not really important. The main point is that we have a full version that works. Everything else is oepn minded discussion ! So 1) make it works 2) improve it 3) criticize it ;) Emmanuel