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 627BA1786C for ; Tue, 14 Jul 2015 11:14:59 +0000 (UTC) Received: (qmail 42263 invoked by uid 500); 14 Jul 2015 11:14:59 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 42210 invoked by uid 500); 14 Jul 2015 11:14:59 -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 42200 invoked by uid 99); 14 Jul 2015 11:14:58 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2015 11:14:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 7985FD47AA for ; Tue, 14 Jul 2015 11:14:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.572 X-Spam-Level: ** X-Spam-Status: No, score=2.572 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1.429, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id IpBtglEQL_u3 for ; Tue, 14 Jul 2015 11:14:50 +0000 (UTC) Received: from hermes.evolveum.com (hermes.evolveum.com [46.29.2.130]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id D988B2139E for ; Tue, 14 Jul 2015 11:14:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hermes.evolveum.com (Postfix) with ESMTP id 4BF9C3600C1 for ; Tue, 14 Jul 2015 13:18:47 +0200 (CEST) Received: from hermes.evolveum.com ([127.0.0.1]) by localhost (hermes.evolveum.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 9JsrgXDSELeD for ; Tue, 14 Jul 2015 13:18:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by hermes.evolveum.com (Postfix) with ESMTP id CC1CB3600C8 for ; Tue, 14 Jul 2015 13:18:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at hermes.evolveum.com Received: from hermes.evolveum.com ([127.0.0.1]) by localhost (hermes.evolveum.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id So-ce5RpeCr5 for ; Tue, 14 Jul 2015 13:18:46 +0200 (CEST) Received: from [10.1.1.55] (static-dsl-137.87-197-146.telecom.sk [87.197.146.137]) by hermes.evolveum.com (Postfix) with ESMTPSA id 8BF363600C1 for ; Tue, 14 Jul 2015 13:18:46 +0200 (CEST) Message-ID: <55A4EF28.2080002@evolveum.com> Date: Tue, 14 Jul 2015 13:14:48 +0200 From: Radovan Semancik User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: dev@directory.apache.org Subject: Re: 389 Directory Server support in API References: <55A4CD24.3080600@evolveum.com> <55A4D8A6.7060002@gmail.com> <55A4DEC3.2030600@evolveum.com> In-Reply-To: Content-Type: multipart/alternative; boundary="------------070200030001040409030207" This is a multi-part message in MIME format. --------------070200030001040409030207 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 07/14/2015 12:56 PM, Ludovic Poitou wrote: > The general rule around standard support is =E2=80=9Cbe flexible in wha= t you=20 > accept, strict about what you produce=E2=80=9D. > This should apply to the LDAP APIs as well. This is not necessarily the best option:=20 https://github.com/martinthomson/postel-was-wrong/blob/master/draft-thoms= on-postel-was-wrong.md I think that there needs to be some balance between strictness and=20 tolerance. However, Apache Directory API is not widespread enough. So=20 even if it is strict it is unlikely that it will create enough pressure=20 on outdated LDAP servers. And if it will work only with ApacheDS and=20 OpenLDAP then it will never become widespread. So I would be inclined=20 towards more tolerance in the API to make it practical. --=20 Radovan Semancik Software Architect evolveum.com --------------070200030001040409030207 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On 07/14/2015 12:56 PM, Ludovic Poitou wrote:
The general rule around standard support is =E2=80=9Cbe flexible in what you = accept, strict about what you produce=E2=80=9D.
This should apply to the LDAP APIs as well.

This is not necessarily the best option: https:= //github.com/martinthomson/postel-was-wrong/blob/master/draft-thomson-pos= tel-was-wrong.md

I think that there needs to be some balance between strictness and tolerance. However, Apache Directory API is not widespread enough. So even if it is strict it is unlikely that it will create enough pressure on outdated LDAP servers. And if it will work only with ApacheDS and OpenLDAP then it will never become widespread. So I would be inclined towards more tolerance in the API to make it practical.

--=20
Radovan Semancik
Software Architect
evolveum.com
--------------070200030001040409030207--