From api-return-590-apmail-directory-api-archive=directory.apache.org@directory.apache.org Thu Mar 5 17:19:22 2015 Return-Path: X-Original-To: apmail-directory-api-archive@minotaur.apache.org Delivered-To: apmail-directory-api-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7928B17DFF for ; Thu, 5 Mar 2015 17:19:22 +0000 (UTC) Received: (qmail 36548 invoked by uid 500); 5 Mar 2015 17:19:22 -0000 Delivered-To: apmail-directory-api-archive@directory.apache.org Received: (qmail 36508 invoked by uid 500); 5 Mar 2015 17:19:22 -0000 Mailing-List: contact api-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: api@directory.apache.org Delivered-To: mailing list api@directory.apache.org Received: (qmail 36496 invoked by uid 99); 5 Mar 2015 17:19:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 17:19:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of elecharny@gmail.com designates 74.125.82.41 as permitted sender) Received: from [74.125.82.41] (HELO mail-wg0-f41.google.com) (74.125.82.41) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 17:18:56 +0000 Received: by wggy19 with SMTP id y19so54737444wgg.13 for ; Thu, 05 Mar 2015 09:18:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=NuixOCLF/9M5BkCSr3g7b5LY/NRXHg2hv7BCEwjw9iA=; b=qWQXVqh2lxOfP0Qfx4Y3p2/OZBIZpHp10CEeSOeAILIlqzhHe/32TbCCh23QKTz9yT DmS4OqfBiDzM7LnEDyzaW00SgQBG/V7E+CKq5ZTwPYg6AWuOIeUhR0a9pwdv1y+Cfj+b u/9k0spIc7CHADO3644QRO9JNfOz2BxEflS8Z93uAbt/Ri9CyLiAcG7huIV5Uglmn8zU QX6WdqsnEuGJbnecRZD/hjgtPeq6L9R/r7ng46GX+q2iUdwYUOX447NZGOyX0tIKbiz4 RJMVCgPRdA+KmP2tQUkFAR2AZj/xdV+Zq+eKdQTOReuuguT8zldEqf9iNBGikEIoqf3Q ADcg== X-Received: by 10.180.80.230 with SMTP id u6mr67870378wix.69.1425575890326; Thu, 05 Mar 2015 09:18:10 -0800 (PST) Received: from [192.168.1.15] (i19-les01-ix2-212-195-127-200.sfr.lns.abo.bbox.fr. [212.195.127.200]) by mx.google.com with ESMTPSA id uc18sm12509362wib.0.2015.03.05.09.18.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Mar 2015 09:18:09 -0800 (PST) Message-ID: <54F88FCF.8010109@gmail.com> Date: Thu, 05 Mar 2015 18:18:07 +0100 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: api@directory.apache.org Subject: Re: isHumanReadable in LdapSyntax References: <54F7301F.1060108@evolveum.com> <54F85F2D.3080200@gmail.com> <54F87703.9010502@evolveum.com> <54F8816F.5030609@gmail.com> <54F887AA.8050506@evolveum.com> In-Reply-To: <54F887AA.8050506@evolveum.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Le 05/03/15 17:43, Radovan Semancik a écrit : > On 03/05/2015 05:16 PM, Emmanuel Lécharny wrote: >> Le 05/03/15 16:32, Radovan Semancik a écrit : >>> On 03/05/2015 02:50 PM, Emmanuel Lécharny wrote: >>>> Ok, I created a JIRA for this one : >>>> https://issues.apache.org/jira/browse/DIRAPI-223 >>>> >>>> And I fixed it too. >>>> >>>> It should now work as expected. >>> It looks like it really does work. Thanks a lot! >>> >>> BTW, I have notices that there is no support for VirtualListView (VLV) >>> request and response controls in the API. Therefore I'm implementing >>> it now. >> That's right, we don't support that, I guess we started it a long time >> ago. I can lend some hands here (specifically for the encoded/decoder). >> >> Just let me know. > > I think I have figured out the basics. But it might require some > review/cleanup. E.g. I haven't found constant or any other nice way > for ASN.1 choice encoding (but I haven't looked that hard). > > The code is available here: > https://github.com/Evolveum/directory-shared > ... but it is still work in progress. Only VLV request is done yet, > and it only has "by offset" option. But it seems to work for me. > Tested with OpenDJ. Testing with OpenLDAP and 389ds will come later. > Woot ! You went through the intricacy of teh ASN/1 encoder/decoder on your own ! Taht's impressive ! L'll have a look and probably add it into the API.