Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0AAB9998B for ; Mon, 6 Feb 2012 16:15:45 +0000 (UTC) Received: (qmail 72724 invoked by uid 500); 6 Feb 2012 16:15:44 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 72548 invoked by uid 500); 6 Feb 2012 16:15:44 -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 72541 invoked by uid 99); 6 Feb 2012 16:15:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 16:15:44 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of akarasulu@gmail.com designates 209.85.212.178 as permitted sender) Received: from [209.85.212.178] (HELO mail-wi0-f178.google.com) (209.85.212.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2012 16:15:37 +0000 Received: by wibhm14 with SMTP id hm14so5815128wib.37 for ; Mon, 06 Feb 2012 08:15:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=OSRMMBTLbcNLMYKgleqzCuyUHJaJeDGwTxKreuytWgU=; b=O01vFu5BxPCP/gGj1l/hlfV5pJggZnhRsGvsMoCB/yFKw0oBx3lBYVvYpzeOI7wcdL JUyzSn/mEufNXtG51ibQFNQWDLlA+ln7MfG7gvVwfXpiMYqwu8GPCLqeNK2TmxNoP6kz Rb0k3Ffbg55EN7GYL7fGFLeFJaFdp2xaldyo4= MIME-Version: 1.0 Received: by 10.180.107.68 with SMTP id ha4mr28446823wib.9.1328544915239; Mon, 06 Feb 2012 08:15:15 -0800 (PST) Sender: akarasulu@gmail.com Received: by 10.180.82.164 with HTTP; Mon, 6 Feb 2012 08:15:15 -0800 (PST) In-Reply-To: <4F2FF89D.8070706@apache.org> References: <4F2FCFEA.6090609@gmail.com> <8C2B4887-A662-4485-9AEF-B781555425CD@marcelot.net> <4F2FF89D.8070706@apache.org> Date: Mon, 6 Feb 2012 18:15:15 +0200 X-Google-Sender-Auth: WytwUDFk7_H8qGSy74dyXXGJwak Message-ID: Subject: Re: Binary attributes handling in the API From: Alex Karasulu To: Apache Directory Developers List , elecharny@apache.org Content-Type: multipart/alternative; boundary=e89a8f13ec34bdb1d304b84df775 --e89a8f13ec34bdb1d304b84df775 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, Feb 6, 2012 at 5:58 PM, Emmanuel L=E9charny w= rote: > On 2/6/12 4:11 PM, Pierre-Arnaud Marcelot wrote: > >> I believe we need this list only in the case where no schema is loaded o= n >> the connection, right? >> > > Sadly, no. For servers that don't expose the information about the non > human readable Syntax, we have to provide it. We use a X-IS-HUMAN-READABL= E > information in out LdapSyntax elements in ApacheDS, other servers don't. > > >> Or, do you want to also use this list in addition to an already loaded >> schema? >> > > Yes, if needed (ie, if we can't build it from the schemas we load) > > Cant we just keep this information in a constants file and make sure the constants are accessible to the API code? Users should be allowed to override and add more settings at runtime so more attributes can be tweaked= ? --=20 Best Regards, -- Alex --e89a8f13ec34bdb1d304b84df775 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Mon, Feb 6, 2012 at 5:58 PM, Emmanuel= L=E9charny <e= lecharny@apache.org> wrote:
On 2/6/12 4:11 PM, Pierre-Arnaud Marcelot wrote:
I believe we need this list only in the case where no schema is loaded on t= he connection, right?

Sadly, no. For servers that don't expose the information about the non = human readable Syntax, we have to provide it. We use a X-IS-HUMAN-READABLE = information in out LdapSyntax elements in ApacheDS, other servers don't= .


Or, do you want to also use this list in addition to an already loaded sche= ma?

Yes, if needed (ie, if we can't build it from the schemas we load)


Cant we just keep this information in a constants file and make su= re the constants are accessible to the API code? Users should be allowed to= override and add more settings at runtime so more attributes can be tweake= d?

--
Best Regards,
-- Alex

--e89a8f13ec34bdb1d304b84df775--