From owner-ietf-ldapbis@OpenLDAP.org  Mon Apr  1 08:28:47 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA24563
	for <ldapbis-archive@lists.ietf.org>; Mon, 1 Apr 2002 08:28:47 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g31DPGm71718;
	Mon, 1 Apr 2002 13:25:16 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Mon, 1 Apr 2002 13:25:16 +0000
Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g31DPEU71711
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 1 Apr 2002 13:25:14 GMT
Received: from salford.ac.uk ([213.107.136.218]) by mta07-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020401132512.QWXB7757.mta07-svc.ntlworld.com@salford.ac.uk>;
          Mon, 1 Apr 2002 14:25:12 +0100
Message-ID: <3CA860A2.20AB0F9C@salford.ac.uk>
Date: Mon, 01 Apr 2002 14:29:06 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: LDAP BIS <ietf-ldapbis@OpenLDAP.org>
CC: PKIX <ietf-pkix@imc.org>
Subject: LDAP Certificate transfer syntax
Content-Type: multipart/mixed;
 boundary="------------250B008BBD8EA315AC032912"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------250B008BBD8EA315AC032912
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Colleagues

Here is my proposed change to the section describing the LDAP syntax for
cerificates in the PKIX id
<draft-pkix-ldap-schema-03.txt> which should be published before the end
of April. As this is likely to be the most contentious part of the new
ID, I thought it would be useful to distribute this text at the earlier
possible moment.

All constructive comments welcomed

David


3.3  Certificate Syntax

A value in this transfer syntax is the binary octet string that results
from BER or DER-encoding of an X.509 public key certificate.  The
following string states the OID assigned to this syntax:

      ( 1.3.6.1.4.1.1466.115.121.1.8 DESC 'Certificate' )

Servers must preserve values in this syntax exactly as given when
storing and retrieving them. 

Note. Due to the changes from X.509(1988) to X.509(1993) and subsequent
changes to the ASN.1 definition to support certificate extensions in
X.509(1997), no character string transfer syntax is defined for
certificates. The BNF notation in RFC 1778 [12] for "User Certificate"
MUST NOT be used. Values in this syntax MUST be transferred as BER or
DER encoded octets. The use of the ;binary encoding option, i.e. by
requesting or returning the attributes with descriptions
"userCertificate;binary" or "caCertificate;binary" has no effect on the
transfer syntax.
--------------250B008BBD8EA315AC032912
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------250B008BBD8EA315AC032912--



From owner-ietf-ldapbis@OpenLDAP.org  Mon Apr  1 11:10:41 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA02975
	for <ldapbis-archive@lists.ietf.org>; Mon, 1 Apr 2002 11:10:40 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g31G7Jj80689;
	Mon, 1 Apr 2002 16:07:20 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Mon, 1 Apr 2002 16:07:19 +0000
Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g31G7HU80667
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 1 Apr 2002 16:07:17 GMT
Received: from salford.ac.uk ([213.107.136.218]) by mta05-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020401160716.JBPR17294.mta05-svc.ntlworld.com@salford.ac.uk>
          for <ietf-ldapbis@OpenLDAP.org>; Mon, 1 Apr 2002 17:07:16 +0100
Message-ID: <3CA8869F.2EB90873@salford.ac.uk>
Date: Mon, 01 Apr 2002 17:11:11 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: LDAP BIS <ietf-ldapbis@OpenLDAP.org>
Subject: New DN name string please
Content-Type: multipart/mixed;
 boundary="------------E9DB390EEB571F3CA718C61D"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------E9DB390EEB571F3CA718C61D
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Could we please define a name string for the serial number attribute
type and it to the table in dn-07. Serial number is a PKIX and X.509
recommended method for uniquely identifying certificate holders using a
dual attribute value RDN of the form

CN=David Chadwick + SerialNumber=123456789

I dont mind what name string we choose (SN - but could be confused with
surname - or SerialNumber) but it would be nice to recognise that one
can be used in DNs.

Thankyou

David


-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------E9DB390EEB571F3CA718C61D
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------E9DB390EEB571F3CA718C61D--



From owner-ietf-ldapbis@OpenLDAP.org  Mon Apr  1 11:12:01 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA03106
	for <ldapbis-archive@lists.ietf.org>; Mon, 1 Apr 2002 11:12:00 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g31G8gw80878;
	Mon, 1 Apr 2002 16:08:42 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Mon, 1 Apr 2002 16:08:42 +0000
Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g31G8eU80868
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 1 Apr 2002 16:08:40 GMT
Received: from salford.ac.uk ([213.107.136.218]) by mta05-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020401160839.JCDU17294.mta05-svc.ntlworld.com@salford.ac.uk>
          for <ietf-ldapbis@OpenLDAP.org>; Mon, 1 Apr 2002 17:08:39 +0100
Message-ID: <3CA886F2.965BB924@salford.ac.uk>
Date: Mon, 01 Apr 2002 17:12:34 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: LDAP BIS <ietf-ldapbis@OpenLDAP.org>
Subject: <draft-ietf-ldapbis-dn-07.txt>
Content-Type: multipart/mixed;
 boundary="------------D9D69AC66BA1D41980267C6C"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------D9D69AC66BA1D41980267C6C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Guys

I know that I am opening an old discussion here that took place last
year, but, whilst browsing throught the IANA registered numbers I came
across the DN table that folks were hypothesing existed last year and
was referred to in RFC 1779, but did not seem to know where it was. See

http://www.iana.org/assignments/directory-system-names

This IANA table provides the mechanism for dynamically adding new
attribute type name strings without changing the RFC. This was the
original intention of RFC 1779 I believe.

I would like to suggest that the following changes are made to dn-07.txt

i) we update the IANA table at the URL above. I note that it was last
updated in May 2001 (but I dont know by whom) but its list does not hold
all the attributes listed in dn-07

iii) we edit dn-07 to say that new name strings can be found in the IANA
register, and only if they are not in the RFC or the IANA table do we
use the OID encoding for attribute types.

thankyou

David

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------D9D69AC66BA1D41980267C6C
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------D9D69AC66BA1D41980267C6C--



From owner-ietf-ldapbis@OpenLDAP.org  Mon Apr  1 12:04:49 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA05528
	for <ldapbis-archive@lists.ietf.org>; Mon, 1 Apr 2002 12:04:49 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g31H1V783805;
	Mon, 1 Apr 2002 17:01:31 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Mon, 1 Apr 2002 17:01:31 +0000
Received: (from kurt@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) id g31H1U483796
	for ietf-ldapbis@openldap.org; Mon, 1 Apr 2002 17:01:30 GMT
Received: from vulcan.rsasecurity.com (vulcan.rsasecurity.com [204.167.114.130] (may be forged))
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g31GK7U81872
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 1 Apr 2002 16:20:07 GMT
Received: from sdtihq24.securitydynamics.com by vulcan.rsasecurity.com
          via smtpd (for galois.openldap.org [204.152.186.51]) with SMTP; 1 Apr 2002 16:19:13 UT
Received: from ebola.securitydynamics.com (ebola.securid.com [192.80.211.4])
	by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id LAA29378;
	Mon, 1 Apr 2002 11:19:02 -0500 (EST)
Received: from exna00.securitydynamics.com (localhost [127.0.0.1])
	by ebola.securitydynamics.com (8.10.2+Sun/8.9.1) with ESMTP id g31GK0A06818;
	Mon, 1 Apr 2002 11:20:00 -0500 (EST)
Received: by exna00.securitydynamics.com with Internet Mail Service (5.5.2653.19)
	id <HKX1NBGJ>; Mon, 1 Apr 2002 11:17:37 -0500
Received: from HOUSLEY-LAP.rsasecurity.com (HOUSLEY-LAP [10.3.16.94]) by exna00.securitydynamics.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id HKX1NBGG; Mon, 1 Apr 2002 11:17:30 -0500
From: "Housley, Russ" <rhousley@rsasecurity.com>
To: David Chadwick <d.w.chadwick@salford.ac.uk>
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Message-Id: <5.1.0.14.2.20020401110819.032405a8@exna07.securitydynamics.com>
X-Sender: rhousley@exna07.securitydynamics.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Mon, 01 Apr 2002 11:10:05 -0500
Subject: Re: LDAP Certificate transfer syntax
In-Reply-To: <3CA860A2.20AB0F9C@salford.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

David:

Is it possible to preserve the DER encoding.  If not, then the DER encoding 
must be restored in order to validate the signature?  This just seems like 
wasted processing to me.

Russ


At 02:29 PM 4/1/2002 +0100, David Chadwick wrote:
>Colleagues
>
>Here is my proposed change to the section describing the LDAP syntax for
>cerificates in the PKIX id
><draft-pkix-ldap-schema-03.txt> which should be published before the end
>of April. As this is likely to be the most contentious part of the new
>ID, I thought it would be useful to distribute this text at the earlier
>possible moment.
>
>All constructive comments welcomed
>
>David
>
>
>3.3  Certificate Syntax
>
>A value in this transfer syntax is the binary octet string that results
>from BER or DER-encoding of an X.509 public key certificate.  The
>following string states the OID assigned to this syntax:
>
>       ( 1.3.6.1.4.1.1466.115.121.1.8 DESC 'Certificate' )
>
>Servers must preserve values in this syntax exactly as given when
>storing and retrieving them.
>
>Note. Due to the changes from X.509(1988) to X.509(1993) and subsequent
>changes to the ASN.1 definition to support certificate extensions in
>X.509(1997), no character string transfer syntax is defined for
>certificates. The BNF notation in RFC 1778 [12] for "User Certificate"
>MUST NOT be used. Values in this syntax MUST be transferred as BER or
>DER encoded octets. The use of the ;binary encoding option, i.e. by
>requesting or returning the attributes with descriptions
>"userCertificate;binary" or "caCertificate;binary" has no effect on the
>transfer syntax.
>


From owner-ietf-ldapbis@OpenLDAP.org  Mon Apr  1 16:33:03 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA15828
	for <ldapbis-archive@lists.ietf.org>; Mon, 1 Apr 2002 16:33:02 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g31LTKT97189;
	Mon, 1 Apr 2002 21:29:20 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Mon, 1 Apr 2002 21:29:20 +0000
Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g31LT5U97177
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 1 Apr 2002 21:29:18 GMT
Received: from salford.ac.uk ([213.107.136.218]) by mta03-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020401212903.OIJD303.mta03-svc.ntlworld.com@salford.ac.uk>;
          Mon, 1 Apr 2002 22:29:03 +0100
Message-ID: <3CA8D20B.EDB26372@salford.ac.uk>
Date: Mon, 01 Apr 2002 22:32:59 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Housley, Russ" <rhousley@rsasecurity.com>
CC: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax
References: <5.1.0.14.2.20020401110819.032405a8@exna07.securitydynamics.com>
Content-Type: multipart/mixed;
 boundary="------------52E1B1843D27887A5872A09B"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------52E1B1843D27887A5872A09B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



"Housley, Russ" wrote:
> 
> David:
> 
> Is it possible to preserve the DER encoding.  If not, then the DER encoding
> must be restored in order to validate the signature?  This just seems like
> wasted processing to me.
> 

Russ

I quite agree. The revised text is meant to ensure that the DER or BER
encoding created by the client when the certificate was first sent to
the directory for storage is preserved as is. This is the purpose of the
sentence below in the revised text, viz:

> >Servers must preserve values in this syntax exactly as given when
> >storing and retrieving them.
> >

Perhaps I should say "as given to them by the client, when storing and
retrieving certificates"

David
--------------52E1B1843D27887A5872A09B
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------52E1B1843D27887A5872A09B--



From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr  2 16:36:01 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA04420
	for <ldapbis-archive@lists.ietf.org>; Tue, 2 Apr 2002 16:36:01 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g32LVFM74278;
	Tue, 2 Apr 2002 21:31:15 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 2 Apr 2002 21:31:15 +0000
Received: (from kurt@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) id g32LVBV74254
	for ietf-ldapbis@openldap.org; Tue, 2 Apr 2002 21:31:11 GMT
Received: from mtk-mail1.mitretek.org (mtk-mail1.mitretek.org [141.156.156.58])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g32KpWU71893
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 2 Apr 2002 20:51:32 GMT
Received: from tsf-gw.tsf.mitretek.org (root@tsf-gw.mitretek.org [172.16.17.253])
	by mtk-mail1.mitretek.org (8.12.1/8.12.1) with ESMTP id g32KnsGk008678;
	Tue, 2 Apr 2002 15:49:55 -0500 (EST)
Received: from localhost (stillson@localhost [127.0.0.1])
	by tsf-gw.tsf.mitretek.org (8.12.1/8.12.1/Debian -5) with ESMTP id g32Kqm9w011874;
	Tue, 2 Apr 2002 15:52:51 -0500
Date: Tue, 2 Apr 2002 15:52:48 -0500 (EST)
From: Ken Stillson <stillson@mitretek.org>
To: David Chadwick <d.w.chadwick@salford.ac.uk>
cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax (draft-ietf-pkix-ldap-v3-05.txt)
In-Reply-To: <3CA860A2.20AB0F9C@salford.ac.uk>
Message-ID: <Pine.LNX.4.40.0204021550320.10415-100000@tsf-gw.mitretek.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>


  On Mon, 1 Apr 2002, David Chadwick wrote:
> All constructive comments welcomed

  Hi David-
  A thought for the you...

  Although implied by section 3, perhaps it should be stated expectedly:

  "A PKI object should be placed into a LDAP directory such that the LDAP
   object DN matches the subject DN of the object."

  Although this seems obvious to some, I've run into a surprising number of
  clients setting up directories using some alternate structure, who are
  then surprised when validation software can't find certificates given
  subject DN's.

    - Ken Stillson


-- 
      |   Ken Stillson             |    stillson@mitretek.org    |
      |   Sr. Principal Engineer   |    voice: (703) 610-2965    |
      |   Mitretek Systems         |      fax: (703) 610-2984    |


From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr  2 17:39:02 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA06364
	for <ldapbis-archive@odin.ietf.org>; Tue, 2 Apr 2002 17:39:01 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g32MZDx77368;
	Tue, 2 Apr 2002 22:35:13 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 2 Apr 2002 22:35:13 +0000
Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g32MZAU77351
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 2 Apr 2002 22:35:10 GMT
Received: from salford.ac.uk ([213.107.136.218]) by mta03-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020402223509.CDXQ303.mta03-svc.ntlworld.com@salford.ac.uk>;
          Tue, 2 Apr 2002 23:35:09 +0100
Message-ID: <3CAA3309.B4DA99C6@salford.ac.uk>
Date: Tue, 02 Apr 2002 23:39:05 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Ken Stillson <stillson@mitretek.org>
CC: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax (draft-ietf-pkix-ldap-v3-05.txt)
References: <Pine.LNX.4.40.0204021550320.10415-100000@tsf-gw.mitretek.org>
Content-Type: multipart/mixed;
 boundary="------------F320DF69068B4CA55CA30269"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------F320DF69068B4CA55CA30269
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



Ken Stillson wrote:
> 
>   On Mon, 1 Apr 2002, David Chadwick wrote:
> > All constructive comments welcomed
> 
>   Hi David-
>   A thought for the you...
> 
>   Although implied by section 3, perhaps it should be stated expectedly:
> 
>   "A PKI object should be placed into a LDAP directory such that the LDAP
>    object DN matches the subject DN of the object."
> 

Ken

whilst I agree with you that this is an obvious thing to do, I dont
believe the ID should say how people should structure their DITs. As
this is a general standard, people are free to structure their DITs in
any way they wish to, and should still be able to use the subschema in
this ID. I think it should rather be a BCP that tells people the best
way to build their directories so that they have the minimum of hassles
operationally. (But I bet it will be difficult to get people to agree on
the contents of the BCP)

David



>   Although this seems obvious to some, I've run into a surprising number of
>   clients setting up directories using some alternate structure, who are
>   then surprised when validation software can't find certificates given
>   subject DN's.
> 
>     - Ken Stillson
> 
> --
>       |   Ken Stillson             |    stillson@mitretek.org    |
>       |   Sr. Principal Engineer   |    voice: (703) 610-2965    |
>       |   Mitretek Systems         |      fax: (703) 610-2984    |

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------F320DF69068B4CA55CA30269
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------F320DF69068B4CA55CA30269--



From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr  2 19:40:04 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA09731
	for <ldapbis-archive@odin.ietf.org>; Tue, 2 Apr 2002 19:40:02 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g330Dsf81376;
	Wed, 3 Apr 2002 00:13:54 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 00:13:54 +0000
Received: from aspams52.ca.com (aspams52.cai.com [155.35.248.76])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g330DqU81369
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 00:13:52 GMT
Received: by aspams52.ca.com with Internet Mail Service (5.5.2655.55)
	id <H5DC1LXH>; Wed, 3 Apr 2002 10:11:58 +1000
Message-ID: <A7E3A4B51615D511BCB6009027D0D18C04541ECB@aspams01.ca.com>
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: Ken Stillson <stillson@mitretek.org>,
        David Chadwick
	 <d.w.chadwick@salford.ac.uk>
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: RE: LDAP Certificate transfer syntax (draft-ietf-pkix-ldap-v3-05.
	txt)
Date: Wed, 3 Apr 2002 10:13:03 +1000 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Ken,

I don't find this at all obvious. Apparently, some company creates
certificates with an email address in the subject DN. This would be horrible
to have to implement in a DIT. (I think the approved method of finding the
principal in this case is to search for an entry where the mail attribute
has this address as a value.)

There is also the case where the same identity has multiple cdrtificates.

Ron.

-----Original Message-----
From: Ken Stillson [mailto:stillson@mitretek.org]
Sent: Wednesday, 3 April 2002 6:53
To: David Chadwick
Cc: LDAP BIS; PKIX
Subject: Re: LDAP Certificate transfer syntax
(draft-ietf-pkix-ldap-v3-05.txt)



  On Mon, 1 Apr 2002, David Chadwick wrote:
> All constructive comments welcomed

  Hi David-
  A thought for the you...

  Although implied by section 3, perhaps it should be stated expectedly:

  "A PKI object should be placed into a LDAP directory such that the LDAP
   object DN matches the subject DN of the object."

  Although this seems obvious to some, I've run into a surprising number of
  clients setting up directories using some alternate structure, who are
  then surprised when validation software can't find certificates given
  subject DN's.

    - Ken Stillson


-- 
      |   Ken Stillson             |    stillson@mitretek.org    |
      |   Sr. Principal Engineer   |    voice: (703) 610-2965    |
      |   Mitretek Systems         |      fax: (703) 610-2984    |


From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 00:12:19 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA16440
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 00:12:18 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3359vR91146;
	Wed, 3 Apr 2002 05:09:57 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 05:09:57 +0000
Received: from persephone.cfrq.net ([207.245.2.4])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3359rU91138
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 05:09:53 GMT
Received: from elisabeth.cfrq.net (CPE0020afa1901b.cpe.net.cable.rogers.com [24.43.24.209])
	by persephone.cfrq.net (8.11.6/8.11.6) with ESMTP id g3358Jh06633
	(using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK);
	Wed, 3 Apr 2002 00:08:24 -0500
Received: from elisabeth.cfrq.net (chk@localhost)
	by elisabeth.cfrq.net (8.11.6/8.11.6) with ESMTP id g3358F113512;
	Wed, 3 Apr 2002 00:08:16 -0500
To: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax (draft-ietf-pkix-ldap-v3-05.txt) 
References: <Pine.LNX.4.40.0204021550320.10415-100000@tsf-gw.mitretek.org>
In-reply-to: stillson's message of "Tue, 02 Apr 2002 15:52:48 -0500".
	 <Pine.LNX.4.40.0204021550320.10415-100000@tsf-gw.mitretek.org> 
From: Harald Koch <chk@pobox.com>
Date: Wed, 03 Apr 2002 00:08:14 -0500
Message-ID: <13511.1017810494@elisabeth.cfrq.net>
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Of all the gin joints in all the towns in all the world, Ken Stillson
had to walk into mine and say:
> 
>   "A PKI object should be placed into a LDAP directory such that the LDAP
>    object DN matches the subject DN of the object."

It's supposed to be the other way around, isn't it? One should issue
certificates with a subject DN that matches the LDAP object DN.

Anyway, there are many environments where a certificate issued by one
organisation must be stored in a directory belonging to another. I don't
believe that an arbitrary restriction like this won't fly.

-- 
Harald Koch     <chk@pobox.com>


From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 02:37:53 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA26541
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 02:37:52 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g337Y6t95555;
	Wed, 3 Apr 2002 07:34:06 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 07:34:06 +0000
Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g337Y4U95545
	for <ietf-ldapbis@openldap.org>; Wed, 3 Apr 2002 07:34:04 GMT
Received: from fwd08.sul.t-online.de 
	by mailout09.sul.t-online.com with smtp 
	id 16sfHC-0000uB-05; Wed, 03 Apr 2002 09:33:50 +0200
Received: from junker.stroeder.com (520010731148-0001@[62.224.169.33]) by fmrl08.sul.t-online.com
	with esmtp id 16sfH2-0xdPbkC; Wed, 3 Apr 2002 09:33:40 +0200
Received: from stroeder.com (junker [127.0.0.1])
	by junker.stroeder.com (Postfix) with ESMTP
	id 65377157287; Wed,  3 Apr 2002 09:33:30 +0200 (CEST)
Message-ID: <3CAAB04A.9080707@stroeder.com>
Date: Wed, 03 Apr 2002 09:33:30 +0200
From: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
Reply-To: michael@stroeder.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020310
X-Accept-Language: de-DE, de, en
MIME-Version: 1.0
To: Ken Stillson <stillson@mitretek.org>
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax (draft-ietf-pkix-ldap-v3-05.txt)
References: <Pine.LNX.4.40.0204021550320.10415-100000@tsf-gw.mitretek.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Sender: 520010731148-0001@t-dialin.net
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Ken Stillson wrote:
>   On Mon, 1 Apr 2002, David Chadwick wrote:
> 
>>All constructive comments welcomed
> 
> 
>   Although implied by section 3, perhaps it should be stated expectedly:
> 
>   "A PKI object should be placed into a LDAP directory such that the LDAP
>    object DN matches the subject DN of the object."
> 
>   Although this seems obvious to some, I've run into a surprising number of
>   clients setting up directories using some alternate structure, who are
>   then surprised when validation software can't find certificates given
>   subject DN's.

Ken, for various reasons this old style 1:1 DIT mapping and obtaining the 
certificate chain from a directory never really worked in practice. Maybe in 
some small environments or very specific environments. It also assumes that 
the CA and the LDAP directory are structured and maintained by the same 
authority which is most times not true in e.g. bigger companies.
BTW: Which implementation do exist outside the X.500 world which try to 
obtain the whole certificate chain from a LDAP directory? I do not know a 
single one.

Also think of dc-style naming vs. traditional X521 naming. If you'd like to 
use dc-style naming in your LDAP directory and have that DIT 1:1 in your 
certificate's subject name you will run into many serious interoperability 
problems with PKI enabled software.

Ciao, Michael. (somewhat sick of DIT discussions)



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 10:06:54 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA05279
	for <ldapbis-archive@lists.ietf.org>; Wed, 3 Apr 2002 10:06:53 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33ExVV27921;
	Wed, 3 Apr 2002 14:59:31 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 14:59:31 +0000
Received: from mtk-mail1.mitretek.org (mtk-mail1.mitretek.org [141.156.156.58])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g33ExPU27893
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 14:59:25 GMT
Received: from tsf-gw.tsf.mitretek.org (root@tsf-gw.mitretek.org [172.16.17.253])
	by mtk-mail1.mitretek.org (8.12.1/8.12.1) with ESMTP id g33EvpGk022547;
	Wed, 3 Apr 2002 09:57:52 -0500 (EST)
Received: from localhost (stillson@localhost [127.0.0.1])
	by tsf-gw.tsf.mitretek.org (8.12.1/8.12.1/Debian -5) with ESMTP id g33F0k9w013618;
	Wed, 3 Apr 2002 10:00:47 -0500
Date: Wed, 3 Apr 2002 10:00:46 -0500 (EST)
From: Ken Stillson <stillson@mitretek.org>
To: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax (draft-ietf-pkix-ldap-v3-05.txt)
In-Reply-To: <3CAAB04A.9080707@stroeder.com>
Message-ID: <Pine.LNX.4.40.0204030943390.13533-100000@tsf-gw.mitretek.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by galois.openldap.org id g33ExQU27898
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit


  On Wed, 3 Apr 2002, Michael Ströder wrote:
> Ken, for various reasons this old style 1:1 DIT mapping and obtaining the
> certificate chain from a directory never really worked in practice. Maybe in
> some small environments or very specific environments.

  As I understand it, this is the approach being taken in the rather large
  effort of the Federal Bridge CA (FBCA).  Perhaps it's not an ideal
  solution, but at the moment, it appears to be the only available solution.

  The problem is that when finding the next certificate in a hierarchical or
  cross-cert chain, validation software might (when AIA and similar
  extensions are not populated) only have the issuer field of the current
  cert in order to find the next certificate.

  (David W. informs me that an outcome of the LDAP PKIX ID will be the
   ability to search for an entry based on its internal cert DN rather than
   ldap-read it from a directory location.  I hadn't caught that; perhaps
   that's the permanent solution.  I'm coming from the point of view of the
   FBCA project which is already well underway and didn't have that
   capability available to rely upon.)


> BTW: Which implementation do exist outside the X.500 world which try to
> obtain the whole certificate chain from a LDAP directory? I do not know a
> single one.

  FBCA is using a combination of chained X.500 directories (with LDAP
  front-ends), and LDAP "meta-directories," essentially a mesh of referral
  systems.


> Also think of dc-style naming vs. traditional X521 naming. If you'd like to
> use dc-style naming in your LDAP directory and have that DIT 1:1 in your
> certificate's subject name you will run into many serious interoperability
> problems with PKI enabled software.

  Well, I guess I would say that if one "would like" dc-style naming, then
  that directory is designed for human interaction (humans "like" things).

  A PKI repository being stood-up for automated certificate retrieval should
  be structured for the ease of retrieval; if one really needs both, and
  they conflict, it wouldn't be too surprising to need two structures;  at
  least two indexing structures (I believe most directory software would
  allow referrals or aliases to provide two DN views to the same objects).

    - Ken


-- 
      |   Ken Stillson             |    stillson@mitretek.org    |
      |   Sr. Principal Engineer   |    voice: (703) 610-2965    |
      |   Mitretek Systems         |      fax: (703) 610-2984    |







From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 10:34:13 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA06359
	for <ldapbis-archive@lists.ietf.org>; Wed, 3 Apr 2002 10:34:12 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33FUdA30264;
	Wed, 3 Apr 2002 15:30:39 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 15:30:39 +0000
Received: from vulcan.rsasecurity.com (vulcan.rsasecurity.com [204.167.114.130])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33FUbU30257
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 15:30:37 GMT
Received: from sdtihq24.securitydynamics.com by vulcan.rsasecurity.com
          via smtpd (for galois.openldap.org [204.152.186.51]) with SMTP; 3 Apr 2002 15:29:41 UT
Received: from ebola.securitydynamics.com (ebola.securid.com [192.80.211.4])
	by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id KAA19357;
	Wed, 3 Apr 2002 10:29:34 -0500 (EST)
Received: from exna00.securitydynamics.com (localhost [127.0.0.1])
	by ebola.securitydynamics.com (8.10.2+Sun/8.9.1) with ESMTP id g33FUaO15504;
	Wed, 3 Apr 2002 10:30:36 -0500 (EST)
Received: by exna00.securitydynamics.com with Internet Mail Service (5.5.2653.19)
	id <HKX1N9S9>; Wed, 3 Apr 2002 10:28:13 -0500
Received: from HOUSLEY-LAP.rsasecurity.com (HOUSLEY-LAP [10.3.16.113]) by exna00.securitydynamics.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id HKX1N9S5; Wed, 3 Apr 2002 10:28:06 -0500
From: "Housley, Russ" <rhousley@rsasecurity.com>
To: David Chadwick <d.w.chadwick@salford.ac.uk>
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Message-Id: <5.1.0.14.2.20020403102012.031ad888@exna07.securitydynamics.com>
X-Sender: rhousley@exna07.securitydynamics.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 03 Apr 2002 10:21:39 -0500
Subject: Re: LDAP Certificate transfer syntax
In-Reply-To: <3CA8D20B.EDB26372@salford.ac.uk>
References: <5.1.0.14.2.20020401110819.032405a8@exna07.securitydynamics.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

David:

I would like to encourage clients to provide certificates in DER.  We ought 
to tell them that there will be less work for everyone if they provide 
DER-encoded certificates.  Likewise for CRLs.

Russ

At 10:32 PM 4/1/2002 +0100, David Chadwick wrote:


>"Housley, Russ" wrote:
> >
> > David:
> >
> > Is it possible to preserve the DER encoding.  If not, then the DER encoding
> > must be restored in order to validate the signature?  This just seems like
> > wasted processing to me.
> >
>
>Russ
>
>I quite agree. The revised text is meant to ensure that the DER or BER
>encoding created by the client when the certificate was first sent to
>the directory for storage is preserved as is. This is the purpose of the
>sentence below in the revised text, viz:
>
> > >Servers must preserve values in this syntax exactly as given when
> > >storing and retrieving them.
> > >
>
>Perhaps I should say "as given to them by the client, when storing and
>retrieving certificates"
>
>David
>


From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 11:20:48 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA07965
	for <ldapbis-archive@lists.ietf.org>; Wed, 3 Apr 2002 11:20:46 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33GHIu33562;
	Wed, 3 Apr 2002 16:17:18 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 16:17:18 +0000
Received: from netscape.com (r2d2.netscape.com [205.217.237.47])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g33GHGU33551
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 16:17:16 GMT
Received: from judge.mcom.com (judge.mcom.com [205.217.237.53])
	by netscape.com (8.10.0/8.10.0) with ESMTP id g33GGs706905
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 08:16:55 -0800 (PST)
Received: from netscape.com ([10.169.184.32]) by judge.mcom.com
          (Netscape Messaging Server 4.15) with ESMTP id GU02K600.CNJ;
          Wed, 3 Apr 2002 08:16:54 -0800 
Message-ID: <3CAB2AF1.3080408@netscape.com>
Date: Wed, 03 Apr 2002 11:16:49 -0500
From: mcs@netscape.com (Mark C Smith)
Organization: Netscape Communications Corp.
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.9) Gecko/20020311
X-Accept-Language: English/United States [en-US],En
MIME-Version: 1.0
To: David Chadwick <d.w.chadwick@salford.ac.uk>
CC: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax
References: <3CA860A2.20AB0F9C@salford.ac.uk>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I am still concerned about how dropping the ;binary transfer option that 
was mandated by RFC 2252 will affect the large installed base of LDAPv3 
and PKI implementations (of course some PKI clients are already trying 
to use userCertificate without ;binary with LDAPv3 implementations, and 
not surprisingly there are having a difficult time).

But if consensus is to proceed with this proposal, then I think the 
conflict with RFC 2252 should be noted in the PKIX document (there is a 
lot of history behind all of this, and implementors and users who do not 
know all of it will undoubtedly be confused).

-Mark Smith
  Netscape


David Chadwick wrote:
> Colleagues
> 
> Here is my proposed change to the section describing the LDAP syntax for
> cerificates in the PKIX id
> <draft-pkix-ldap-schema-03.txt> which should be published before the end
> of April. As this is likely to be the most contentious part of the new
> ID, I thought it would be useful to distribute this text at the earlier
> possible moment.
> 
> All constructive comments welcomed
> 
> David
> 
> 
> 3.3  Certificate Syntax
> 
> A value in this transfer syntax is the binary octet string that results
> from BER or DER-encoding of an X.509 public key certificate.  The
> following string states the OID assigned to this syntax:
> 
>       ( 1.3.6.1.4.1.1466.115.121.1.8 DESC 'Certificate' )
> 
> Servers must preserve values in this syntax exactly as given when
> storing and retrieving them. 
> 
> Note. Due to the changes from X.509(1988) to X.509(1993) and subsequent
> changes to the ASN.1 definition to support certificate extensions in
> X.509(1997), no character string transfer syntax is defined for
> certificates. The BNF notation in RFC 1778 [12] for "User Certificate"
> MUST NOT be used. Values in this syntax MUST be transferred as BER or
> DER encoded octets. The use of the ;binary encoding option, i.e. by
> requesting or returning the attributes with descriptions
> "userCertificate;binary" or "caCertificate;binary" has no effect on the
> transfer syntax.




From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 11:50:44 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08876
	for <ldapbis-archive@lists.ietf.org>; Wed, 3 Apr 2002 11:50:43 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33GccO35695;
	Wed, 3 Apr 2002 16:38:38 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 16:38:38 +0000
Received: (from kurt@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) id g33Gcb635687
	for ietf-ldapbis@openldap.org; Wed, 3 Apr 2002 16:38:37 GMT
Received: from e1.esmtp.ibm.com (e1.ny.us.ibm.com [32.97.182.101])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g33EsRU26513
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 14:54:27 GMT
Received: from northrelay02.pok.ibm.com (northrelay02.pok.us.ibm.com [9.117.200.22])
	by e1.esmtp.ibm.com (8.12.2/8.12.2) with ESMTP id g33EoVMr363910;
	Wed, 3 Apr 2002 09:50:31 -0500
Received: from d01ml062.pok.ibm.com (d01ml062.pok.ibm.com [9.117.250.163])
	by northrelay02.pok.ibm.com (8.11.1m3/NCO/VER6.00) with ESMTP id g33Erto15380;
	Wed, 3 Apr 2002 09:53:55 -0500
Importance: Normal
Subject: Re: LDAP Certificate transfer syntax (draft-ietf-pkix-ldap-v3-05.txt)
To: Harald Koch <chk@pobox.com>
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
X-Mailer: Lotus Notes Release 5.0.7  March 21, 2001
Message-ID: <OFE4C93AAA.E5DA66C1-ON85256B90.0050C515@pok.ibm.com>
From: "Tom Gindin" <tgindin@us.ibm.com>
Date: Wed, 3 Apr 2002 09:49:06 -0500
X-MIMETrack: Serialize by Router on D01ML062/01/M/IBM(Release 5.0.9a |January 28, 2002) at
 04/03/2002 09:53:56 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>


      Harald:

      While there is obviously nothing wrong with putting certificates in a
directory entry other than that of the subject (cross-certificates are
recommended to go into the issuer's directory entry as well as the
subject's for example), should certificates be stored in the
userCertificate attribute of any entry other than the subject's?  That's a
much more dubious thing to do.  Shouldn't a different attribute be defined
for such a purpose?

            Tom Gindin


Harald Koch <chk@pobox.com>@mail.imc.org on 04/03/2002 12:08:14 AM

Sent by:    owner-ietf-pkix@mail.imc.org


To:    LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
cc:
Subject:    Re: LDAP Certificate transfer syntax
       (draft-ietf-pkix-ldap-v3-05.txt)



Of all the gin joints in all the towns in all the world, Ken Stillson
had to walk into mine and say:
>
>   "A PKI object should be placed into a LDAP directory such that the LDAP
>    object DN matches the subject DN of the object."

It's supposed to be the other way around, isn't it? One should issue
certificates with a subject DN that matches the LDAP object DN.

Anyway, there are many environments where a certificate issued by one
organisation must be stored in a directory belonging to another. I don't
believe that an arbitrary restriction like this won't fly.

--
Harald Koch     <chk@pobox.com>


From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 12:45:43 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA10435
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 12:45:40 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33HZWK39421;
	Wed, 3 Apr 2002 17:35:32 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 17:35:32 +0000
Received: from rhea.salford.ac.uk (rhea.salford.ac.uk [146.87.255.99])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33HZTU39414
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 17:35:30 GMT
Received: (qmail 47784 invoked by alias); 3 Apr 2002 17:35:28 -0000
Received: (qmail 47772 invoked from network); 3 Apr 2002 17:35:28 -0000
Received: from unknown (HELO salford.ac.uk) (146.87.80.124)
  by rhea.salford.ac.uk with SMTP; 3 Apr 2002 17:35:28 -0000
Message-ID: <3CAB3E4E.3B6298A3@salford.ac.uk>
Date: Wed, 03 Apr 2002 18:39:26 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Housley, Russ" <rhousley@rsasecurity.com>
CC: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax
References: <5.1.0.14.2.20020401110819.032405a8@exna07.securitydynamics.com> <5.1.0.14.2.20020403102012.031ad888@exna07.securitydynamics.com>
Content-Type: multipart/mixed;
 boundary="------------727D949320E69CF4C0772B49"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------727D949320E69CF4C0772B49
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Russ

I dont think the issue below is one for the schema ID. The certificate
attributes in the directory should be perfectly happy to receive BER or
DER (or PER for that matter I guess). So the schema ID should allow
anything to be stored there.

Your issue is more one for the LDAP profile ID which was last updated in
January. In the profile we can suggest that clients always use DER for
encoding certificates.  But what is the common WG concensus on this? FYI
in recent work we did with attribute certificates we found we had to use
BER because the DER Java objects were too buggy.

David


"Housley, Russ" wrote:
> 
> David:
> 
> I would like to encourage clients to provide certificates in DER.  We ought
> to tell them that there will be less work for everyone if they provide
> DER-encoded certificates.  Likewise for CRLs.
> 
> Russ
> 
> At 10:32 PM 4/1/2002 +0100, David Chadwick wrote:
> 
> >"Housley, Russ" wrote:
> > >
> > > David:
> > >
> > > Is it possible to preserve the DER encoding.  If not, then the DER encoding
> > > must be restored in order to validate the signature?  This just seems like
> > > wasted processing to me.
> > >
> >
> >Russ
> >
> >I quite agree. The revised text is meant to ensure that the DER or BER
> >encoding created by the client when the certificate was first sent to
> >the directory for storage is preserved as is. This is the purpose of the
> >sentence below in the revised text, viz:
> >
> > > >Servers must preserve values in this syntax exactly as given when
> > > >storing and retrieving them.
> > > >
> >
> >Perhaps I should say "as given to them by the client, when storing and
> >retrieving certificates"
> >
> >David
> >

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------727D949320E69CF4C0772B49
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------727D949320E69CF4C0772B49--



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 12:46:45 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA10479
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 12:46:44 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33HfG239833;
	Wed, 3 Apr 2002 17:41:16 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 17:41:16 +0000
Received: from rhea.salford.ac.uk (rhea.salford.ac.uk [146.87.255.99])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33HfDU39823
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 17:41:13 GMT
Received: (qmail 48640 invoked by alias); 3 Apr 2002 17:41:12 -0000
Received: (qmail 48628 invoked from network); 3 Apr 2002 17:41:12 -0000
Received: from unknown (HELO salford.ac.uk) (146.87.80.124)
  by rhea.salford.ac.uk with SMTP; 3 Apr 2002 17:41:12 -0000
Message-ID: <3CAB3FA6.F7D03FD6@salford.ac.uk>
Date: Wed, 03 Apr 2002 18:45:10 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Mark C Smith <mcs@netscape.com>
CC: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax
References: <3CA860A2.20AB0F9C@salford.ac.uk> <3CAB2AF1.3080408@netscape.com>
Content-Type: multipart/mixed;
 boundary="------------FD959FE37FB6DF8FBBDCD039"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------FD959FE37FB6DF8FBBDCD039
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Mark

We are not dropping the ;binary option, you can still use it, but its
functionality is redundant as the "native" LDAP encoding is BER.

To put the other view, I have heard that some other LDAPv3 directories
are unable to accept the ;binary option anyway. So what I am now arguing
for is leniency on the part of servers, that they neither demand nor
reject the use of ;binary, but just ignore it if it is there.

David


Mark C Smith wrote:
> 
> I am still concerned about how dropping the ;binary transfer option that
> was mandated by RFC 2252 will affect the large installed base of LDAPv3
> and PKI implementations (of course some PKI clients are already trying
> to use userCertificate without ;binary with LDAPv3 implementations, and
> not surprisingly there are having a difficult time).
> 
> But if consensus is to proceed with this proposal, then I think the
> conflict with RFC 2252 should be noted in the PKIX document (there is a
> lot of history behind all of this, and implementors and users who do not
> know all of it will undoubtedly be confused).
> 
> -Mark Smith
>   Netscape
> 
> David Chadwick wrote:
> > Colleagues
> >
> > Here is my proposed change to the section describing the LDAP syntax for
> > cerificates in the PKIX id
> > <draft-pkix-ldap-schema-03.txt> which should be published before the end
> > of April. As this is likely to be the most contentious part of the new
> > ID, I thought it would be useful to distribute this text at the earlier
> > possible moment.
> >
> > All constructive comments welcomed
> >
> > David
> >
> >
> > 3.3  Certificate Syntax
> >
> > A value in this transfer syntax is the binary octet string that results
> > from BER or DER-encoding of an X.509 public key certificate.  The
> > following string states the OID assigned to this syntax:
> >
> >       ( 1.3.6.1.4.1.1466.115.121.1.8 DESC 'Certificate' )
> >
> > Servers must preserve values in this syntax exactly as given when
> > storing and retrieving them.
> >
> > Note. Due to the changes from X.509(1988) to X.509(1993) and subsequent
> > changes to the ASN.1 definition to support certificate extensions in
> > X.509(1997), no character string transfer syntax is defined for
> > certificates. The BNF notation in RFC 1778 [12] for "User Certificate"
> > MUST NOT be used. Values in this syntax MUST be transferred as BER or
> > DER encoded octets. The use of the ;binary encoding option, i.e. by
> > requesting or returning the attributes with descriptions
> > "userCertificate;binary" or "caCertificate;binary" has no effect on the
> > transfer syntax.

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------FD959FE37FB6DF8FBBDCD039
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------FD959FE37FB6DF8FBBDCD039--



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 13:05:21 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA10977
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 13:05:21 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33HwJi41085;
	Wed, 3 Apr 2002 17:58:19 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 17:58:19 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g33HwIU41078
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 17:58:18 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g33HwAC11133;
	Wed, 3 Apr 2002 17:58:10 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020403094751.01744a18@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 03 Apr 2002 09:58:22 -0800
To: mcs@netscape.com (Mark C Smith)
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAP Certificate transfer syntax
Cc: David Chadwick <d.w.chadwick@salford.ac.uk>,
        LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
In-Reply-To: <3CAB2AF1.3080408@netscape.com>
References: <3CA860A2.20AB0F9C@salford.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 08:16 AM 2002-04-03, Mark C Smith wrote:
>I am still concerned about how dropping the ;binary transfer option that was mandated by RFC 2252 will affect the large installed base of LDAPv3 and PKI implementations (of course some PKI clients are already trying to use userCertificate without ;binary with LDAPv3 implementations, and not surprisingly there are having a difficult time).

I fully concur.  The PKI schema specification needs to be
revised in a manner which doesn't introduce significant
backwards compatibility problems with implementations of
the current LDAPv3 technical specification.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 13:14:49 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA11284
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 13:14:48 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33I7ZC41682;
	Wed, 3 Apr 2002 18:07:35 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 18:07:35 +0000
Received: from vulcan.rsasecurity.com (vulcan.rsasecurity.com [204.167.114.130])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33I7VU41662
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 18:07:31 GMT
Received: from sdtihq24.securitydynamics.com by vulcan.rsasecurity.com
          via smtpd (for galois.openldap.org [204.152.186.51]) with SMTP; 3 Apr 2002 18:06:35 UT
Received: from ebola.securitydynamics.com (ebola.securid.com [192.80.211.4])
	by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id NAA04639;
	Wed, 3 Apr 2002 13:06:28 -0500 (EST)
Received: from exna00.securitydynamics.com (localhost [127.0.0.1])
	by ebola.securitydynamics.com (8.10.2+Sun/8.9.1) with ESMTP id g33I7Sb03900;
	Wed, 3 Apr 2002 13:07:28 -0500 (EST)
Received: by exna00.securitydynamics.com with Internet Mail Service (5.5.2653.19)
	id <HKX13BQ1>; Wed, 3 Apr 2002 13:05:02 -0500
Received: from HOUSLEY-LAP.rsasecurity.com (HOUSLEY-LAP [10.3.16.152]) by exna00.securitydynamics.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id HKX13BP0; Wed, 3 Apr 2002 13:04:54 -0500
From: "Housley, Russ" <rhousley@rsasecurity.com>
To: David Chadwick <d.w.chadwick@salford.ac.uk>
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Message-Id: <5.1.0.14.2.20020403125913.02ccfbd8@exna07.securitydynamics.com>
X-Sender: rhousley@exna07.securitydynamics.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 03 Apr 2002 13:05:59 -0500
Subject: Re: LDAP Certificate transfer syntax
In-Reply-To: <3CAB3E4E.3B6298A3@salford.ac.uk>
References: <5.1.0.14.2.20020401110819.032405a8@exna07.securitydynamics.com>
 <5.1.0.14.2.20020403102012.031ad888@exna07.securitydynamics.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

David:

When DAP is used, certificates come back in BER.  This happens because the 
DAP PDU is defined in ASN.1, and the BER encoding of the PDU encodes the 
data too.  An OCTET STRING could have been used, but this was all done 
before there were object that had signatures.  Anyway, I see this as an 
opportunity to do better.

I do not know about your AC development experience, but the specifications 
are quite clear about the need for DER.  It would be nice if the repository 
fetch did not force the client to restore the original DER encoding.

I agree that this is not a schema issue. However, a comment that the DER 
encoding applied by the signer should be preserved is all I really 
want.  You have already fixed the problem where the repository access 
protocol is changing the encoding.

Russ


At 06:39 PM 4/3/2002 +0100, David Chadwick wrote:
>Russ
>
>I dont think the issue below is one for the schema ID. The certificate
>attributes in the directory should be perfectly happy to receive BER or
>DER (or PER for that matter I guess). So the schema ID should allow
>anything to be stored there.
>
>Your issue is more one for the LDAP profile ID which was last updated in
>January. In the profile we can suggest that clients always use DER for
>encoding certificates.  But what is the common WG concensus on this? FYI
>in recent work we did with attribute certificates we found we had to use
>BER because the DER Java objects were too buggy.
>
>David
>
>
>"Housley, Russ" wrote:
> >
> > David:
> >
> > I would like to encourage clients to provide certificates in DER.  We ought
> > to tell them that there will be less work for everyone if they provide
> > DER-encoded certificates.  Likewise for CRLs.
> >
> > Russ
> >
> > At 10:32 PM 4/1/2002 +0100, David Chadwick wrote:
> >
> > >"Housley, Russ" wrote:
> > > >
> > > > David:
> > > >
> > > > Is it possible to preserve the DER encoding.  If not, then the DER 
> encoding
> > > > must be restored in order to validate the signature?  This just 
> seems like
> > > > wasted processing to me.
> > > >
> > >
> > >Russ
> > >
> > >I quite agree. The revised text is meant to ensure that the DER or BER
> > >encoding created by the client when the certificate was first sent to
> > >the directory for storage is preserved as is. This is the purpose of the
> > >sentence below in the revised text, viz:
> > >
> > > > >Servers must preserve values in this syntax exactly as given when
> > > > >storing and retrieving them.
> > > > >
> > >
> > >Perhaps I should say "as given to them by the client, when storing and
> > >retrieving certificates"
> > >
> > >David
> > >
>
>--
>*****************************************************************
>
>David W. Chadwick, BSc PhD
>Professor of Information Systems Security
>IS Institute, University of Salford, Salford M5 4WT
>Tel: +44 161 295 5351  Fax +44 161 745 8169
>Mobile: +44 77 96 44 7184
>Email: D.W.Chadwick@salford.ac.uk
>Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
>Research Projects: http://sec.isi.salford.ac.uk
>Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
>X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
>Entrust key validation string: MLJ9-DU5T-HV8J
>PGP Key ID is 0xBC238DE5
>
>*****************************************************************
>


From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 13:40:48 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA11793
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 13:40:47 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33IaIS43152;
	Wed, 3 Apr 2002 18:36:18 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 18:36:18 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g33IaFU43145
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 18:36:15 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g33IaCC11398;
	Wed, 3 Apr 2002 18:36:12 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020403103001.01744250@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 03 Apr 2002 10:36:25 -0800
To: David Chadwick <d.w.chadwick@salford.ac.uk>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAP Certificate transfer syntax
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
In-Reply-To: <3CA860A2.20AB0F9C@salford.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This text does not clearly "MUST" the use of ;binary as
RFC 2252 and RFC 2256 did.  As previously noted, this
"MUST" should not be dropped as doing so will cause
interoperability problems between implementations of
the current technical specification and the revised
technical specification.

Kurt

At 05:29 AM 2002-04-01, David Chadwick wrote:
>Colleagues
>
>Here is my proposed change to the section describing the LDAP syntax for
>cerificates in the PKIX id
><draft-pkix-ldap-schema-03.txt> which should be published before the end
>of April. As this is likely to be the most contentious part of the new
>ID, I thought it would be useful to distribute this text at the earlier
>possible moment.
>
>All constructive comments welcomed
>
>David
>
>
>3.3  Certificate Syntax
>
>A value in this transfer syntax is the binary octet string that results
>from BER or DER-encoding of an X.509 public key certificate.  The
>following string states the OID assigned to this syntax:
>
>      ( 1.3.6.1.4.1.1466.115.121.1.8 DESC 'Certificate' )
>
>Servers must preserve values in this syntax exactly as given when
>storing and retrieving them. 
>
>Note. Due to the changes from X.509(1988) to X.509(1993) and subsequent
>changes to the ASN.1 definition to support certificate extensions in
>X.509(1997), no character string transfer syntax is defined for
>certificates. The BNF notation in RFC 1778 [12] for "User Certificate"
>MUST NOT be used. Values in this syntax MUST be transferred as BER or
>DER encoded octets. The use of the ;binary encoding option, i.e. by
>requesting or returning the attributes with descriptions
>"userCertificate;binary" or "caCertificate;binary" has no effect on the
>transfer syntax.



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 14:03:21 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA12333
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 14:03:21 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33IqE343918;
	Wed, 3 Apr 2002 18:52:14 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 18:52:14 +0000
Received: from rhea.salford.ac.uk (rhea.salford.ac.uk [146.87.255.99])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33IqAU43897
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 18:52:11 GMT
Received: (qmail 60783 invoked by alias); 3 Apr 2002 18:52:09 -0000
Received: (qmail 60765 invoked from network); 3 Apr 2002 18:52:09 -0000
Received: from unknown (HELO salford.ac.uk) (146.87.80.124)
  by rhea.salford.ac.uk with SMTP; 3 Apr 2002 18:52:09 -0000
Message-ID: <3CAB5047.35DA6D1F@salford.ac.uk>
Date: Wed, 03 Apr 2002 19:56:07 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: Mark C Smith <mcs@netscape.com>, LDAP BIS <ietf-ldapbis@OpenLDAP.org>,
        PKIX <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax
References: <3CA860A2.20AB0F9C@salford.ac.uk> <5.1.0.14.0.20020403094751.01744a18@127.0.0.1>
Content-Type: multipart/mixed;
 boundary="------------2E38E2F8CB70E2AA402FD5FD"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------2E38E2F8CB70E2AA402FD5FD
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



"Kurt D. Zeilenga" wrote:
>
> I fully concur.  The PKI schema specification needs to be
> revised in a manner which doesn't introduce significant
> backwards compatibility problems with implementations of
> the current LDAPv3 technical specification.
> 
> Kurt

Kurt

I dont believe we are introducing significant backwards compatibility
problems (though there are some, see below) and we are removing forwards
compatibility problems which is a big plus. Given that there are many
fewer server implementations than clients, it will be easier to migrate
these to be ;binary lenient than to migrate lots of clients.

What the PKIX spec is in fact doing, which has never been done before
but should have been, is to specify a "native" encoding for certificates
that says they are BER or DER encoded byte strings. Thus the ;binary
option can be used, but it is a null function. It is also saying, which
again should have been said a long time ago but never was, is that
servers MUST NOT change the encoding of certificates when they recieve
them, but MUST leave them exactly as received and return them exactly as
received.

Now to the backwards compatibility issues. In the table below the only
problem will come with a new LDAPv3 client that does not use ;binary
with an existing v3 server that demands it. But we already have an
inconsistency in these current LDAPv3 servers in that they accept LDAPv2
queries without ;binary but not LDAPv3 queries without ;binary. But they
sometimes screw things up because a certificate stored by an LDAPv2
client cannot always be retrieved by an LDAPv3 client (which you have to
admit is pretty crazy). The new schema spec will remove all of these
problems once the servers become less religious about the presence of
;binary, and are configured to know that a certificate's native encoding
is already BER/DER.



                    Current LDAPv3 Server       NewLDAPv3Server
                    mandates ;binary            does not care

LDAPv2 client
does not use             seems to work                 OK  
;binary

Current LDAPv3 client       OK                        OK
does use ;binary


New LDAPv3 client         probably
does not use              wont work                   OK
;binary


I honestly believe that what is being proposed is the best solution to
what at present is a very messy LDAP world, as far as PKI is concerned

David


-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------2E38E2F8CB70E2AA402FD5FD
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------2E38E2F8CB70E2AA402FD5FD--



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 14:39:04 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA13655
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 14:39:03 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33JW8n46356;
	Wed, 3 Apr 2002 19:32:08 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 19:32:08 +0000
Received: from mclean.mail.mindspring.net (mclean.mail.mindspring.net [207.69.200.57])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g33JW5U46349
	for <ietf-ldapbis@openldap.org>; Wed, 3 Apr 2002 19:32:05 GMT
Received: from user-2ivf7qu.dialup.mindspring.com ([165.247.159.94] helo=asn-1.com)
	by mclean.mail.mindspring.net with esmtp (Exim 3.33 #1)
	id 16sqTF-0003Hb-00; Wed, 03 Apr 2002 14:31:02 -0500
Message-ID: <3CAB56AD.6BA85700@asn-1.com>
Date: Wed, 03 Apr 2002 14:23:25 -0500
From: Phil Griffin <phil.griffin@asn-1.com>
Organization: Griffin Consulting - http://ASN-1.com
X-Mailer: Mozilla 4.73 [en]C-{C-UDP; EBM-SONY1}  (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Housley, Russ" <rhousley@rsasecurity.com>
CC: David Chadwick <d.w.chadwick@salford.ac.uk>,
        LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax
References: <5.1.0.14.2.20020401110819.032405a8@exna07.securitydynamics.com>
	 <5.1.0.14.2.20020403102012.031ad888@exna07.securitydynamics.com> <5.1.0.14.2.20020403125913.02ccfbd8@exna07.securitydynamics.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Forgive me if I'm wrong here, but I had the understanding 
that the outermost sequence wrapper of a certificate was
a BER encoding, and the the inner content "ToBeSigned"
is required to be encoded using DER.

I think the point here should be, regardless of how the
certificate was initially encoded, it should be treated
as an open type, a value of type Certificate in its 
encoded form, and that the encoding received by the 
Directory should be preserved, and that preserved form
of the data should be returned to a requester.

If this is done, then the concerns Russ raises as to
requiring extra processing disappear, and the issue that
David raised as to whether the protocol can be extended 
to other encodings (BER or CER or PER or XER) is also mute.

The Directory just knows it has a blob. It stores the blob
as given and can return the blob on demand. 

Phil

"Housley, Russ" wrote:
> 
> David:
> 
> When DAP is used, certificates come back in BER.  This happens because the
> DAP PDU is defined in ASN.1, and the BER encoding of the PDU encodes the
> data too.  An OCTET STRING could have been used, but this was all done
> before there were object that had signatures.  Anyway, I see this as an
> opportunity to do better.
> 
> I do not know about your AC development experience, but the specifications
> are quite clear about the need for DER.  It would be nice if the repository
> fetch did not force the client to restore the original DER encoding.
> 
> I agree that this is not a schema issue. However, a comment that the DER
> encoding applied by the signer should be preserved is all I really
> want.  You have already fixed the problem where the repository access
> protocol is changing the encoding.
> 
> Russ
> 
> At 06:39 PM 4/3/2002 +0100, David Chadwick wrote:
> >Russ
> >
> >I dont think the issue below is one for the schema ID. The certificate
> >attributes in the directory should be perfectly happy to receive BER or
> >DER (or PER for that matter I guess). So the schema ID should allow
> >anything to be stored there.
> >
> >Your issue is more one for the LDAP profile ID which was last updated in
> >January. In the profile we can suggest that clients always use DER for
> >encoding certificates.  But what is the common WG concensus on this? FYI
> >in recent work we did with attribute certificates we found we had to use
> >BER because the DER Java objects were too buggy.
> >
> >David
> >
> >
> >"Housley, Russ" wrote:
> > >
> > > David:
> > >
> > > I would like to encourage clients to provide certificates in DER.  We ought
> > > to tell them that there will be less work for everyone if they provide
> > > DER-encoded certificates.  Likewise for CRLs.
> > >
> > > Russ
> > >
> > > At 10:32 PM 4/1/2002 +0100, David Chadwick wrote:
> > >
> > > >"Housley, Russ" wrote:
> > > > >
> > > > > David:
> > > > >
> > > > > Is it possible to preserve the DER encoding.  If not, then the DER
> > encoding
> > > > > must be restored in order to validate the signature?  This just
> > seems like
> > > > > wasted processing to me.
> > > > >
> > > >
> > > >Russ
> > > >
> > > >I quite agree. The revised text is meant to ensure that the DER or BER
> > > >encoding created by the client when the certificate was first sent to
> > > >the directory for storage is preserved as is. This is the purpose of the
> > > >sentence below in the revised text, viz:
> > > >
> > > > > >Servers must preserve values in this syntax exactly as given when
> > > > > >storing and retrieving them.
> > > > > >
> > > >
> > > >Perhaps I should say "as given to them by the client, when storing and
> > > >retrieving certificates"
> > > >
> > > >David
> > > >
> >
> >--
> >*****************************************************************
> >
> >David W. Chadwick, BSc PhD
> >Professor of Information Systems Security
> >IS Institute, University of Salford, Salford M5 4WT
> >Tel: +44 161 295 5351  Fax +44 161 745 8169
> >Mobile: +44 77 96 44 7184
> >Email: D.W.Chadwick@salford.ac.uk
> >Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> >Research Projects: http://sec.isi.salford.ac.uk
> >Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> >X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
> >Entrust key validation string: MLJ9-DU5T-HV8J
> >PGP Key ID is 0xBC238DE5
> >
> >*****************************************************************
> >


From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 14:59:11 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA14061
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 14:59:11 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33Jokp47172;
	Wed, 3 Apr 2002 19:50:47 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 19:50:46 +0000
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g33JoiU47131;
	Wed, 3 Apr 2002 19:50:44 GMT
Received: from rowlf.Central.Sun.COM ([129.153.131.70])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id LAA15108;
	Wed, 3 Apr 2002 11:50:08 -0800 (PST)
Received: from sun.com (dhcp-aus09-222 [129.153.130.222])
	by rowlf.Central.Sun.COM (8.11.6+Sun/8.11.6/ENSMAIL,v2.2) with ESMTP id g33Jo5e15260;
	Wed, 3 Apr 2002 13:50:06 -0600 (CST)
Message-ID: <3CAB5D21.40189BF9@sun.com>
Date: Wed, 03 Apr 2002 13:50:57 -0600
From: Mark Wahl <Mark.Wahl@sun.com>
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: David Chadwick <d.w.chadwick@salford.ac.uk>
CC: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>, Mark C Smith <mcs@netscape.com>,
        LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>,
        mark.wahl@sun.com
Subject: Re: LDAP Certificate transfer syntax
References: <3CA860A2.20AB0F9C@salford.ac.uk> <5.1.0.14.0.20020403094751.01744a18@127.0.0.1> <3CAB5047.35DA6D1F@salford.ac.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

David Chadwick wrote:
> 
> 
> Now to the backwards compatibility issues. In the table below the only
> problem will come with a new LDAPv3 client that does not use ;binary
> with an existing v3 server that demands it. But we already have an
> inconsistency in these current LDAPv3 servers in that they accept LDAPv2
> queries without ;binary but not LDAPv3 queries without ;binary. 

I do not think LDAPv2-LDAPv3 behavior is sufficient justification to cause 
incompatibility between two LDAPv3 implementations.

Maybe an "LDAPv4" should have a different way for clients to send  
certificate, but LDAPv2 compatibility should not be a concern that causes
this significant a change inside of the LDAPv3 specs.  That is out of scope 
for LDAPBIS.

Mark Wahl
Sun Microsystems Inc.


From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 15:53:53 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA15555
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 15:53:52 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33Kmip49627;
	Wed, 3 Apr 2002 20:48:44 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 20:48:44 +0000
Received: (from kurt@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) id g33KmhP49619
	for ietf-ldapbis@openldap.org; Wed, 3 Apr 2002 20:48:43 GMT
Received: from SOTTMXS01.entrust.com (mail.entrust.com [216.191.251.35])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g33KWbU49267;
	Wed, 3 Apr 2002 20:32:38 GMT
Received: by SOTTMXS01.entrust.com with Internet Mail Service (5.5.2653.19)
	id <2GYX4KF4>; Wed, 3 Apr 2002 15:32:12 -0500
Message-ID: <9A4F653B0A375841AC75A8D17712B9C9031C3A11@sottmxs04.entrust.com>
From: Sharon Boeyen <sharon.boeyen@entrust.com>
To: "'Mark Wahl'" <Mark.Wahl@sun.com>,
        David Chadwick
	<d.w.chadwick@salford.ac.uk>
Cc: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>, Mark C Smith
	<mcs@netscape.com>,
        LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX
	<ietf-pkix@imc.org>
Subject: RE: LDAP Certificate transfer syntax
Date: Wed, 3 Apr 2002 15:32:11 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C1DB4E.A1DBE780"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1DB4E.A1DBE780
Content-Type: text/plain

>From the PKIX perspective, I firmly believe that backward compatibility 
with the PKIX LDAP specs is a very important issue. I believe that what 
David is proposing satisfies that important criteria and support the 
proposal.

Sharon 


-----Original Message-----
From: Mark Wahl [mailto:Mark.Wahl@sun.com]
Sent: Wednesday, April 03, 2002 2:51 PM
To: David Chadwick
Cc: Kurt D. Zeilenga; Mark C Smith; LDAP BIS; PKIX; mark.wahl@sun.com
Subject: Re: LDAP Certificate transfer syntax



David Chadwick wrote:
> 
> 
> Now to the backwards compatibility issues. In the table below the only
> problem will come with a new LDAPv3 client that does not use ;binary
> with an existing v3 server that demands it. But we already have an
> inconsistency in these current LDAPv3 servers in that they accept LDAPv2
> queries without ;binary but not LDAPv3 queries without ;binary. 

I do not think LDAPv2-LDAPv3 behavior is sufficient justification to cause 
incompatibility between two LDAPv3 implementations.

Maybe an "LDAPv4" should have a different way for clients to send  
certificate, but LDAPv2 compatibility should not be a concern that causes
this significant a change inside of the LDAPv3 specs.  That is out of scope 
for LDAPBIS.

Mark Wahl
Sun Microsystems Inc.

------_=_NextPart_001_01C1DB4E.A1DBE780
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">

From the PKIX perspective, I firmly believe that backward compatibility 
with the PKIX LDAP specs is a very important issue. I believe that what 
David is proposing satisfies that important criteria and support the 
proposal. 

Sharon 

-----Original Message----- 
From: Mark Wahl [mailto:Mark.Wahl@sun.com] 
Sent: Wednesday, April 03, 2002 2:51 PM 
To: David Chadwick 
Cc: Kurt D. Zeilenga; Mark C Smith; LDAP BIS; PKIX; mark.wahl@sun.com 
Subject: Re: LDAP Certificate transfer syntax 


David Chadwick wrote: 
> 
> 
> Now to the backwards compatibility issues. In the table below the only 
> problem will come with a new LDAPv3 client that does not use ;binary 
> with an existing v3 server that demands it. But we already have an 
> inconsistency in these current LDAPv3 servers in that they accept LDAPv2 
> queries without ;binary but not LDAPv3 queries without ;binary. 

I do not think LDAPv2-LDAPv3 behavior is sufficient justification to cause 
incompatibility between two LDAPv3 implementations. 

Maybe an "LDAPv4" should have a different way for clients to send  
certificate, but LDAPv2 compatibility should not be a concern that causes 
this significant a change inside of the LDAPv3 specs.  That is out of scope 
for LDAPBIS. 

Mark Wahl 
Sun Microsystems Inc. 
------_=_NextPart_001_01C1DB4E.A1DBE780--


From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 16:06:14 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA15739
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 16:06:13 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33Kuwk50138;
	Wed, 3 Apr 2002 20:56:58 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 20:56:58 +0000
Received: (from kurt@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) id g33Kuvx50130
	for ietf-ldapbis@openldap.org; Wed, 3 Apr 2002 20:56:57 GMT
Received: from SOTTMXS01.entrust.com (mail.entrust.com [216.191.251.35])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g33KWbU49267;
	Wed, 3 Apr 2002 20:32:38 GMT
Received: by SOTTMXS01.entrust.com with Internet Mail Service (5.5.2653.19)
	id <2GYX4KF4>; Wed, 3 Apr 2002 15:32:12 -0500
Message-ID: <9A4F653B0A375841AC75A8D17712B9C9031C3A11@sottmxs04.entrust.com>
From: Sharon Boeyen <sharon.boeyen@entrust.com>
To: "'Mark Wahl'" <Mark.Wahl@sun.com>,
        David Chadwick
	<d.w.chadwick@salford.ac.uk>
Cc: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>, Mark C Smith
	<mcs@netscape.com>,
        LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX
	<ietf-pkix@imc.org>
Subject: RE: LDAP Certificate transfer syntax
Date: Wed, 3 Apr 2002 15:32:11 -0500 
X-Mime-Stripped: manually
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

>From the PKIX perspective, I firmly believe that backward compatibility 
with the PKIX LDAP specs is a very important issue. I believe that what 
David is proposing satisfies that important criteria and support the 
proposal.

Sharon 


-----Original Message-----
From: Mark Wahl [mailto:Mark.Wahl@sun.com]
Sent: Wednesday, April 03, 2002 2:51 PM
To: David Chadwick
Cc: Kurt D. Zeilenga; Mark C Smith; LDAP BIS; PKIX; mark.wahl@sun.com
Subject: Re: LDAP Certificate transfer syntax



David Chadwick wrote:
> 
> 
> Now to the backwards compatibility issues. In the table below the only
> problem will come with a new LDAPv3 client that does not use ;binary
> with an existing v3 server that demands it. But we already have an
> inconsistency in these current LDAPv3 servers in that they accept LDAPv2
> queries without ;binary but not LDAPv3 queries without ;binary. 

I do not think LDAPv2-LDAPv3 behavior is sufficient justification to cause 
incompatibility between two LDAPv3 implementations.

Maybe an "LDAPv4" should have a different way for clients to send  
certificate, but LDAPv2 compatibility should not be a concern that causes
this significant a change inside of the LDAPv3 specs.  That is out of scope 
for LDAPBIS.

Mark Wahl
Sun Microsystems Inc.


From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 16:50:23 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA16898
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 16:50:21 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33LefV52863;
	Wed, 3 Apr 2002 21:40:41 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 21:40:41 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g33LebU52853
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 21:40:37 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g33LeFC12416;
	Wed, 3 Apr 2002 21:40:15 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020403133750.0252a4f0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 03 Apr 2002 13:40:27 -0800
To: Sharon Boeyen <sharon.boeyen@entrust.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: LDAP Certificate transfer syntax
Cc: "'Mark Wahl'" <Mark.Wahl@sun.com>,
        David Chadwick <d.w.chadwick@salford.ac.uk>,
        Mark C Smith <mcs@netscape.com>, LDAP BIS <ietf-ldapbis@OpenLDAP.org>,
        PKIX <ietf-pkix@imc.org>
In-Reply-To: <9A4F653B0A375841AC75A8D17712B9C9031C3A11@sottmxs04.entrust
 .com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 12:32 PM 2002-04-03, Sharon Boeyen wrote:
>>From the PKIX perspective, I firmly believe that backward compatibility 
>with the PKIX LDAP specs is a very important issue.

I think there is some confusion here as to regards to
"compatibility".  This is an update/revision of an LDAPv3
technical specification.  We are implicitly talking about
compatibility of (conformant) implementations of the
existing LDAPv3 technical specification and future
(conformant) implementations of a future LDAPv3 technical
specification.

LDAPv2 and LDAPv3 are distinct on-the-wire protocols.
Directory add, delete, modify, rename, or search operations
either has LDAPv2 syntax and semantics or has LDAPv3 syntax
and semantics.

Here we are talking about changes to LDAPv3 technical
specification and how they would or wouldn't affect LDAPv3
implementations.

These changes have ZERO impact on LDAPv2 implementations.


>I believe that what 
>David is proposing satisfies that important criteria and support the 
>proposal.
In David's table, he shows that existing LDAPv3 implementations
are "OK".   That is, LDAPv3 is not broken in this regard.  The
specification is clear and there multiple interoperable
LDAPv3 implementations.

Removing the "MUST" request and use certificate attributes using
;binary will cause interoperability problems and will force
unnecessary changes to BOTH LDAPv3 clients and LDAPv3 servers.
This is because LDAPv3 does not provide any mechanism for
an LDAP peer (client or server) to discover which options its peer
(server or client) to discover which attribute descriptions
it supports.

That is, this suggest change will implementations to updated to
support it.  This will include some clients (such as those which
as for "*" and expect userCertificate;binary) and most (if not
all) servers.  That's bad!

Hence, for LDAPv3 interoperability sake, the specification needs
to continue to MUST the use of ;binary for these attributes except
where the client and server have a prior agreement that the
OPTIONAL native encoding is to be used.

Of course, one ought to wonder why any LDAPv3 implementation
would support this OPTIONAL native encoding when the REQUIRED
encoding is more broadly implemented and provides the same
functionality.   It seems redundant to me.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 17:00:43 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA17095
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 17:00:42 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33Ltfa54096;
	Wed, 3 Apr 2002 21:55:41 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 21:55:41 +0000
Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g33LtcU54076
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 3 Apr 2002 21:55:38 GMT
Received: from salford.ac.uk ([213.107.136.218]) by mta01-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020403215536.TKLX278.mta01-svc.ntlworld.com@salford.ac.uk>;
          Wed, 3 Apr 2002 22:55:36 +0100
Message-ID: <3CAB7B46.8A20A5AB@salford.ac.uk>
Date: Wed, 03 Apr 2002 22:59:35 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Phil Griffin <phil.griffin@asn-1.com>
CC: "Housley, Russ" <rhousley@rsasecurity.com>,
        LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax
References: <5.1.0.14.2.20020401110819.032405a8@exna07.securitydynamics.com>
		 <5.1.0.14.2.20020403102012.031ad888@exna07.securitydynamics.com> <5.1.0.14.2.20020403125913.02ccfbd8@exna07.securitydynamics.com> <3CAB56AD.6BA85700@asn-1.com>
Content-Type: multipart/mixed;
 boundary="------------6D0B5EBF29B744646766569C"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------6D0B5EBF29B744646766569C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



Phil Griffin wrote:

> If this is done, then the concerns Russ raises as to
> requiring extra processing disappear, and the issue that
> David raised as to whether the protocol can be extended
> to other encodings (BER or CER or PER or XER) is also mute.
> 
> The Directory just knows it has a blob. It stores the blob
> as given and can return the blob on demand.

Phil

thanks for this. But there is one further point, and that concerns
certificate matching which is the other topic of the schema ID. For this
to work, the server has to parse the blob and extract the various fields
to be used in subsequent searches. Therefore the server needs to be told
what transfer syntax the blob is being sent in. The current proposed
text only allows the blob to be BER or DER and not PER or XER encoded.
To allow the latter we would need to introduce new LDAP transfer
encoding keywords such as ;PER and ;XML. The current ;binary keyword
specifically means BER encoding. (And because DER is a subset of BER
then ;binary is taken to mean DER as well, which maybe it should not if
we were to be really strict?).

David

> 
> Phil
> 
> "Housley, Russ" wrote:
> >
> > David:
> >
> > When DAP is used, certificates come back in BER.  This happens because the
> > DAP PDU is defined in ASN.1, and the BER encoding of the PDU encodes the
> > data too.  An OCTET STRING could have been used, but this was all done
> > before there were object that had signatures.  Anyway, I see this as an
> > opportunity to do better.
> >
> > I do not know about your AC development experience, but the specifications
> > are quite clear about the need for DER.  It would be nice if the repository
> > fetch did not force the client to restore the original DER encoding.
> >
> > I agree that this is not a schema issue. However, a comment that the DER
> > encoding applied by the signer should be preserved is all I really
> > want.  You have already fixed the problem where the repository access
> > protocol is changing the encoding.
> >
> > Russ
> >
> > At 06:39 PM 4/3/2002 +0100, David Chadwick wrote:
> > >Russ
> > >
> > >I dont think the issue below is one for the schema ID. The certificate
> > >attributes in the directory should be perfectly happy to receive BER or
> > >DER (or PER for that matter I guess). So the schema ID should allow
> > >anything to be stored there.
> > >
> > >Your issue is more one for the LDAP profile ID which was last updated in
> > >January. In the profile we can suggest that clients always use DER for
> > >encoding certificates.  But what is the common WG concensus on this? FYI
> > >in recent work we did with attribute certificates we found we had to use
> > >BER because the DER Java objects were too buggy.
> > >
> > >David
> > >
> > >
> > >"Housley, Russ" wrote:
> > > >
> > > > David:
> > > >
> > > > I would like to encourage clients to provide certificates in DER.  We ought
> > > > to tell them that there will be less work for everyone if they provide
> > > > DER-encoded certificates.  Likewise for CRLs.
> > > >
> > > > Russ
> > > >
> > > > At 10:32 PM 4/1/2002 +0100, David Chadwick wrote:
> > > >
> > > > >"Housley, Russ" wrote:
> > > > > >
> > > > > > David:
> > > > > >
> > > > > > Is it possible to preserve the DER encoding.  If not, then the DER
> > > encoding
> > > > > > must be restored in order to validate the signature?  This just
> > > seems like
> > > > > > wasted processing to me.
> > > > > >
> > > > >
> > > > >Russ
> > > > >
> > > > >I quite agree. The revised text is meant to ensure that the DER or BER
> > > > >encoding created by the client when the certificate was first sent to
> > > > >the directory for storage is preserved as is. This is the purpose of the
> > > > >sentence below in the revised text, viz:
> > > > >
> > > > > > >Servers must preserve values in this syntax exactly as given when
> > > > > > >storing and retrieving them.
> > > > > > >
> > > > >
> > > > >Perhaps I should say "as given to them by the client, when storing and
> > > > >retrieving certificates"
> > > > >
> > > > >David
> > > > >
> > >
> > >--
> > >*****************************************************************
> > >
> > >David W. Chadwick, BSc PhD
> > >Professor of Information Systems Security
> > >IS Institute, University of Salford, Salford M5 4WT
> > >Tel: +44 161 295 5351  Fax +44 161 745 8169
> > >Mobile: +44 77 96 44 7184
> > >Email: D.W.Chadwick@salford.ac.uk
> > >Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> > >Research Projects: http://sec.isi.salford.ac.uk
> > >Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> > >X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
> > >Entrust key validation string: MLJ9-DU5T-HV8J
> > >PGP Key ID is 0xBC238DE5
> > >
> > >*****************************************************************
> > >

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------6D0B5EBF29B744646766569C
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------6D0B5EBF29B744646766569C--



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 17:43:00 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA18024
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 17:42:58 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33Mep760061;
	Wed, 3 Apr 2002 22:40:51 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 22:40:51 +0000
Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g33MelU60037;
	Wed, 3 Apr 2002 22:40:47 GMT
Received: from salford.ac.uk ([213.107.136.218]) by mta01-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020403224046.VBZF278.mta01-svc.ntlworld.com@salford.ac.uk>;
          Wed, 3 Apr 2002 23:40:46 +0100
Message-ID: <3CAB85DD.A83A12A3@salford.ac.uk>
Date: Wed, 03 Apr 2002 23:44:45 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: Sharon Boeyen <sharon.boeyen@entrust.com>,
        "'Mark Wahl'" <Mark.Wahl@sun.com>, Mark C Smith <mcs@netscape.com>,
        LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax
References: <5.1.0.14.0.20020403133750.0252a4f0@127.0.0.1>
Content-Type: multipart/mixed;
 boundary="------------2760BDF270BAB33094D4E39F"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------2760BDF270BAB33094D4E39F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



"Kurt D. Zeilenga" wrote:

> These changes have ZERO impact on LDAPv2 implementations.
> 

Agreed


> In David's table, he shows that existing LDAPv3 implementations
> are "OK".   That is, LDAPv3 is not broken in this regard.  The
> specification is clear and there multiple interoperable
> LDAPv3 implementations.
> 

But LDAP (v2 and v3) is deficient in that it has never specified a
workable "native" transfer encoding for certificates. The LDAPv2 attempt
was broken as we know, and v3 never replaced it - until my proposed text
now. Are certificates the only commonly used attributes without a
"native" encoding? I cant think of any others. So this is a deficiency
that should be rectified in my opinion.


> Removing the "MUST" request 

This is a natural consequence of defining a native encoding.
Clients now have a choice of transfer encoding to ask for. It just so
happens that in the case of certificates both native and ;binary
encodings happen to be the same (fortunately for signature checking :-)

>and use certificate attributes using
> ;binary will cause interoperability problems and will force
> unnecessary changes to BOTH LDAPv3 clients and LDAPv3 servers.

No, it wont necessitate any changes to clients. Once the LDAPv3 servers
make the change, this is backwards compatible and will work with any v3
client. The servers can accept any request, with or without ;binary, and
if they want can always return ;binary in their responses to cater for
both types of client.

> This is because LDAPv3 does not provide any mechanism for
> an LDAP peer (client or server) to discover which options its peer
> (server or client) to discover which attribute descriptions
> it supports.
> 

This is not a certificate problem per se, this is a generic LDAP problem
isnt it?

> That is, this suggest change will implementations to updated to
> support it.  This will include some clients (such as those which
> as for "*" and expect userCertificate;binary) 

agreed, if a server is to be consistent it probably would not put
;binary on any returned attributes, although I believe that todays
LDAPv3 servers will put ;binary on certificates because of the MUST
requirement. If they continued to do this in the future it would not
cause any problems with the clients, but would be inconsistent
behaviour.

>and most (if not
> all) servers.  That's bad!
> 

I think the change would not have been necessary if all existing
products had implemented the current spec. And thats bad!!

> Hence, for LDAPv3 interoperability sake, the specification needs
> to continue to MUST the use of ;binary for these attributes except
> where the client and server have a prior agreement that the
> OPTIONAL native encoding is to be used.
> 

As a general rule I think that continuing to mandate one particular
tranfer encoding just for certificates is wrong and leaves us in hole in
the future if new transfer encodings are developed, such as XML (which
incidentally has now been standardised for certificates). So how would
you propose to cater for XML encodings in the future?


> Of course, one ought to wonder why any LDAPv3 implementation
> would support this OPTIONAL native encoding when the REQUIRED
> encoding is more broadly implemented and provides the same
> functionality.   It seems redundant to me.
> 

Clearly there is redundancy once a native encoding is specified and this
happens to be the same as the ;binary encoding, that is not in doubt.
But who is to say which one is the redundant one? It could be the use of
;binary. Maybe this transfer encoding is no longer needed by LDAPv3
(just being devil's advocate here :-)

David


> Kurt

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------2760BDF270BAB33094D4E39F
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------2760BDF270BAB33094D4E39F--



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 18:07:25 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA18345
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 18:07:24 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g33N4gs62329;
	Wed, 3 Apr 2002 23:04:42 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 3 Apr 2002 23:04:42 +0000
Received: from tisch.mail.mindspring.net (tisch.mail.mindspring.net [207.69.200.157])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g33N4dU62315
	for <ietf-ldapbis@openldap.org>; Wed, 3 Apr 2002 23:04:39 GMT
Received: from user-2ivf760.dialup.mindspring.com ([165.247.156.192] helo=asn-1.com)
	by tisch.mail.mindspring.net with esmtp (Exim 3.33 #1)
	id 16stnk-0001xj-00; Wed, 03 Apr 2002 18:04:25 -0500
Message-ID: <3CAB8883.FD9CDC35@asn-1.com>
Date: Wed, 03 Apr 2002 17:56:03 -0500
From: Phil Griffin <phil.griffin@asn-1.com>
Organization: Griffin Consulting - http://ASN-1.com
X-Mailer: Mozilla 4.73 [en]C-{C-UDP; EBM-SONY1}  (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
To: David Chadwick <d.w.chadwick@salford.ac.uk>
CC: "Housley, Russ" <rhousley@rsasecurity.com>,
        LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax
References: <5.1.0.14.2.20020401110819.032405a8@exna07.securitydynamics.com>
			 <5.1.0.14.2.20020403102012.031ad888@exna07.securitydynamics.com> <5.1.0.14.2.20020403125913.02ccfbd8@exna07.securitydynamics.com> <3CAB56AD.6BA85700@asn-1.com> <3CAB7B46.8A20A5AB@salford.ac.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

David,

Understood and agree. My point though is that if
the format of the initial encoding is preserved 
as an open type, it doesn't much matter what it 
happened to be when it was signed. 

It is only when someone tries to reconstruct the
certificate from its values using the strict DER 
subset of BER that a mismatch with the signature 
due to BER/DER differences in the encoding can 
arise.

And as you've stated, technically when you say BER 
you've included DER, as DER is a subset. But if 
you are talking about a protocol requirement you
may need to be careful with the language and try 
to be as explicit as possible.

Surely if ;binary means BER it is not illegal to 
return DER. But if ;binary means DER, then it would
seem that returning BER that is not from the DER 
subset would be illegal. 

And if a ;binary object is a BER wrapper around a
DER encoding, then that's another case. 

Phil



David Chadwick wrote:
> 
> Phil Griffin wrote:
> 
> > If this is done, then the concerns Russ raises as to
> > requiring extra processing disappear, and the issue that
> > David raised as to whether the protocol can be extended
> > to other encodings (BER or CER or PER or XER) is also mute.
> >
> > The Directory just knows it has a blob. It stores the blob
> > as given and can return the blob on demand.
> 
> Phil
> 
> thanks for this. But there is one further point, and that concerns
> certificate matching which is the other topic of the schema ID. For this
> to work, the server has to parse the blob and extract the various fields
> to be used in subsequent searches. Therefore the server needs to be told
> what transfer syntax the blob is being sent in. The current proposed
> text only allows the blob to be BER or DER and not PER or XER encoded.
> To allow the latter we would need to introduce new LDAP transfer
> encoding keywords such as ;PER and ;XML. The current ;binary keyword
> specifically means BER encoding. (And because DER is a subset of BER
> then ;binary is taken to mean DER as well, which maybe it should not if
> we were to be really strict?).
> 
> David
> 
> >
> > Phil
> >
> > "Housley, Russ" wrote:
> > >
> > > David:
> > >
> > > When DAP is used, certificates come back in BER.  This happens because the
> > > DAP PDU is defined in ASN.1, and the BER encoding of the PDU encodes the
> > > data too.  An OCTET STRING could have been used, but this was all done
> > > before there were object that had signatures.  Anyway, I see this as an
> > > opportunity to do better.
> > >
> > > I do not know about your AC development experience, but the specifications
> > > are quite clear about the need for DER.  It would be nice if the repository
> > > fetch did not force the client to restore the original DER encoding.
> > >
> > > I agree that this is not a schema issue. However, a comment that the DER
> > > encoding applied by the signer should be preserved is all I really
> > > want.  You have already fixed the problem where the repository access
> > > protocol is changing the encoding.
> > >
> > > Russ
> > >
> > > At 06:39 PM 4/3/2002 +0100, David Chadwick wrote:
> > > >Russ
> > > >
> > > >I dont think the issue below is one for the schema ID. The certificate
> > > >attributes in the directory should be perfectly happy to receive BER or
> > > >DER (or PER for that matter I guess). So the schema ID should allow
> > > >anything to be stored there.
> > > >
> > > >Your issue is more one for the LDAP profile ID which was last updated in
> > > >January. In the profile we can suggest that clients always use DER for
> > > >encoding certificates.  But what is the common WG concensus on this? FYI
> > > >in recent work we did with attribute certificates we found we had to use
> > > >BER because the DER Java objects were too buggy.
> > > >
> > > >David
> > > >
> > > >
> > > >"Housley, Russ" wrote:
> > > > >
> > > > > David:
> > > > >
> > > > > I would like to encourage clients to provide certificates in DER.  We ought
> > > > > to tell them that there will be less work for everyone if they provide
> > > > > DER-encoded certificates.  Likewise for CRLs.
> > > > >
> > > > > Russ
> > > > >
> > > > > At 10:32 PM 4/1/2002 +0100, David Chadwick wrote:
> > > > >
> > > > > >"Housley, Russ" wrote:
> > > > > > >
> > > > > > > David:
> > > > > > >
> > > > > > > Is it possible to preserve the DER encoding.  If not, then the DER
> > > > encoding
> > > > > > > must be restored in order to validate the signature?  This just
> > > > seems like
> > > > > > > wasted processing to me.
> > > > > > >
> > > > > >
> > > > > >Russ
> > > > > >
> > > > > >I quite agree. The revised text is meant to ensure that the DER or BER
> > > > > >encoding created by the client when the certificate was first sent to
> > > > > >the directory for storage is preserved as is. This is the purpose of the
> > > > > >sentence below in the revised text, viz:
> > > > > >
> > > > > > > >Servers must preserve values in this syntax exactly as given when
> > > > > > > >storing and retrieving them.
> > > > > > > >
> > > > > >
> > > > > >Perhaps I should say "as given to them by the client, when storing and
> > > > > >retrieving certificates"
> > > > > >
> > > > > >David
> > > > > >
> > > >
> > > >--
> > > >*****************************************************************
> > > >
> > > >David W. Chadwick, BSc PhD
> > > >Professor of Information Systems Security
> > > >IS Institute, University of Salford, Salford M5 4WT
> > > >Tel: +44 161 295 5351  Fax +44 161 745 8169
> > > >Mobile: +44 77 96 44 7184
> > > >Email: D.W.Chadwick@salford.ac.uk
> > > >Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> > > >Research Projects: http://sec.isi.salford.ac.uk
> > > >Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> > > >X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
> > > >Entrust key validation string: MLJ9-DU5T-HV8J
> > > >PGP Key ID is 0xBC238DE5
> > > >
> > > >*****************************************************************
> > > >
> 
> --
> *****************************************************************
> 
> David W. Chadwick, BSc PhD
> Professor of Information Systems Security
> IS Institute, University of Salford, Salford M5 4WT
> Tel: +44 161 295 5351  Fax +44 161 745 8169
> Mobile: +44 77 96 44 7184
> Email: D.W.Chadwick@salford.ac.uk
> Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> Research Projects: http://sec.isi.salford.ac.uk
> Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
> Entrust key validation string: MLJ9-DU5T-HV8J
> PGP Key ID is 0xBC238DE5
> 
> *****************************************************************


From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 20:05:04 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA20421
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 20:05:04 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3413Rt70447;
	Thu, 4 Apr 2002 01:03:27 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 01:03:27 +0000
Received: from aspams52.ca.com (aspams52.cai.com [155.35.248.76])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3413PU70437
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 4 Apr 2002 01:03:25 GMT
Received: by aspams52.ca.com with Internet Mail Service (5.5.2655.55)
	id <H5DC1S97>; Thu, 4 Apr 2002 11:01:25 +1000
Message-ID: <A7E3A4B51615D511BCB6009027D0D18C0457EA45@aspams01.ca.com>
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: Mark Wahl <Mark.Wahl@sun.com>
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: RE: LDAP Certificate transfer syntax
Date: Thu, 4 Apr 2002 11:02:37 +1000 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I thought certificate syntax was being removed from the LDAP v3 specs and,
therefore, certificate syntax was not an issue for DLAPbis?

Ron.

-----Original Message-----
From: Mark Wahl [mailto:Mark.Wahl@sun.com]
Sent: Thursday, 4 April 2002 5:51
To: David Chadwick
Cc: Kurt D. Zeilenga; Mark C Smith; LDAP BIS; PKIX; mark.wahl@sun.com
Subject: Re: LDAP Certificate transfer syntax


David Chadwick wrote:
> 
> 
> Now to the backwards compatibility issues. In the table below the only
> problem will come with a new LDAPv3 client that does not use ;binary
> with an existing v3 server that demands it. But we already have an
> inconsistency in these current LDAPv3 servers in that they accept LDAPv2
> queries without ;binary but not LDAPv3 queries without ;binary. 

I do not think LDAPv2-LDAPv3 behavior is sufficient justification to cause 
incompatibility between two LDAPv3 implementations.

Maybe an "LDAPv4" should have a different way for clients to send  
certificate, but LDAPv2 compatibility should not be a concern that causes
this significant a change inside of the LDAPv3 specs.  That is out of scope 
for LDAPBIS.

Mark Wahl
Sun Microsystems Inc.


From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 20:07:12 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA20439
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 20:07:11 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3415XZ70848;
	Thu, 4 Apr 2002 01:05:33 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 01:05:33 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3415VU70825;
	Thu, 4 Apr 2002 01:05:32 GMT
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Wed, 03 Apr 2002 18:04:13 -0700
Message-Id: <scab441d.078@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.0.1
Date: Wed, 03 Apr 2002 18:02:25 -0700
From: "Jim Sermersheim" <JIMSE@novell.com>
To: <Kurt@OpenLDAP.org>, <d.w.chadwick@salford.ac.uk>
Cc: <ietf-pkix@imc.org>, <ietf-ldapbis@OpenLDAP.org>
Subject: Re: LDAP Certificate transfer syntax
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I note that 2252 and 2256 both have problems with the language used to
specify this.

2252 says that values of the Certificate syntax MUST be transferred
using the binary encoding. It then gives two attribute descriptions
"userCertificate;binary" and caCertificate;binary". If I create an
attribute called printerCertificate, what am I supposed to refer to it
as?

It can be argued that the MUST here refers to the encoding, and the
attribute descriptions are merely examples of the day.

2256 says "This attribute is to be stored and requested in the binary
form, as 'userCertificate;binary'". Am I to believe that I must somehow
store the ;binary option in my database? Aside from that sillines, there
is no MUST imperative here.

Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 04/03/02 11:36AM >>>
This text does not clearly "MUST" the use of ;binary as
RFC 2252 and RFC 2256 did.  As previously noted, this
"MUST" should not be dropped as doing so will cause
interoperability problems between implementations of
the current technical specification and the revised
technical specification.

Kurt

At 05:29 AM 2002-04-01, David Chadwick wrote:
>Colleagues
>
>Here is my proposed change to the section describing the LDAP syntax
for
>cerificates in the PKIX id
><draft-pkix-ldap-schema-03.txt> which should be published before the
end
>of April. As this is likely to be the most contentious part of the
new
>ID, I thought it would be useful to distribute this text at the
earlier
>possible moment.
>
>All constructive comments welcomed
>
>David
>
>
>3.3  Certificate Syntax
>
>A value in this transfer syntax is the binary octet string that
results
>from BER or DER-encoding of an X.509 public key certificate.  The
>following string states the OID assigned to this syntax:
>
>      ( 1.3.6.1.4.1.1466.115.121.1.8 DESC 'Certificate' )
>
>Servers must preserve values in this syntax exactly as given when
>storing and retrieving them. 
>
>Note. Due to the changes from X.509(1988) to X.509(1993) and
subsequent
>changes to the ASN.1 definition to support certificate extensions in
>X.509(1997), no character string transfer syntax is defined for
>certificates. The BNF notation in RFC 1778 [12] for "User
Certificate"
>MUST NOT be used. Values in this syntax MUST be transferred as BER or
>DER encoded octets. The use of the ;binary encoding option, i.e. by
>requesting or returning the attributes with descriptions
>"userCertificate;binary" or "caCertificate;binary" has no effect on
the
>transfer syntax.



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 21:25:10 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA21429
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 21:25:09 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g342NRZ73262;
	Thu, 4 Apr 2002 02:23:27 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 02:23:27 +0000
Received: from nexus.adacel.com (shelob.adacel.com.au [203.36.26.146] (may be forged))
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g342NOU73255
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 4 Apr 2002 02:23:24 GMT
Received: (qmail 1491 invoked from network); 4 Apr 2002 02:19:56 -0000
Received: from unknown (HELO osmium) (10.32.24.165)
  by nexus.adacel.com with SMTP; 4 Apr 2002 02:19:56 -0000
Reply-To: <steven.legg@adacel.com.au>
From: "Steven Legg" <steven.legg@adacel.com.au>
To: "'David Chadwick'" <d.w.chadwick@salford.ac.uk>
Cc: "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>, "'PKIX'" <ietf-pkix@imc.org>
Subject: RE: LDAP Certificate transfer syntax
Date: Thu, 4 Apr 2002 12:21:40 +1000
Message-ID: <001001c1db7f$751e3cd0$a518200a@osmium.mtwav.adacel.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0
In-Reply-To: <3CAB85DD.A83A12A3@salford.ac.uk>
Importance: Normal
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


David,

David Chadwick wrote:
> Sent: Thursday, 4 April 2002 8:45
> To: Kurt D. Zeilenga
> Cc: Sharon Boeyen; 'Mark Wahl'; Mark C Smith; LDAP BIS; PKIX
> Subject: Re: LDAP Certificate transfer syntax

> > In David's table, he shows that existing LDAPv3 implementations
> > are "OK".   That is, LDAPv3 is not broken in this regard.  The
> > specification is clear and there multiple interoperable
> > LDAPv3 implementations.
> > 
> 
> But LDAP (v2 and v3) is deficient in that it has never specified a
> workable "native" transfer encoding for certificates. The 
> LDAPv2 attempt
> was broken as we know, and v3 never replaced it - until my 
> proposed text
> now. Are certificates the only commonly used attributes without a
> "native" encoding? I cant think of any others.

I commonly use entryACI, prescriptiveACI and subentry ACI (ACI Item
syntax) and subtreeSpecification (Subtree Specification syntax).
Neither of the syntaxes for these attributes has a defined
LDAP-specific (i.e. native) encoding in RFC 2252 or RFC 2256.

> So this is a deficiency
> that should be rectified in my opinion.

Recent I-Ds have proposed human readable character string encodings
for both the ACI Item syntax and the Subtree Specification syntax,
by referencing the Generic String Encoding Rules, to correct the
deficiency in these syntaxes. This is in keeping with the statement
in RFC 2252 that "The encoding rules defined for a given attribute
syntax must produce octet strings. To the greatest extent possible,
encoded octet strings should be usable in their native encoded form
for display purposes".

Thus a "right" way to fix the Certificate syntax is to define
the LDAP-specific/native encoding to be the GSER encoding :-).

Had the ACI Item and Subtree Specification syntaxes previously been
defined such that their LDAP-specific encoding was the same as
their ;binary encoding it would not now be possible to define the
default format to be a human readable character string encoding.


> > That is, this suggest change will implementations to updated to
> > support it.  This will include some clients (such as those which
> > as for "*" and expect userCertificate;binary) 
> 
> agreed, if a server is to be consistent it probably would not put
> ;binary on any returned attributes, although I believe that todays
> LDAPv3 servers will put ;binary on certificates because of the MUST
> requirement. If they continued to do this in the future it would not
> cause any problems with the clients, but would be inconsistent
> behaviour.
> 
> >and most (if not
> > all) servers.  That's bad!
> > 
> 
> I think the change would not have been necessary if all existing
> products had implemented the current spec. And thats bad!!

The fault is in the incorrectly implemented products. The obligation
to change is on them, not the correctly implemented products.


> > Hence, for LDAPv3 interoperability sake, the specification needs
> > to continue to MUST the use of ;binary for these attributes except
> > where the client and server have a prior agreement that the
> > OPTIONAL native encoding is to be used.
> > 
> 
> As a general rule I think that continuing to mandate one particular
> tranfer encoding just for certificates is wrong and leaves us 
> in hole in
> the future if new transfer encodings are developed, such as XML (which
> incidentally has now been standardised for certificates). So how would
> you propose to cater for XML encodings in the future?

One way is to provide an update to the Certificate syntax to say that
values in the syntax MUST NOT be requested or returned without an
explicit transfer option. We could also say that now, in the current
draft.


> > Of course, one ought to wonder why any LDAPv3 implementation
> > would support this OPTIONAL native encoding when the REQUIRED
> > encoding is more broadly implemented and provides the same
> > functionality.   It seems redundant to me.
> > 
> 
> Clearly there is redundancy once a native encoding is 
> specified and this
> happens to be the same as the ;binary encoding, that is not in doubt.
> But who is to say which one is the redundant one? It could be 
> the use of
> ;binary. Maybe this transfer encoding is no longer needed by LDAPv3
> (just being devil's advocate here :-)

Only about a third of the syntaxes I support have defined LDAP-specific
encodings. I need a standard way to represent attribute values of the
other two thirds in LDAP and LDIF. The ;binary option serves that
purpose. Now if someone were to mandate that all additional LDAP syntaxes
must use GSER for the LDAP-specific encoding then I wouldn't need ;binary.

Regards,
Steven

> 
> David
> 
> 
> > Kurt
> 
> -- 
> *****************************************************************
> 
> David W. Chadwick, BSc PhD
> Professor of Information Systems Security
> IS Institute, University of Salford, Salford M5 4WT
> Tel: +44 161 295 5351  Fax +44 161 745 8169
> Mobile: +44 77 96 44 7184
> Email: D.W.Chadwick@salford.ac.uk
> Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> Research Projects: http://sec.isi.salford.ac.uk
> Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
> Entrust key validation string: MLJ9-DU5T-HV8J
> PGP Key ID is 0xBC238DE5
> 
> *****************************************************************



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 21:54:38 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA22899
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 21:54:37 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g342qmV73851;
	Thu, 4 Apr 2002 02:52:48 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 02:52:48 +0000
Received: from aspams52.ca.com (aspams52.cai.com [155.35.248.76])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g342qjU73844
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 4 Apr 2002 02:52:45 GMT
Received: by aspams52.ca.com with Internet Mail Service (5.5.2655.55)
	id <H5DC14A1>; Thu, 4 Apr 2002 12:50:48 +1000
Message-ID: <A7E3A4B51615D511BCB6009027D0D18C04597E55@aspams01.ca.com>
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: steven.legg@adacel.com.au,
        "'David Chadwick'"
	 <d.w.chadwick@salford.ac.uk>
Cc: "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>, "'PKIX'" <ietf-pkix@imc.org>
Subject: RE: LDAP Certificate transfer syntax
Date: Thu, 4 Apr 2002 12:51:59 +1000 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Steven,

> I need a standard way to represent attribute values of the
> other two thirds in LDAP and LDIF. The ;binary option serves that
> purpose.

I don't see this as logical. Do you simply mean the use of ;binary means you
don't have to define another encoding? For, surely, defining the behaviour
to be same for ;binary as without it achieves the same end?

Ron.

-----Original Message-----
From: Steven Legg [mailto:steven.legg@adacel.com.au]
Sent: Thursday, 4 April 2002 12:22
To: 'David Chadwick'
Cc: 'LDAP BIS'; 'PKIX'
Subject: RE: LDAP Certificate transfer syntax



David,

David Chadwick wrote:
> Sent: Thursday, 4 April 2002 8:45
> To: Kurt D. Zeilenga
> Cc: Sharon Boeyen; 'Mark Wahl'; Mark C Smith; LDAP BIS; PKIX
> Subject: Re: LDAP Certificate transfer syntax

> > In David's table, he shows that existing LDAPv3 implementations
> > are "OK".   That is, LDAPv3 is not broken in this regard.  The
> > specification is clear and there multiple interoperable
> > LDAPv3 implementations.
> > 
> 
> But LDAP (v2 and v3) is deficient in that it has never specified a
> workable "native" transfer encoding for certificates. The 
> LDAPv2 attempt
> was broken as we know, and v3 never replaced it - until my 
> proposed text
> now. Are certificates the only commonly used attributes without a
> "native" encoding? I cant think of any others.

I commonly use entryACI, prescriptiveACI and subentry ACI (ACI Item
syntax) and subtreeSpecification (Subtree Specification syntax).
Neither of the syntaxes for these attributes has a defined
LDAP-specific (i.e. native) encoding in RFC 2252 or RFC 2256.

> So this is a deficiency
> that should be rectified in my opinion.

Recent I-Ds have proposed human readable character string encodings
for both the ACI Item syntax and the Subtree Specification syntax,
by referencing the Generic String Encoding Rules, to correct the
deficiency in these syntaxes. This is in keeping with the statement
in RFC 2252 that "The encoding rules defined for a given attribute
syntax must produce octet strings. To the greatest extent possible,
encoded octet strings should be usable in their native encoded form
for display purposes".

Thus a "right" way to fix the Certificate syntax is to define
the LDAP-specific/native encoding to be the GSER encoding :-).

Had the ACI Item and Subtree Specification syntaxes previously been
defined such that their LDAP-specific encoding was the same as
their ;binary encoding it would not now be possible to define the
default format to be a human readable character string encoding.


> > That is, this suggest change will implementations to updated to
> > support it.  This will include some clients (such as those which
> > as for "*" and expect userCertificate;binary) 
> 
> agreed, if a server is to be consistent it probably would not put
> ;binary on any returned attributes, although I believe that todays
> LDAPv3 servers will put ;binary on certificates because of the MUST
> requirement. If they continued to do this in the future it would not
> cause any problems with the clients, but would be inconsistent
> behaviour.
> 
> >and most (if not
> > all) servers.  That's bad!
> > 
> 
> I think the change would not have been necessary if all existing
> products had implemented the current spec. And thats bad!!

The fault is in the incorrectly implemented products. The obligation
to change is on them, not the correctly implemented products.


> > Hence, for LDAPv3 interoperability sake, the specification needs
> > to continue to MUST the use of ;binary for these attributes except
> > where the client and server have a prior agreement that the
> > OPTIONAL native encoding is to be used.
> > 
> 
> As a general rule I think that continuing to mandate one particular
> tranfer encoding just for certificates is wrong and leaves us 
> in hole in
> the future if new transfer encodings are developed, such as XML (which
> incidentally has now been standardised for certificates). So how would
> you propose to cater for XML encodings in the future?

One way is to provide an update to the Certificate syntax to say that
values in the syntax MUST NOT be requested or returned without an
explicit transfer option. We could also say that now, in the current
draft.


> > Of course, one ought to wonder why any LDAPv3 implementation
> > would support this OPTIONAL native encoding when the REQUIRED
> > encoding is more broadly implemented and provides the same
> > functionality.   It seems redundant to me.
> > 
> 
> Clearly there is redundancy once a native encoding is 
> specified and this
> happens to be the same as the ;binary encoding, that is not in doubt.
> But who is to say which one is the redundant one? It could be 
> the use of
> ;binary. Maybe this transfer encoding is no longer needed by LDAPv3
> (just being devil's advocate here :-)

Only about a third of the syntaxes I support have defined LDAP-specific
encodings. I need a standard way to represent attribute values of the
other two thirds in LDAP and LDIF. The ;binary option serves that
purpose. Now if someone were to mandate that all additional LDAP syntaxes
must use GSER for the LDAP-specific encoding then I wouldn't need ;binary.

Regards,
Steven

> 
> David
> 
> 
> > Kurt
> 
> -- 
> *****************************************************************
> 
> David W. Chadwick, BSc PhD
> Professor of Information Systems Security
> IS Institute, University of Salford, Salford M5 4WT
> Tel: +44 161 295 5351  Fax +44 161 745 8169
> Mobile: +44 77 96 44 7184
> Email: D.W.Chadwick@salford.ac.uk
> Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> Research Projects: http://sec.isi.salford.ac.uk
> Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
> Entrust key validation string: MLJ9-DU5T-HV8J
> PGP Key ID is 0xBC238DE5
> 
> *****************************************************************


From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr  3 22:03:18 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA22987
	for <ldapbis-archive@odin.ietf.org>; Wed, 3 Apr 2002 22:03:17 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3431KF74159;
	Thu, 4 Apr 2002 03:01:20 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 03:01:20 +0000
Received: from nexus.adacel.com (shelob.adacel.com.au [203.36.26.146] (may be forged))
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3431GU74152
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 4 Apr 2002 03:01:16 GMT
Received: (qmail 5213 invoked from network); 4 Apr 2002 02:57:52 -0000
Received: from unknown (HELO osmium) (10.32.24.165)
  by nexus.adacel.com with SMTP; 4 Apr 2002 02:57:52 -0000
Reply-To: <steven.legg@adacel.com.au>
From: "Steven Legg" <steven.legg@adacel.com.au>
To: "'Phil Griffin'" <phil.griffin@asn-1.com>
Cc: "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>, "'PKIX'" <ietf-pkix@imc.org>
Subject: RE: LDAP Certificate transfer syntax
Date: Thu, 4 Apr 2002 12:59:37 +1000
Message-ID: <001301c1db84$c1efaa80$a518200a@osmium.mtwav.adacel.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0
In-Reply-To: <3CAB8883.FD9CDC35@asn-1.com>
Importance: Normal
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Phil,

Phil Griffin wrote:
> Sent: Thursday, 4 April 2002 8:56
> To: David Chadwick
> Cc: Housley, Russ; LDAP BIS; PKIX
> Subject: Re: LDAP Certificate transfer syntax
> 
> 
> 
> David,
> 
> Understood and agree. My point though is that if
> the format of the initial encoding is preserved 
> as an open type, it doesn't much matter what it 
> happened to be when it was signed. 
> 
> It is only when someone tries to reconstruct the
> certificate from its values using the strict DER 
> subset of BER that a mismatch with the signature 
> due to BER/DER differences in the encoding can 
> arise.
> 
> And as you've stated, technically when you say BER 
> you've included DER, as DER is a subset. But if 
> you are talking about a protocol requirement you
> may need to be careful with the language and try 
> to be as explicit as possible.
> 
> Surely if ;binary means BER it is not illegal to 
> return DER. But if ;binary means DER, then it would
> seem that returning BER that is not from the DER 
> subset would be illegal.

In LDAPv3, ;binary specifies BER with no requirement to preserve
the exact octets of the encoding. A server is theoretically
allowed to return any valid BER encoding of the abstract value.

However typical client usage of userCertificate;binary depends
on the exact octets being preserved by the server. In the PKIX
LDAP schema we are making the Certificate and related syntaxes
explicit exceptions in that the exact octets of the ;binary
encoding will be preserved. If the client provides DER they will
get back DER. If they provide non-DER BER they will get back the
same non-DER octets.

I've encountered certificates where the signature was calculated
on the provided non-DER BER encoding, so specifying that the
;binary encoding of values of the Certificate syntax is a DER
encoding would break some implementations.

> 
> And if a ;binary object is a BER wrapper around a
> DER encoding, then that's another case.

Preserving the exact BER encoding makes this subtlety unimportant.

Regards,
Steven
 
> 
> Phil
> 
> 
> 
> David Chadwick wrote:
> > 
> > Phil Griffin wrote:
> > 
> > > If this is done, then the concerns Russ raises as to
> > > requiring extra processing disappear, and the issue that
> > > David raised as to whether the protocol can be extended
> > > to other encodings (BER or CER or PER or XER) is also mute.
> > >
> > > The Directory just knows it has a blob. It stores the blob
> > > as given and can return the blob on demand.
> > 
> > Phil
> > 
> > thanks for this. But there is one further point, and that concerns
> > certificate matching which is the other topic of the schema 
> ID. For this
> > to work, the server has to parse the blob and extract the 
> various fields
> > to be used in subsequent searches. Therefore the server 
> needs to be told
> > what transfer syntax the blob is being sent in. The current proposed
> > text only allows the blob to be BER or DER and not PER or 
> XER encoded.
> > To allow the latter we would need to introduce new LDAP transfer
> > encoding keywords such as ;PER and ;XML. The current ;binary keyword
> > specifically means BER encoding. (And because DER is a subset of BER
> > then ;binary is taken to mean DER as well, which maybe it 
> should not if
> > we were to be really strict?).
> > 
> > David
> > 
> > >
> > > Phil
> > >
> > > "Housley, Russ" wrote:
> > > >
> > > > David:
> > > >
> > > > When DAP is used, certificates come back in BER.  This 
> happens because the
> > > > DAP PDU is defined in ASN.1, and the BER encoding of 
> the PDU encodes the
> > > > data too.  An OCTET STRING could have been used, but 
> this was all done
> > > > before there were object that had signatures.  Anyway, 
> I see this as an
> > > > opportunity to do better.
> > > >
> > > > I do not know about your AC development experience, but 
> the specifications
> > > > are quite clear about the need for DER.  It would be 
> nice if the repository
> > > > fetch did not force the client to restore the original 
> DER encoding.
> > > >
> > > > I agree that this is not a schema issue. However, a 
> comment that the DER
> > > > encoding applied by the signer should be preserved is 
> all I really
> > > > want.  You have already fixed the problem where the 
> repository access
> > > > protocol is changing the encoding.
> > > >
> > > > Russ
> > > >
> > > > At 06:39 PM 4/3/2002 +0100, David Chadwick wrote:
> > > > >Russ
> > > > >
> > > > >I dont think the issue below is one for the schema ID. 
> The certificate
> > > > >attributes in the directory should be perfectly happy 
> to receive BER or
> > > > >DER (or PER for that matter I guess). So the schema ID 
> should allow
> > > > >anything to be stored there.
> > > > >
> > > > >Your issue is more one for the LDAP profile ID which 
> was last updated in
> > > > >January. In the profile we can suggest that clients 
> always use DER for
> > > > >encoding certificates.  But what is the common WG 
> concensus on this? FYI
> > > > >in recent work we did with attribute certificates we 
> found we had to use
> > > > >BER because the DER Java objects were too buggy.
> > > > >
> > > > >David
> > > > >
> > > > >
> > > > >"Housley, Russ" wrote:
> > > > > >
> > > > > > David:
> > > > > >
> > > > > > I would like to encourage clients to provide 
> certificates in DER.  We ought
> > > > > > to tell them that there will be less work for 
> everyone if they provide
> > > > > > DER-encoded certificates.  Likewise for CRLs.
> > > > > >
> > > > > > Russ
> > > > > >
> > > > > > At 10:32 PM 4/1/2002 +0100, David Chadwick wrote:
> > > > > >
> > > > > > >"Housley, Russ" wrote:
> > > > > > > >
> > > > > > > > David:
> > > > > > > >
> > > > > > > > Is it possible to preserve the DER encoding.  
> If not, then the DER
> > > > > encoding
> > > > > > > > must be restored in order to validate the 
> signature?  This just
> > > > > seems like
> > > > > > > > wasted processing to me.
> > > > > > > >
> > > > > > >
> > > > > > >Russ
> > > > > > >
> > > > > > >I quite agree. The revised text is meant to ensure 
> that the DER or BER
> > > > > > >encoding created by the client when the 
> certificate was first sent to
> > > > > > >the directory for storage is preserved as is. This 
> is the purpose of the
> > > > > > >sentence below in the revised text, viz:
> > > > > > >
> > > > > > > > >Servers must preserve values in this syntax 
> exactly as given when
> > > > > > > > >storing and retrieving them.
> > > > > > > > >
> > > > > > >
> > > > > > >Perhaps I should say "as given to them by the 
> client, when storing and
> > > > > > >retrieving certificates"
> > > > > > >
> > > > > > >David
> > > > > > >
> > > > >
> > > > >--
> > > > 
> >*****************************************************************
> > > > >
> > > > >David W. Chadwick, BSc PhD
> > > > >Professor of Information Systems Security
> > > > >IS Institute, University of Salford, Salford M5 4WT
> > > > >Tel: +44 161 295 5351  Fax +44 161 745 8169
> > > > >Mobile: +44 77 96 44 7184
> > > > >Email: D.W.Chadwick@salford.ac.uk
> > > > >Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> > > > >Research Projects: http://sec.isi.salford.ac.uk
> > > > >Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> > > > >X.500/LDAP Seminars: 
http://www.salford.ac.uk/its024/seminars.htm
> > > >Entrust key validation string: MLJ9-DU5T-HV8J
> > > >PGP Key ID is 0xBC238DE5
> > > >
> > > >*****************************************************************
> > > >
> 
> --
> *****************************************************************
> 
> David W. Chadwick, BSc PhD
> Professor of Information Systems Security
> IS Institute, University of Salford, Salford M5 4WT
> Tel: +44 161 295 5351  Fax +44 161 745 8169
> Mobile: +44 77 96 44 7184
> Email: D.W.Chadwick@salford.ac.uk
> Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> Research Projects: http://sec.isi.salford.ac.uk
> Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
> Entrust key validation string: MLJ9-DU5T-HV8J
> PGP Key ID is 0xBC238DE5
> 
> *****************************************************************



From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 00:57:14 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA26707
	for <ldapbis-archive@lists.ietf.org>; Thu, 4 Apr 2002 00:57:13 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g345tGn81696;
	Thu, 4 Apr 2002 05:55:16 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 05:55:16 +0000
Received: from nexus.adacel.com (shelob.adacel.com.au [203.36.26.146] (may be forged))
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g345tCU81689
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 4 Apr 2002 05:55:12 GMT
Received: (qmail 23712 invoked from network); 4 Apr 2002 05:51:48 -0000
Received: from unknown (HELO osmium) (10.32.24.165)
  by nexus.adacel.com with SMTP; 4 Apr 2002 05:51:47 -0000
Reply-To: <steven.legg@adacel.com.au>
From: "Steven Legg" <steven.legg@adacel.com.au>
To: "'Ramsay, Ron'" <Ron.Ramsay@ca.com>
Cc: "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>, "'PKIX'" <ietf-pkix@imc.org>
Subject: RE: LDAP Certificate transfer syntax
Date: Thu, 4 Apr 2002 15:53:32 +1000
Message-ID: <001401c1db9d$0e50f6a0$a518200a@osmium.mtwav.adacel.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0
In-Reply-To: <A7E3A4B51615D511BCB6009027D0D18C04597E55@aspams01.ca.com>
Importance: Normal
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Ron,

Ramsay, Ron wrote:
> Sent: Thursday, 4 April 2002 12:52
> To: steven.legg@adacel.com.au; 'David Chadwick'
> Cc: 'LDAP BIS'; 'PKIX'
> Subject: RE: LDAP Certificate transfer syntax
> 
> 
> Steven,
> 
> > I need a standard way to represent attribute values of the
> > other two thirds in LDAP and LDIF. The ;binary option serves that
> > purpose.
> 
> I don't see this as logical. Do you simply mean the use of 
> ;binary means you
> don't have to define another encoding? For, surely, defining 
> the behaviour
> to be same for ;binary as without it achieves the same end?

I was taking David's comment in the context of just the Certificate
and related syntaxes, where the use of ;binary is currently mandated.
If these syntaxes have their LDAP-specific encodings defined to be
the same as the ;binary encoding that still leaves me with a large
number of syntaxes where the LDAP-specific encoding is undefined.

A blanket specification that the LDAP-specific encoding for *all*
other syntaxes is the same as ;binary (or GSER, or whatever) is
outside the scope of LDAPbis and the PKIX LDAP Schema, and runs
into the immediate problem of quantifying which are the "other"
syntaxes.

Given some X.500-style attribute definition, there may or may not
be a relevant LDAP syntax specification for its syntax, and I may
not be aware of the specification if one does exist. If my server
doesn't know the LDAP-specific encoding for some syntax but assumes
it is the BER encoding there will be problems interoperating
with implementations that do know the LDAP-specific encoding, if
that encoding has been formally specified somewhere as some
character string encoding.

On the other hand, two implementations will agree on what the ;binary
encoding is, even if one of them doesn't have complete information
about the LDAP-specific encoding.

Regards,
Steven

> 
> Ron.
> 
> -----Original Message-----
> From: Steven Legg [mailto:steven.legg@adacel.com.au]
> Sent: Thursday, 4 April 2002 12:22
> To: 'David Chadwick'
> Cc: 'LDAP BIS'; 'PKIX'
> Subject: RE: LDAP Certificate transfer syntax
> 
> 
> 
> David,
> 
> David Chadwick wrote:
> > Sent: Thursday, 4 April 2002 8:45
> > To: Kurt D. Zeilenga
> > Cc: Sharon Boeyen; 'Mark Wahl'; Mark C Smith; LDAP BIS; PKIX
> > Subject: Re: LDAP Certificate transfer syntax
> 
> > > In David's table, he shows that existing LDAPv3 implementations
> > > are "OK".   That is, LDAPv3 is not broken in this regard.  The
> > > specification is clear and there multiple interoperable
> > > LDAPv3 implementations.
> > > 
> > 
> > But LDAP (v2 and v3) is deficient in that it has never specified a
> > workable "native" transfer encoding for certificates. The 
> > LDAPv2 attempt
> > was broken as we know, and v3 never replaced it - until my 
> > proposed text
> > now. Are certificates the only commonly used attributes without a
> > "native" encoding? I cant think of any others.
> 
> I commonly use entryACI, prescriptiveACI and subentry ACI (ACI Item
> syntax) and subtreeSpecification (Subtree Specification syntax).
> Neither of the syntaxes for these attributes has a defined
> LDAP-specific (i.e. native) encoding in RFC 2252 or RFC 2256.
> 
> > So this is a deficiency
> > that should be rectified in my opinion.
> 
> Recent I-Ds have proposed human readable character string encodings
> for both the ACI Item syntax and the Subtree Specification syntax,
> by referencing the Generic String Encoding Rules, to correct the
> deficiency in these syntaxes. This is in keeping with the statement
> in RFC 2252 that "The encoding rules defined for a given attribute
> syntax must produce octet strings. To the greatest extent possible,
> encoded octet strings should be usable in their native encoded form
> for display purposes".
> 
> Thus a "right" way to fix the Certificate syntax is to define
> the LDAP-specific/native encoding to be the GSER encoding :-).
> 
> Had the ACI Item and Subtree Specification syntaxes previously been
> defined such that their LDAP-specific encoding was the same as
> their ;binary encoding it would not now be possible to define the
> default format to be a human readable character string encoding.
> 
> 
> > > That is, this suggest change will implementations to updated to
> > > support it.  This will include some clients (such as those which
> > > as for "*" and expect userCertificate;binary) 
> > 
> > agreed, if a server is to be consistent it probably would not put
> > ;binary on any returned attributes, although I believe that todays
> > LDAPv3 servers will put ;binary on certificates because of the MUST
> > requirement. If they continued to do this in the future it would not
> > cause any problems with the clients, but would be inconsistent
> > behaviour.
> > 
> > >and most (if not
> > > all) servers.  That's bad!
> > > 
> > 
> > I think the change would not have been necessary if all existing
> > products had implemented the current spec. And thats bad!!
> 
> The fault is in the incorrectly implemented products. The obligation
> to change is on them, not the correctly implemented products.
> 
> 
> > > Hence, for LDAPv3 interoperability sake, the specification needs
> > > to continue to MUST the use of ;binary for these attributes except
> > > where the client and server have a prior agreement that the
> > > OPTIONAL native encoding is to be used.
> > > 
> > 
> > As a general rule I think that continuing to mandate one particular
> > tranfer encoding just for certificates is wrong and leaves us 
> > in hole in
> > the future if new transfer encodings are developed, such as 
> XML (which
> > incidentally has now been standardised for certificates). 
> So how would
> > you propose to cater for XML encodings in the future?
> 
> One way is to provide an update to the Certificate syntax to say that
> values in the syntax MUST NOT be requested or returned without an
> explicit transfer option. We could also say that now, in the current
> draft.
> 
> 
> > > Of course, one ought to wonder why any LDAPv3 implementation
> > > would support this OPTIONAL native encoding when the REQUIRED
> > > encoding is more broadly implemented and provides the same
> > > functionality.   It seems redundant to me.
> > > 
> > 
> > Clearly there is redundancy once a native encoding is 
> > specified and this
> > happens to be the same as the ;binary encoding, that is not 
> in doubt.
> > But who is to say which one is the redundant one? It could be 
> > the use of
> > ;binary. Maybe this transfer encoding is no longer needed by LDAPv3
> > (just being devil's advocate here :-)
> 
> Only about a third of the syntaxes I support have defined 
> LDAP-specific
> encodings. I need a standard way to represent attribute values of the
> other two thirds in LDAP and LDIF. The ;binary option serves that
> purpose. Now if someone were to mandate that all additional 
> LDAP syntaxes
> must use GSER for the LDAP-specific encoding then I wouldn't 
> need ;binary.
> 
> Regards,
> Steven
> 
> > 
> > David
> > 
> > 
> > > Kurt
> > 
> > -- 
> > *****************************************************************
> > 
> > David W. Chadwick, BSc PhD
> > Professor of Information Systems Security
> > IS Institute, University of Salford, Salford M5 4WT
> > Tel: +44 161 295 5351  Fax +44 161 745 8169
> > Mobile: +44 77 96 44 7184
> > Email: D.W.Chadwick@salford.ac.uk
> > Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> > Research Projects: http://sec.isi.salford.ac.uk
> > Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> > X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
> > Entrust key validation string: MLJ9-DU5T-HV8J
> > PGP Key ID is 0xBC238DE5
> > 
> > *****************************************************************
> 



From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 02:13:48 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA05846
	for <ldapbis-archive@lists.ietf.org>; Thu, 4 Apr 2002 02:13:47 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g347B2t84535;
	Thu, 4 Apr 2002 07:11:02 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 07:11:02 +0000
Received: from aspams52.ca.com (aspams52.cai.com [155.35.248.76])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g347AsU84522
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 4 Apr 2002 07:10:54 GMT
Received: by aspams52.ca.com with Internet Mail Service (5.5.2655.55)
	id <H5DC1WFG>; Thu, 4 Apr 2002 17:08:57 +1000
Message-ID: <A7E3A4B51615D511BCB6009027D0D18C04598A2E@aspams01.ca.com>
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: steven.legg@adacel.com.au
Cc: "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>
Subject: RE: LDAP Certificate transfer syntax
Date: Thu, 4 Apr 2002 17:10:08 +1000 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Steven,

Just two points:

o It seems unusual to implement a syntax but not know what it means?
o Even if ;binary does appear to allow interoperability, it breaks down in
the case where a non-aware server sends a search specifying the return of
all attributes to an aware server - ;binary will not be used and you will
fall on the horns of your own dilemma.

Ron.

-----Original Message-----
From: Steven Legg [mailto:steven.legg@adacel.com.au]
Sent: Thursday, 4 April 2002 15:54
To: Ramsay, Ron
Cc: 'LDAP BIS'; 'PKIX'
Subject: RE: LDAP Certificate transfer syntax



Ron,

Ramsay, Ron wrote:
> Sent: Thursday, 4 April 2002 12:52
> To: steven.legg@adacel.com.au; 'David Chadwick'
> Cc: 'LDAP BIS'; 'PKIX'
> Subject: RE: LDAP Certificate transfer syntax
> 
> 
> Steven,
> 
> > I need a standard way to represent attribute values of the
> > other two thirds in LDAP and LDIF. The ;binary option serves that
> > purpose.
> 
> I don't see this as logical. Do you simply mean the use of 
> ;binary means you
> don't have to define another encoding? For, surely, defining 
> the behaviour
> to be same for ;binary as without it achieves the same end?

I was taking David's comment in the context of just the Certificate
and related syntaxes, where the use of ;binary is currently mandated.
If these syntaxes have their LDAP-specific encodings defined to be
the same as the ;binary encoding that still leaves me with a large
number of syntaxes where the LDAP-specific encoding is undefined.

A blanket specification that the LDAP-specific encoding for *all*
other syntaxes is the same as ;binary (or GSER, or whatever) is
outside the scope of LDAPbis and the PKIX LDAP Schema, and runs
into the immediate problem of quantifying which are the "other"
syntaxes.

Given some X.500-style attribute definition, there may or may not
be a relevant LDAP syntax specification for its syntax, and I may
not be aware of the specification if one does exist. If my server
doesn't know the LDAP-specific encoding for some syntax but assumes
it is the BER encoding there will be problems interoperating
with implementations that do know the LDAP-specific encoding, if
that encoding has been formally specified somewhere as some
character string encoding.

On the other hand, two implementations will agree on what the ;binary
encoding is, even if one of them doesn't have complete information
about the LDAP-specific encoding.

Regards,
Steven

> 
> Ron.
> 
> -----Original Message-----
> From: Steven Legg [mailto:steven.legg@adacel.com.au]
> Sent: Thursday, 4 April 2002 12:22
> To: 'David Chadwick'
> Cc: 'LDAP BIS'; 'PKIX'
> Subject: RE: LDAP Certificate transfer syntax
> 
> 
> 
> David,
> 
> David Chadwick wrote:
> > Sent: Thursday, 4 April 2002 8:45
> > To: Kurt D. Zeilenga
> > Cc: Sharon Boeyen; 'Mark Wahl'; Mark C Smith; LDAP BIS; PKIX
> > Subject: Re: LDAP Certificate transfer syntax
> 
> > > In David's table, he shows that existing LDAPv3 implementations
> > > are "OK".   That is, LDAPv3 is not broken in this regard.  The
> > > specification is clear and there multiple interoperable
> > > LDAPv3 implementations.
> > > 
> > 
> > But LDAP (v2 and v3) is deficient in that it has never specified a
> > workable "native" transfer encoding for certificates. The 
> > LDAPv2 attempt
> > was broken as we know, and v3 never replaced it - until my 
> > proposed text
> > now. Are certificates the only commonly used attributes without a
> > "native" encoding? I cant think of any others.
> 
> I commonly use entryACI, prescriptiveACI and subentry ACI (ACI Item
> syntax) and subtreeSpecification (Subtree Specification syntax).
> Neither of the syntaxes for these attributes has a defined
> LDAP-specific (i.e. native) encoding in RFC 2252 or RFC 2256.
> 
> > So this is a deficiency
> > that should be rectified in my opinion.
> 
> Recent I-Ds have proposed human readable character string encodings
> for both the ACI Item syntax and the Subtree Specification syntax,
> by referencing the Generic String Encoding Rules, to correct the
> deficiency in these syntaxes. This is in keeping with the statement
> in RFC 2252 that "The encoding rules defined for a given attribute
> syntax must produce octet strings. To the greatest extent possible,
> encoded octet strings should be usable in their native encoded form
> for display purposes".
> 
> Thus a "right" way to fix the Certificate syntax is to define
> the LDAP-specific/native encoding to be the GSER encoding :-).
> 
> Had the ACI Item and Subtree Specification syntaxes previously been
> defined such that their LDAP-specific encoding was the same as
> their ;binary encoding it would not now be possible to define the
> default format to be a human readable character string encoding.
> 
> 
> > > That is, this suggest change will implementations to updated to
> > > support it.  This will include some clients (such as those which
> > > as for "*" and expect userCertificate;binary) 
> > 
> > agreed, if a server is to be consistent it probably would not put
> > ;binary on any returned attributes, although I believe that todays
> > LDAPv3 servers will put ;binary on certificates because of the MUST
> > requirement. If they continued to do this in the future it would not
> > cause any problems with the clients, but would be inconsistent
> > behaviour.
> > 
> > >and most (if not
> > > all) servers.  That's bad!
> > > 
> > 
> > I think the change would not have been necessary if all existing
> > products had implemented the current spec. And thats bad!!
> 
> The fault is in the incorrectly implemented products. The obligation
> to change is on them, not the correctly implemented products.
> 
> 
> > > Hence, for LDAPv3 interoperability sake, the specification needs
> > > to continue to MUST the use of ;binary for these attributes except
> > > where the client and server have a prior agreement that the
> > > OPTIONAL native encoding is to be used.
> > > 
> > 
> > As a general rule I think that continuing to mandate one particular
> > tranfer encoding just for certificates is wrong and leaves us 
> > in hole in
> > the future if new transfer encodings are developed, such as 
> XML (which
> > incidentally has now been standardised for certificates). 
> So how would
> > you propose to cater for XML encodings in the future?
> 
> One way is to provide an update to the Certificate syntax to say that
> values in the syntax MUST NOT be requested or returned without an
> explicit transfer option. We could also say that now, in the current
> draft.
> 
> 
> > > Of course, one ought to wonder why any LDAPv3 implementation
> > > would support this OPTIONAL native encoding when the REQUIRED
> > > encoding is more broadly implemented and provides the same
> > > functionality.   It seems redundant to me.
> > > 
> > 
> > Clearly there is redundancy once a native encoding is 
> > specified and this
> > happens to be the same as the ;binary encoding, that is not 
> in doubt.
> > But who is to say which one is the redundant one? It could be 
> > the use of
> > ;binary. Maybe this transfer encoding is no longer needed by LDAPv3
> > (just being devil's advocate here :-)
> 
> Only about a third of the syntaxes I support have defined 
> LDAP-specific
> encodings. I need a standard way to represent attribute values of the
> other two thirds in LDAP and LDIF. The ;binary option serves that
> purpose. Now if someone were to mandate that all additional 
> LDAP syntaxes
> must use GSER for the LDAP-specific encoding then I wouldn't 
> need ;binary.
> 
> Regards,
> Steven
> 
> > 
> > David
> > 
> > 
> > > Kurt
> > 
> > -- 
> > *****************************************************************
> > 
> > David W. Chadwick, BSc PhD
> > Professor of Information Systems Security
> > IS Institute, University of Salford, Salford M5 4WT
> > Tel: +44 161 295 5351  Fax +44 161 745 8169
> > Mobile: +44 77 96 44 7184
> > Email: D.W.Chadwick@salford.ac.uk
> > Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> > Research Projects: http://sec.isi.salford.ac.uk
> > Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> > X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
> > Entrust key validation string: MLJ9-DU5T-HV8J
> > PGP Key ID is 0xBC238DE5
> > 
> > *****************************************************************
> 


From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 07:49:21 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA12002
	for <ldapbis-archive@odin.ietf.org>; Thu, 4 Apr 2002 07:49:20 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g34CmEu24784;
	Thu, 4 Apr 2002 12:48:14 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 12:48:14 +0000
Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g34Cm8U24731;
	Thu, 4 Apr 2002 12:48:09 GMT
Received: from salford.ac.uk ([213.107.136.218]) by mta05-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020404124803.LLJU17294.mta05-svc.ntlworld.com@salford.ac.uk>;
          Thu, 4 Apr 2002 13:48:03 +0100
Message-ID: <3CAC4C73.9C0F1BDC@salford.ac.uk>
Date: Thu, 04 Apr 2002 13:52:03 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Jim Sermersheim <JIMSE@novell.com>
CC: Kurt@OpenLDAP.org, ietf-pkix@imc.org, ietf-ldapbis@OpenLDAP.org
Subject: Re: LDAP Certificate transfer syntax
References: <scab441d.077@prv-mail20.provo.novell.com>
Content-Type: multipart/mixed;
 boundary="------------B98CD197C7340D1E49FA4375"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------B98CD197C7340D1E49FA4375
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Jim

these are very good points that you make. They go part way to showing
that a reason for the confused situation we have gotten into is by not
previously being precise enough about certificate syntax definitions (in
fact there was not a workable one defined). I hope the new PKIX schema
ID can be precise enough to ensure that future problems dont occur. Do
you have any suggestions to the proposed wording that I sent out

David


Jim Sermersheim wrote:
> 
> I note that 2252 and 2256 both have problems with the language used to
> specify this.
> 
> 2252 says that values of the Certificate syntax MUST be transferred
> using the binary encoding. It then gives two attribute descriptions
> "userCertificate;binary" and caCertificate;binary". If I create an
> attribute called printerCertificate, what am I supposed to refer to it
> as?
> 
> It can be argued that the MUST here refers to the encoding, and the
> attribute descriptions are merely examples of the day.
> 
> 2256 says "This attribute is to be stored and requested in the binary
> form, as 'userCertificate;binary'". Am I to believe that I must somehow
> store the ;binary option in my database? Aside from that sillines, there
> is no MUST imperative here.
> 
> Jim
> 
> >>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 04/03/02 11:36AM >>>
> This text does not clearly "MUST" the use of ;binary as
> RFC 2252 and RFC 2256 did.  As previously noted, this
> "MUST" should not be dropped as doing so will cause
> interoperability problems between implementations of
> the current technical specification and the revised
> technical specification.
> 
> Kurt
> 
> At 05:29 AM 2002-04-01, David Chadwick wrote:
> >Colleagues
> >
> >Here is my proposed change to the section describing the LDAP syntax
> for
> >cerificates in the PKIX id
> ><draft-pkix-ldap-schema-03.txt> which should be published before the
> end
> >of April. As this is likely to be the most contentious part of the
> new
> >ID, I thought it would be useful to distribute this text at the
> earlier
> >possible moment.
> >
> >All constructive comments welcomed
> >
> >David
> >
> >
> >3.3  Certificate Syntax
> >
> >A value in this transfer syntax is the binary octet string that
> results
> >from BER or DER-encoding of an X.509 public key certificate.  The
> >following string states the OID assigned to this syntax:
> >
> >      ( 1.3.6.1.4.1.1466.115.121.1.8 DESC 'Certificate' )
> >
> >Servers must preserve values in this syntax exactly as given when
> >storing and retrieving them.
> >
> >Note. Due to the changes from X.509(1988) to X.509(1993) and
> subsequent
> >changes to the ASN.1 definition to support certificate extensions in
> >X.509(1997), no character string transfer syntax is defined for
> >certificates. The BNF notation in RFC 1778 [12] for "User
> Certificate"
> >MUST NOT be used. Values in this syntax MUST be transferred as BER or
> >DER encoded octets. The use of the ;binary encoding option, i.e. by
> >requesting or returning the attributes with descriptions
> >"userCertificate;binary" or "caCertificate;binary" has no effect on
> the
> >transfer syntax.

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------B98CD197C7340D1E49FA4375
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------B98CD197C7340D1E49FA4375--



From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 08:06:29 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA12632
	for <ldapbis-archive@odin.ietf.org>; Thu, 4 Apr 2002 08:06:27 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g34D5WH27149;
	Thu, 4 Apr 2002 13:05:32 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 13:05:32 +0000
Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g34D5SU27142
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 4 Apr 2002 13:05:29 GMT
Received: from salford.ac.uk ([213.107.136.218]) by mta02-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020404130527.CTRU286.mta02-svc.ntlworld.com@salford.ac.uk>;
          Thu, 4 Apr 2002 14:05:27 +0100
Message-ID: <3CAC5086.281238EE@salford.ac.uk>
Date: Thu, 04 Apr 2002 14:09:26 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: steven.legg@adacel.com.au
CC: "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>, "'PKIX'" <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax
References: <001001c1db7f$751e3cd0$a518200a@osmium.mtwav.adacel.com.au>
Content-Type: multipart/mixed;
 boundary="------------FE6E2BACF90276BB15E89ADB"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------FE6E2BACF90276BB15E89ADB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Steven

thanks for your messages that have clearly stated the case that ;binary
is needed as a general transfer encoding, and that many attributes exist
without a native LDAP encoding being defined for them.

But this does raise the more general issue of how does a user who asks
for "all" attributes, deal with those which are returned, whose native
encoding he is unfamiliar with. Does the server assume the client knows
(in which case ;binary will only be used on those attributes with no
native encoding defined) or does not know (in which case ;binary will
need to be used on all attributes that are not defined in Internet
standard RFCs).

Seems like ASN.1 DAP had some advantages after all :-)

David

Steven Legg wrote:
> 
> David,
> 
> David Chadwick wrote:
> > Sent: Thursday, 4 April 2002 8:45
> > To: Kurt D. Zeilenga
> > Cc: Sharon Boeyen; 'Mark Wahl'; Mark C Smith; LDAP BIS; PKIX
> > Subject: Re: LDAP Certificate transfer syntax
> 
> > > In David's table, he shows that existing LDAPv3 implementations
> > > are "OK".   That is, LDAPv3 is not broken in this regard.  The
> > > specification is clear and there multiple interoperable
> > > LDAPv3 implementations.
> > >
> >
> > But LDAP (v2 and v3) is deficient in that it has never specified a
> > workable "native" transfer encoding for certificates. The
> > LDAPv2 attempt
> > was broken as we know, and v3 never replaced it - until my
> > proposed text
> > now. Are certificates the only commonly used attributes without a
> > "native" encoding? I cant think of any others.
> 
> I commonly use entryACI, prescriptiveACI and subentry ACI (ACI Item
> syntax) and subtreeSpecification (Subtree Specification syntax).
> Neither of the syntaxes for these attributes has a defined
> LDAP-specific (i.e. native) encoding in RFC 2252 or RFC 2256.
> 
> > So this is a deficiency
> > that should be rectified in my opinion.
> 
> Recent I-Ds have proposed human readable character string encodings
> for both the ACI Item syntax and the Subtree Specification syntax,
> by referencing the Generic String Encoding Rules, to correct the
> deficiency in these syntaxes. This is in keeping with the statement
> in RFC 2252 that "The encoding rules defined for a given attribute
> syntax must produce octet strings. To the greatest extent possible,
> encoded octet strings should be usable in their native encoded form
> for display purposes".
> 
> Thus a "right" way to fix the Certificate syntax is to define
> the LDAP-specific/native encoding to be the GSER encoding :-).
> 
> Had the ACI Item and Subtree Specification syntaxes previously been
> defined such that their LDAP-specific encoding was the same as
> their ;binary encoding it would not now be possible to define the
> default format to be a human readable character string encoding.
> 
> > > That is, this suggest change will implementations to updated to
> > > support it.  This will include some clients (such as those which
> > > as for "*" and expect userCertificate;binary)
> >
> > agreed, if a server is to be consistent it probably would not put
> > ;binary on any returned attributes, although I believe that todays
> > LDAPv3 servers will put ;binary on certificates because of the MUST
> > requirement. If they continued to do this in the future it would not
> > cause any problems with the clients, but would be inconsistent
> > behaviour.
> >
> > >and most (if not
> > > all) servers.  That's bad!
> > >
> >
> > I think the change would not have been necessary if all existing
> > products had implemented the current spec. And thats bad!!
> 
> The fault is in the incorrectly implemented products. The obligation
> to change is on them, not the correctly implemented products.
> 
> > > Hence, for LDAPv3 interoperability sake, the specification needs
> > > to continue to MUST the use of ;binary for these attributes except
> > > where the client and server have a prior agreement that the
> > > OPTIONAL native encoding is to be used.
> > >
> >
> > As a general rule I think that continuing to mandate one particular
> > tranfer encoding just for certificates is wrong and leaves us
> > in hole in
> > the future if new transfer encodings are developed, such as XML (which
> > incidentally has now been standardised for certificates). So how would
> > you propose to cater for XML encodings in the future?
> 
> One way is to provide an update to the Certificate syntax to say that
> values in the syntax MUST NOT be requested or returned without an
> explicit transfer option. We could also say that now, in the current
> draft.
> 
> > > Of course, one ought to wonder why any LDAPv3 implementation
> > > would support this OPTIONAL native encoding when the REQUIRED
> > > encoding is more broadly implemented and provides the same
> > > functionality.   It seems redundant to me.
> > >
> >
> > Clearly there is redundancy once a native encoding is
> > specified and this
> > happens to be the same as the ;binary encoding, that is not in doubt.
> > But who is to say which one is the redundant one? It could be
> > the use of
> > ;binary. Maybe this transfer encoding is no longer needed by LDAPv3
> > (just being devil's advocate here :-)
> 
> Only about a third of the syntaxes I support have defined LDAP-specific
> encodings. I need a standard way to represent attribute values of the
> other two thirds in LDAP and LDIF. The ;binary option serves that
> purpose. Now if someone were to mandate that all additional LDAP syntaxes
> must use GSER for the LDAP-specific encoding then I wouldn't need ;binary.
> 
> Regards,
> Steven
> 
> >
> > David
> >
> >
> > > Kurt
> >
> > --
> > *****************************************************************
> >
> > David W. Chadwick, BSc PhD
> > Professor of Information Systems Security
> > IS Institute, University of Salford, Salford M5 4WT
> > Tel: +44 161 295 5351  Fax +44 161 745 8169
> > Mobile: +44 77 96 44 7184
> > Email: D.W.Chadwick@salford.ac.uk
> > Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> > Research Projects: http://sec.isi.salford.ac.uk
> > Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> > X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
> > Entrust key validation string: MLJ9-DU5T-HV8J
> > PGP Key ID is 0xBC238DE5
> >
> > *****************************************************************

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------FE6E2BACF90276BB15E89ADB
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------FE6E2BACF90276BB15E89ADB--



From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 10:55:04 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA20029
	for <ldapbis-archive@odin.ietf.org>; Thu, 4 Apr 2002 10:55:02 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g34FruU35697;
	Thu, 4 Apr 2002 15:53:56 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 15:53:56 +0000
Received: (from kurt@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) id g34Frt435687
	for ietf-ldapbis@openldap.org; Thu, 4 Apr 2002 15:53:55 GMT
Received: from hermes.cs.auckland.ac.nz (hermes.cs.auckland.ac.nz [130.216.35.151])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g348KRU89857
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 4 Apr 2002 08:20:34 GMT
Received: from ruru.cs.auckland.ac.nz (ruru-nfs.cs.auckland.ac.nz [130.216.35.12])
	by hermes.cs.auckland.ac.nz (8.12.2/8.12.2) with ESMTP id g348J7Xv028204;
	Thu, 4 Apr 2002 20:19:07 +1200
Received: (from pgut001@localhost) by ruru.cs.auckland.ac.nz (8.9.3/8.8.6/cs-slave) id UAA127153; Thu, 4 Apr 2002 20:19:03 +1200 (NZST) (sender pgut001@cs.auckland.ac.nz)
Date: Thu, 4 Apr 2002 20:19:03 +1200 (NZST)
Message-ID: <200204040819.UAA127153@ruru.cs.auckland.ac.nz>
From: pgut001@cs.auckland.ac.nz (Peter Gutmann)
To: d.w.chadwick@salford.ac.uk, phil.griffin@asn-1.com
Subject: Re: LDAP Certificate transfer syntax
Cc: ietf-ldapbis@OpenLDAP.org, ietf-pkix@imc.org, rhousley@rsasecurity.com
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Phil Griffin <phil.griffin@asn-1.com> writes:

>It is only when someone tries to reconstruct the certificate from its values
>using the strict DER subset of BER that a mismatch with the signature due to
>BER/DER differences in the encoding can arise.

This would be a problem if anyone actually did this.  Anyone mad enough to even
try it quickly finds that 90% of signatures fail to verify after the re-
coding, and falls back to doing what everyone else does, which is treat the
signed object as a blob which you don't touch (the same with DNs in certs and
many other things).

Peter (who actually tried re-coding DNs into the correct form for awhile, but
       quickly gave up, and who never even tried with certs).


From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 12:24:13 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA24195
	for <ldapbis-archive@odin.ietf.org>; Thu, 4 Apr 2002 12:24:12 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g34HMv141332;
	Thu, 4 Apr 2002 17:22:57 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 17:22:57 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g34HMtU41325
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 4 Apr 2002 17:22:56 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g34HMkC18627;
	Thu, 4 Apr 2002 17:22:46 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020404091310.02796bc0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Thu, 04 Apr 2002 09:22:58 -0800
To: David Chadwick <d.w.chadwick@salford.ac.uk>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAP Certificate transfer syntax
Cc: steven.legg@adacel.com.au, "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>,
        "'PKIX'" <ietf-pkix@imc.org>
In-Reply-To: <3CAC5086.281238EE@salford.ac.uk>
References: <001001c1db7f$751e3cd0$a518200a@osmium.mtwav.adacel.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 05:09 AM 2002-04-04, David Chadwick wrote:
>thanks for your messages that have clearly stated the case that ;binary
>is needed as a general transfer encoding, and that many attributes exist
>without a native LDAP encoding being defined for them.
>
>But this does raise the more general issue of how does a user who asks
>for "all" attributes, deal with those which are returned, whose native
>encoding he is unfamiliar with. Does the server assume the client knows
>(in which case ;binary will only be used on those attributes with no
>native encoding defined) or does not know (in which case ;binary will
>need to be used on all attributes that are not defined in Internet
>standard RFCs).

This is being addressed, in general, in the LDAPbis protocol I-D
(draft-ietf-ldapbis-protocol-xx.txt).

I think we have consensus on the handling of options, including
transfer options, in general.  However, IIRC, Jim needs to revise
the text slightly to address a couple of cases (such as handling
of '*').

I think it very important certificate schema not be a 'special
case'.   I am concerned that adding a 'native' encoding to
certificate schema will necessity the need for a 'special case'.
In particular, in the handling of '*' as the general handling
is to return the native encoding (no transfer option) if one
is defined and supported.


>Seems like ASN.1 DAP had some advantages after all :-)

DAP, in many ways, is lighter than LDAP.  :-(

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 12:46:24 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA25463
	for <ldapbis-archive@odin.ietf.org>; Thu, 4 Apr 2002 12:46:23 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g34Hjam42239;
	Thu, 4 Apr 2002 17:45:36 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 17:45:36 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g34HjYU42232
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 4 Apr 2002 17:45:34 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g34HjUC18726;
	Thu, 4 Apr 2002 17:45:30 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020404092415.028b0bd0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Thu, 04 Apr 2002 09:45:08 -0800
To: "Ramsay, Ron" <Ron.Ramsay@ca.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: LDAPbis scope issue (Was: LDAP Certificate transfer syntax)
Cc: Mark Wahl <Mark.Wahl@sun.com>, LDAP BIS <ietf-ldapbis@OpenLDAP.org>,
        PKIX <ietf-pkix@imc.org>
In-Reply-To: <A7E3A4B51615D511BCB6009027D0D18C0457EA45@aspams01.ca.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 05:02 PM 2002-04-03, Ramsay, Ron wrote:
>I thought certificate syntax was being removed from the LDAP v3 specs and,
>therefore, certificate syntax was not an issue for DLAPbis?

The LDAPbis WG is chartered specifically to revise the LDAP
"core" technical specification (RFC 2251-2256, 2829-2830).
This schema is part of that "core" specification.

The WG has decided to split the certificate schema into
separate I-Ds that can be independently progressed from
the rest of the "core" specification and to allow individuals
and/or the PKIX WG to taken on this work while LDAPbis
focuses on the rest of the "core".   As the engineering
is being done outside of LDAPbis, the engineers may consider
"new features" (something which LDAPbis cannot do).

However, LDAPbis is still responsible for the "core"
specification and should provide review for any I-D
updating the "core" specification.  This I-D will update
both RFC 2252 and RFC 2256 (if published before LDAPbis
works are published) and, hence, should be subject to
a LDAPbis WG review.

To this end, the PKIX and LDAPbis chairs have agreed that
this work be subject to a joint PKIX/LDAPbis WG Last Call.

Kurt, LDAPbis co-chair



From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 14:22:18 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA05087
	for <ldapbis-archive@lists.ietf.org>; Thu, 4 Apr 2002 14:22:18 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g34JLIE47835;
	Thu, 4 Apr 2002 19:21:18 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 19:21:18 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g34JLGU47818
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 4 Apr 2002 19:21:16 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g34JLDC19238;
	Thu, 4 Apr 2002 19:21:14 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020404111542.0177f508@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Thu, 04 Apr 2002 11:21:25 -0800
To: David Chadwick <d.w.chadwick@salford.ac.uk>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: New DN name string please
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <3CA8869F.2EB90873@salford.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 08:11 AM 2002-04-01, David Chadwick wrote:
>Could we please define a name string for the serial number attribute
>type and it to the table in dn-07.

No, the mapping table is purposely not extensible as that would
lead to interoperability problems.  Attributes which are not
listed in the table (or an alternative table, if so agreed
upon by protocols peers) need to be referred to by their OIDs.

The static v. extensible table issue was discussed previously
on the list and I (as editor) believe the I-D accurately reflects
WG consensus.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 14:23:46 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA05143
	for <ldapbis-archive@lists.ietf.org>; Thu, 4 Apr 2002 14:23:46 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g34JN0I47921;
	Thu, 4 Apr 2002 19:23:00 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 19:23:00 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g34JMxU47913
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 4 Apr 2002 19:22:59 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g34JMvC19251;
	Thu, 4 Apr 2002 19:22:57 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020404102053.027c8cb8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Thu, 04 Apr 2002 11:23:06 -0800
To: David Chadwick <d.w.chadwick@salford.ac.uk>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: <draft-ietf-ldapbis-dn-07.txt>
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <3CA886F2.965BB924@salford.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 08:12 AM 2002-04-01, David Chadwick wrote:
>I know that I am opening an old discussion here that took place last
>year,

I agree that that this discussion has already taken place.
Here is a summary of what I believe, as document editor
(e.g. not chair), is WG consensus with regards to
draft-ietf-ldapbis-dn-xx.txt.

We discussed what RFC 2253 meant when it said a 'published table'
and why interoperability depended on protocol peers using a
common table.  I believe the WG consensus was that RFC 2253
should be clarified that 'published table' is that table it
provides.  The WG also reached consensus that 'alternative tables'
could be used between agreeing protocol peers.  The DN I-D
reflects this consensus.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 15:31:39 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA07727
	for <ldapbis-archive@odin.ietf.org>; Thu, 4 Apr 2002 15:31:37 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g34KUbx49806;
	Thu, 4 Apr 2002 20:30:37 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 20:30:37 +0000
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g34KUaU49799
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 4 Apr 2002 20:30:36 GMT
Received: from rowlf.Central.Sun.COM ([129.153.131.70])
	by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id MAA27014;
	Thu, 4 Apr 2002 12:30:29 -0800 (PST)
Received: from sun.com (dhcp-aus09-222 [129.153.130.222])
	by rowlf.Central.Sun.COM (8.11.6+Sun/8.11.6/ENSMAIL,v2.2) with ESMTP id g34KUQe03767;
	Thu, 4 Apr 2002 14:30:27 -0600 (CST)
Message-ID: <3CACB80A.17AEDA19@sun.com>
Date: Thu, 04 Apr 2002 14:31:06 -0600
From: Mark Wahl <Mark.Wahl@sun.com>
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: David Chadwick <d.w.chadwick@salford.ac.uk>
CC: steven.legg@adacel.com.au, "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>,
        "'PKIX'" <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax
References: <001001c1db7f$751e3cd0$a518200a@osmium.mtwav.adacel.com.au> <3CAC5086.281238EE@salford.ac.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

David Chadwick wrote:
> 
> Steven
> 
> thanks for your messages that have clearly stated the case that ;binary
> is needed as a general transfer encoding, and that many attributes exist
> without a native LDAP encoding being defined for them.
> 
> But this does raise the more general issue of how does a user who asks
> for "all" attributes, deal with those which are returned, whose native
> encoding he is unfamiliar with. 

An application which asks for all attributes will need to expect to see
returned in the search result entry some attributes whose syntax OID is not 
one known to it.

RFC 2256 section 4.3.1 states that clients which request that all 
attributes be returned from entries MUST be prepared to receive values
in binary (e.g. userCertificate;binary) and SHOULD NOT simply display
binary or unrecognized values to users.

What the application does with this is analogous to an email or web client 
that receives a Content-Type: application/x-foo-bar.  It might
 - ignore it, 
 - report an error,
 - save the bytes to the file,
 - attempt to 'guess' (e.g. if all the bytes are in a pattern that matches
   the UTF-8 rules, then maybe it is UTF-8).

> Does the server assume the client knows (in which case ;binary will only
> be used on those attributes with no native encoding defined) or does not 
> know (in which case ;binary will need to be used on all attributes that 
> are not defined in Internet  standard RFCs).

A server knows nothing about client's schema capabilities.  There is no 
operation for a client to 'upload' a syntax table to the server.  The
;binary is used when the client requests it, either on the Add or Modify
which introduces the attribute and value to the entry, or when the client
requests it in the search's attribute description list.

Mark Wahl
Sun Microsystems Inc.


From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 17:00:19 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA10538
	for <ldapbis-archive@odin.ietf.org>; Thu, 4 Apr 2002 17:00:19 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g34LwMV53118;
	Thu, 4 Apr 2002 21:58:22 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 21:58:22 +0000
Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g34LwBU53098;
	Thu, 4 Apr 2002 21:58:19 GMT
Received: from salford.ac.uk ([213.107.136.218]) by mta02-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020404215810.VDVD286.mta02-svc.ntlworld.com@salford.ac.uk>;
          Thu, 4 Apr 2002 22:58:10 +0100
Message-ID: <3CACCD60.9937F736@salford.ac.uk>
Date: Thu, 04 Apr 2002 23:02:08 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: steven.legg@adacel.com.au, "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>,
        "'PKIX'" <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax
References: <001001c1db7f$751e3cd0$a518200a@osmium.mtwav.adacel.com.au> <5.1.0.14.0.20020404091310.02796bc0@127.0.0.1>
Content-Type: multipart/mixed;
 boundary="------------44013F5621BF9142B96E031A"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------44013F5621BF9142B96E031A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



"Kurt D. Zeilenga" wrote:

> I think it very important certificate schema not be a 'special
> case'.

Yes I agree with this. I think there really should be no special cases,
and that the core LDAPv3 specs should be able to cater for all
eventualities, such as native encoding exists, native encoding does not
exist, how to handle "any" in both cases etc.


>  I am concerned that adding a 'native' encoding to
> certificate schema will necessity the need for a 'special case'.
> In particular, in the handling of '*' as the general handling
> is to return the native encoding (no transfer option) if one
> is defined and supported.
> 

The special case will be needed by the enhanced LDAPv3 server that
understands the certificate native encoding, so does not need to provide
;binary in the response, but might do so as to be backwards compatible
with clients that expect ;binary (ie. do not know the native encoding).
But this special case is not really so special anyway, because

a) is not mandatory so the server does not have to keep this backwards
compatibility if it does not want to and
b) this case is no different to a server that knows about a private
attribute "foobar" with a locally defined native encoding, when
returning this to a remote client from another domain. The server does
not have to provide ;binary encoding, but ought to because the remote
client wont know the native encoding. This is why I said that ;binary
can only be ignored for attributes whose native syntax is defined in an
RFC, and is internationally known, but not for locally defined
attributes.

David


> >Seems like ASN.1 DAP had some advantages after all :-)
> 
> DAP, in many ways, is lighter than LDAP.  :-(
> 
> Kurt

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------44013F5621BF9142B96E031A
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------44013F5621BF9142B96E031A--



From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 17:04:43 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA10679
	for <ldapbis-archive@odin.ietf.org>; Thu, 4 Apr 2002 17:04:42 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g34M3nu53427;
	Thu, 4 Apr 2002 22:03:50 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 22:03:49 +0000
Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g34M3lU53406;
	Thu, 4 Apr 2002 22:03:47 GMT
Received: from salford.ac.uk ([213.107.136.218]) by mta02-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020404220343.VIVM286.mta02-svc.ntlworld.com@salford.ac.uk>;
          Thu, 4 Apr 2002 23:03:43 +0100
Message-ID: <3CACCEAD.8DDA4E52@salford.ac.uk>
Date: Thu, 04 Apr 2002 23:07:41 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: LDAP BIS <ietf-ldapbis@OpenLDAP.org>
Subject: Re: <draft-ietf-ldapbis-dn-07.txt>
References: <5.1.0.14.0.20020404102053.027c8cb8@127.0.0.1>
Content-Type: multipart/mixed;
 boundary="------------2D59F8BC9F147B451CF3CBF9"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------2D59F8BC9F147B451CF3CBF9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



"Kurt D. Zeilenga" wrote:

> We discussed what RFC 2253 meant when it said a 'published table'
> and why interoperability depended on protocol peers using a
> common table.  I believe the WG consensus was that RFC 2253
> should be clarified that 'published table' is that table it
> provides.  The WG also reached consensus that 'alternative tables'
> could be used between agreeing protocol peers.  The DN I-D
> reflects this consensus.
> 

So how are these alternative tables agreed upon? You surely are not
going to say "by private means" are you? That does not sound like a good
answer for an open Internet standard. I think that the original
intention of IANA publishing an agreed upon internationally recognised
extensible list is much better than private arrangements. However, if
you want to go the private route, then the PKIX group can surely define
its own table to be used by PKI LDAP servers and clients and publish
this in an RFC cant it?

David

> Kurt

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------2D59F8BC9F147B451CF3CBF9
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------2D59F8BC9F147B451CF3CBF9--



From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 17:52:40 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA11848
	for <ldapbis-archive@odin.ietf.org>; Thu, 4 Apr 2002 17:52:40 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g34MpmT54742;
	Thu, 4 Apr 2002 22:51:48 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 22:51:48 +0000
Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g34MpjU54735
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 4 Apr 2002 22:51:45 GMT
Received: from salford.ac.uk ([213.107.136.218]) by mta07-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020404225143.SHPL7757.mta07-svc.ntlworld.com@salford.ac.uk>;
          Thu, 4 Apr 2002 23:51:43 +0100
Message-ID: <3CACD9EE.1FF0F4EA@salford.ac.uk>
Date: Thu, 04 Apr 2002 23:55:42 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Mark Wahl <Mark.Wahl@sun.com>
CC: steven.legg@adacel.com.au, "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>,
        "'PKIX'" <ietf-pkix@imc.org>
Subject: Re: LDAP Certificate transfer syntax
References: <001001c1db7f$751e3cd0$a518200a@osmium.mtwav.adacel.com.au> <3CAC5086.281238EE@salford.ac.uk> <3CACB80A.17AEDA19@sun.com>
Content-Type: multipart/mixed;
 boundary="------------1AF941EC9AD3712F35B81790"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------1AF941EC9AD3712F35B81790
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



Mark Wahl wrote:
> 
> David Chadwick wrote:
> > But this does raise the more general issue of how does a user who asks
> > for "all" attributes, deal with those which are returned, whose native
> > encoding he is unfamiliar with.
> 
> An application which asks for all attributes will need to expect to see
> returned in the search result entry some attributes whose syntax OID is not
> one known to it.

thats fine. But it does not quite go far enough. There are multiple
cases to consider by the server (irrespective of what the client knows
or does not know). The server might receive on an Add operation

i) an attribute whose LDAP syntax OID is known to the server and whose
native encoding is known e.g telephoneNumber
ii) an attribute whose LDAP syntax OID is known and whose native
encoding is not defined e.g. certificates and Steven Legg's multiple
examples of ACI etc (although it seems a bit odd to allocate an LDAP
syntax OID and not define what it means)
iii) an attribute whose syntax OID is not known and is sent to the
server as ;binary e.g. foobar;binary
iv) an attribute whose syntax OID is not known and is sent to the server
in a native encoding known to the client e.g foobar

I suspect that the server must reject case iv). I dont know what it will
do in case iii) when such an attribute is recieved. The server could
just store it as a binary BER blob (assuming the attribute type has been
configured in), or refuse to accept it. In fact case ii) and iii) dont
appear to be too dissimilar to me, since the LDAP syntax OID is not
passed in protocol, and in case ii) it is a pretty meaningless thing to
have as it is not defined? So a server could treat case ii) and iii) the
same. Can you clarify this for me Mark please.

The client submitting the attribute might well be different to the one
retrieving it, and have different amounts of schema knowledge. A dumb
client might not know any schema definitions!

So in general a client might expect to recieve

i) an attribute whose native encoding it knows, in native encoding e.g
telephoneNumber
ii) an attribute whose native encoding it knows, in ;binary encoding
e.g. telephoneNumber;binary
iii) an attribute whose native encoding it does not know, in native
encoding e.g. foobar
iv) an attribute whose native encoding it does not know, in binary
encoding e.g. foobar;binary

All of the above 8 cases (both receipt by the server and the client)
need to be described in the LDAPbis documents as they are general cases
independent of the certificate discussion. Dont you agree?


> 
> RFC 2256 section 4.3.1 states that clients which request that all
> attributes be returned from entries MUST be prepared to receive values
> in binary (e.g. userCertificate;binary) and SHOULD NOT simply display
> binary or unrecognized values to users.
> 
> What the application does with this is analogous to an email or web client
> that receives a Content-Type: application/x-foo-bar.  It might
>  - ignore it,
>  - report an error,
>  - save the bytes to the file,
>  - attempt to 'guess' (e.g. if all the bytes are in a pattern that matches
>    the UTF-8 rules, then maybe it is UTF-8).
> 
> > Does the server assume the client knows (in which case ;binary will only
> > be used on those attributes with no native encoding defined) or does not
> > know (in which case ;binary will need to be used on all attributes that
> > are not defined in Internet  standard RFCs).
> 
> A server knows nothing about client's schema capabilities.  There is no
> operation for a client to 'upload' a syntax table to the server.  The
> ;binary is used when the client requests it, either on the Add or Modify
> which introduces the attribute and value to the entry, or when the client
> requests it in the search's attribute description list.

What happens if a client Adds telephoneNumber;binary? This should be
readable in either native format or ;binary format, shouldn't it? One
could interpret what you said above that once submitted in the ;binary
form it is only ever readable in ;binary format. You did not imply this
did you?

Thanks

David

> 
> Mark Wahl
> Sun Microsystems Inc.

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------1AF941EC9AD3712F35B81790
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------1AF941EC9AD3712F35B81790--



From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 18:08:55 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA12241
	for <ldapbis-archive@odin.ietf.org>; Thu, 4 Apr 2002 18:08:54 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g34N7qv55752;
	Thu, 4 Apr 2002 23:07:52 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 4 Apr 2002 23:07:52 +0000
Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g34N7lU55732;
	Thu, 4 Apr 2002 23:07:47 GMT
Received: from salford.ac.uk ([213.107.136.218]) by mta03-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020404230744.TGSE303.mta03-svc.ntlworld.com@salford.ac.uk>;
          Fri, 5 Apr 2002 00:07:44 +0100
Message-ID: <3CACDDAF.3D0AFA50@salford.ac.uk>
Date: Fri, 05 Apr 2002 00:11:43 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Olaf.Schlueter@secartis.com
CC: ietf-ldapbis@OpenLDAP.org, ietf-pkix@imc.org,
        Jim Sermersheim <JIMSE@novell.com>, Kurt@OpenLDAP.org,
        owner-ietf-pkix@mail.imc.org
Subject: Re: LDAP Certificate transfer syntax  [Virus checked]
References: <OF46F52F2C.816623C4-ONC1256B91.006CEB19@domino.intern>
Content-Type: multipart/mixed;
 boundary="------------EDC8A52A63C717DDF957B824"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------EDC8A52A63C717DDF957B824
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit



Olaf.Schlueter@secartis.com wrote:
> 
> I am puzzled. Within the PKI projects that I did participate, and those
> that I am aware of, retrieving certificates from an directory, either one
> dedicated to the use of PKI or an PKI-enhanced corporate directory, has
> never been a problem once the correct node has been known. Neither with
> special applications nor with standard ones like the popular e-mail clients
> Outlook (Express) or Netscape. So Certificate transfer syntax is not a
> problem, all applications that I am aware of are happily expecting a
> DER-encoded X.509 certificate binary blob as the certificate, and that is a
> workable solution obviously, no need for a change. 

Unfortunately some PKIs are having problems e.g, with a mixture of
LDAPv2 and v3 clients from multiple vendors, using multiple servers from
different vendors.

>The only "standard" that
> we are missing is a directory profile that allows us in a standardized way
> to look up user certificates by typical search items like e-mail adress or
> username (a de-facto standard ldap search query is implemented in Outlook,

this is precisely what the PKIX LDAP schema ID is defining - matching
rules that allow you to search for certificates based on their internal
fields.


> Netscape and Lotus Notes), and CA certificates (and CA nodes) by a given
> issuer name (no de-facto standard is existing). The solution proposed in
> this thread  "DIT DN match subject DN" does not resolve the "retrieve a
> user certificate by search item" problem, and is for reasons already been
> given by others on this list a bad solution for retrieving CA nodes by
> issuer DN. What we really need is an extension of the objectClass pkiCA or
> certificationAuthority by an standard attribute of type DN containing the
> subject name of the CA certificate. 

this is a simplistic solution that does not cater for searching for
certificates with particular expiry dates, or key usage fields, or
alternate subject names, or particular CRL distribution points etc.
Further it requires someone to pull the CA name out of the cert and to
stick it in a separate attribute. What the LDAP schema ID is defining is
a general mechanism to allow a client to store a certificate on its own
(no extra attributes are needed) and then search for it based on ANY of
its embedded fields. We have started to implement this now in OpenLDAP.

>In our projects we are currently
> (mis)using the objectClass "organizationalRole" for that purpose as it
> contains an attribute "RoleOccupant" with the appropriate type at least.. We
> are probably missing the semantics of that class here, but it is working.
> 

Yes, its a short term quick fix that works. Lets hope you wont have to
use it for too long.

> Whatever you do with LDAP specs, do not break existing systems, especially
> not existing PKI-aware applications on the market.

Thanks for this. We should not do this of course, but we also need to
address existing problems today as well.

David

> _____________________________________________________
> 
> Olaf Schlüter
> Professional Services PKI
> 
> Secartis AG -- eSolutions by Giesecke & Devrient
> Bretonischer Ring 3, D-85630 Grasbrunn, Germany
> 
> Phone: +49 (0) 89 4119-7041, Fax; +49 (0) 89 4119-7402
> Mobile: +49 (0) 172 8979425,
> Email: olaf.schlueter@secartis.com, Home: www.secartis.com
> _____________________________________________________
> 
> 
>                     David Chadwick
>                     <d.w.chadwick@salf       To:     Jim Sermersheim <JIMSE@novell.com>
>                     ord.ac.uk>               cc:     Kurt@OpenLDAP.org, ietf-pkix@imc.org, ietf-ldapbis@OpenLDAP.org
>                     Sent by:                 Subject:     Re: LDAP Certificate transfer syntax  [Virus checked]
>                     owner-ietf-pkix@ma
>                     il.imc.org
> 
> 
>                     04.04.2002 14:52
> 
> 
> 
> Jim
> 
> these are very good points that you make. They go part way to showing
> that a reason for the confused situation we have gotten into is by not
> previously being precise enough about certificate syntax definitions (in
> fact there was not a workable one defined). I hope the new PKIX schema
> ID can be precise enough to ensure that future problems dont occur. Do
> you have any suggestions to the proposed wording that I sent out
> 
> David
> 
> Jim Sermersheim wrote:
> >
> > I note that 2252 and 2256 both have problems with the language used to
> > specify this.
> >
> > 2252 says that values of the Certificate syntax MUST be transferred
> > using the binary encoding. It then gives two attribute descriptions
> > "userCertificate;binary" and caCertificate;binary". If I create an
> > attribute called printerCertificate, what am I supposed to refer to it
> > as?
> >
> > It can be argued that the MUST here refers to the encoding, and the
> > attribute descriptions are merely examples of the day.
> >
> > 2256 says "This attribute is to be stored and requested in the binary
> > form, as 'userCertificate;binary'". Am I to believe that I must somehow
> > store the ;binary option in my database? Aside from that sillines, there
> > is no MUST imperative here.
> >
> > Jim
> >
> > >>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 04/03/02 11:36AM >>>
> > This text does not clearly "MUST" the use of ;binary as
> > RFC 2252 and RFC 2256 did.  As previously noted, this
> > "MUST" should not be dropped as doing so will cause
> > interoperability problems between implementations of
> > the current technical specification and the revised
> > technical specification.
> >
> > Kurt
> >
> > At 05:29 AM 2002-04-01, David Chadwick wrote:
> > >Colleagues
> > >
> > >Here is my proposed change to the section describing the LDAP syntax
> > for
> > >cerificates in the PKIX id
> > ><draft-pkix-ldap-schema-03.txt> which should be published before the
> > end
> > >of April. As this is likely to be the most contentious part of the
> > new
> > >ID, I thought it would be useful to distribute this text at the
> > earlier
> > >possible moment.
> > >
> > >All constructive comments welcomed
> > >
> > >David
> > >
> > >
> > >3.3  Certificate Syntax
> > >
> > >A value in this transfer syntax is the binary octet string that
> > results
> > >from BER or DER-encoding of an X.509 public key certificate.  The
> > >following string states the OID assigned to this syntax:
> > >
> > >      ( 1.3.6.1.4.1.1466.115.121.1.8 DESC 'Certificate' )
> > >
> > >Servers must preserve values in this syntax exactly as given when
> > >storing and retrieving them.
> > >
> > >Note. Due to the changes from X.509(1988) to X.509(1993) and
> > subsequent
> > >changes to the ASN.1 definition to support certificate extensions in
> > >X.509(1997), no character string transfer syntax is defined for
> > >certificates. The BNF notation in RFC 1778 [12] for "User
> > Certificate"
> > >MUST NOT be used. Values in this syntax MUST be transferred as BER or
> > >DER encoded octets. The use of the ;binary encoding option, i.e. by
> > >requesting or returning the attributes with descriptions
> > >"userCertificate;binary" or "caCertificate;binary" has no effect on
> > the
> > >transfer syntax.
> 
> --
> *****************************************************************
> 
> David W. Chadwick, BSc PhD
> Professor of Information Systems Security
> IS Institute, University of Salford, Salford M5 4WT
> Tel: +44 161 295 5351  Fax +44 161 745 8169
> Mobile: +44 77 96 44 7184
> Email: D.W.Chadwick@salford.ac.uk
> Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> Research Projects: http://sec.isi.salford.ac.uk
> Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
> Entrust key validation string: MLJ9-DU5T-HV8J
> PGP Key ID is 0xBC238DE5
> 
> *****************************************************************
> (See attached file: d.w.chadwick.vcf)

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------EDC8A52A63C717DDF957B824
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------EDC8A52A63C717DDF957B824--



From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 21:06:17 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA15048
	for <ldapbis-archive@odin.ietf.org>; Thu, 4 Apr 2002 21:06:16 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3524v560324;
	Fri, 5 Apr 2002 02:04:57 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Fri, 5 Apr 2002 02:04:57 +0000
Received: from nexus.adacel.com (shelob.adacel.com.au [203.36.26.146] (may be forged))
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3524mU60317
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 5 Apr 2002 02:04:52 GMT
Received: (qmail 21485 invoked from network); 5 Apr 2002 02:01:18 -0000
Received: from unknown (HELO osmium) (10.32.24.165)
  by nexus.adacel.com with SMTP; 5 Apr 2002 02:01:18 -0000
Reply-To: <steven.legg@adacel.com.au>
From: "Steven Legg" <steven.legg@adacel.com.au>
To: "'Ramsay, Ron'" <Ron.Ramsay@ca.com>
Cc: "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>
Subject: RE: LDAP Certificate transfer syntax
Date: Fri, 5 Apr 2002 12:03:08 +1000
Message-ID: <004501c1dc46$08c1e1f0$a518200a@osmium.mtwav.adacel.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0
In-Reply-To: <A7E3A4B51615D511BCB6009027D0D18C04598A2E@aspams01.ca.com>
Importance: Normal
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Ron,

Ramsay, Ron wrote:
> Just two points:
> 
> o It seems unusual to implement a syntax but not know what it means?

I can know what a syntax means from its X.500 style definition.
That tells me everything I need to know about the syntax except
what its LDAP-specific encoding is.

> o Even if ;binary does appear to allow interoperability, it 
> breaks down in
> the case where a non-aware server sends a search specifying 
> the return of
> all attributes to an aware server - ;binary will not be used 
> and you will
> fall on the horns of your own dilemma.

No. If the non-aware server chains to the aware server using DSP,
the aware server returns only BER encoded values, which the non-aware
server re-encodes in the LDAP-specific form for those syntaxes
where this form is known, or leaves as ;binary otherwise.

If the non-aware server chains to the aware server using LDAP,
the aware server returns LDAP-specific encoded values, which the
non-aware server can return to the client as is (though the non-aware
server won't be able to apply sort controls, for example).

Difficulties arise if the non-aware server has to re-encode the
LDAP-specific encoded values as BER, which would be required if
some server chained an operation through DSP to the non-aware
server which then chained through LDAP to the aware server.
In such a case the non-aware server would either have to
drop the attributes for which it doesn't know the LDAP-specific
encoding, or return a referral, or ask the aware server for
*;binary instead.

Also, the X.500/LDAP alignment work in the ITU may end up providing
a means of returning LDAP-specific encoded values through DSP.

Regards,
Steven

> 
> Ron.
> 
> -----Original Message-----
> From: Steven Legg [mailto:steven.legg@adacel.com.au]
> Sent: Thursday, 4 April 2002 15:54
> To: Ramsay, Ron
> Cc: 'LDAP BIS'; 'PKIX'
> Subject: RE: LDAP Certificate transfer syntax
> 
> 
> 
> Ron,
> 
> Ramsay, Ron wrote:
> > Sent: Thursday, 4 April 2002 12:52
> > To: steven.legg@adacel.com.au; 'David Chadwick'
> > Cc: 'LDAP BIS'; 'PKIX'
> > Subject: RE: LDAP Certificate transfer syntax
> > 
> > 
> > Steven,
> > 
> > > I need a standard way to represent attribute values of the
> > > other two thirds in LDAP and LDIF. The ;binary option serves that
> > > purpose.
> > 
> > I don't see this as logical. Do you simply mean the use of 
> > ;binary means you
> > don't have to define another encoding? For, surely, defining 
> > the behaviour
> > to be same for ;binary as without it achieves the same end?
> 
> I was taking David's comment in the context of just the Certificate
> and related syntaxes, where the use of ;binary is currently mandated.
> If these syntaxes have their LDAP-specific encodings defined to be
> the same as the ;binary encoding that still leaves me with a large
> number of syntaxes where the LDAP-specific encoding is undefined.
> 
> A blanket specification that the LDAP-specific encoding for *all*
> other syntaxes is the same as ;binary (or GSER, or whatever) is
> outside the scope of LDAPbis and the PKIX LDAP Schema, and runs
> into the immediate problem of quantifying which are the "other"
> syntaxes.
> 
> Given some X.500-style attribute definition, there may or may not
> be a relevant LDAP syntax specification for its syntax, and I may
> not be aware of the specification if one does exist. If my server
> doesn't know the LDAP-specific encoding for some syntax but assumes
> it is the BER encoding there will be problems interoperating
> with implementations that do know the LDAP-specific encoding, if
> that encoding has been formally specified somewhere as some
> character string encoding.
> 
> On the other hand, two implementations will agree on what the ;binary
> encoding is, even if one of them doesn't have complete information
> about the LDAP-specific encoding.
> 
> Regards,
> Steven
> 
> > 
> > Ron.
> > 
> > -----Original Message-----
> > From: Steven Legg [mailto:steven.legg@adacel.com.au]
> > Sent: Thursday, 4 April 2002 12:22
> > To: 'David Chadwick'
> > Cc: 'LDAP BIS'; 'PKIX'
> > Subject: RE: LDAP Certificate transfer syntax
> > 
> > 
> > 
> > David,
> > 
> > David Chadwick wrote:
> > > Sent: Thursday, 4 April 2002 8:45
> > > To: Kurt D. Zeilenga
> > > Cc: Sharon Boeyen; 'Mark Wahl'; Mark C Smith; LDAP BIS; PKIX
> > > Subject: Re: LDAP Certificate transfer syntax
> > 
> > > > In David's table, he shows that existing LDAPv3 implementations
> > > > are "OK".   That is, LDAPv3 is not broken in this regard.  The
> > > > specification is clear and there multiple interoperable
> > > > LDAPv3 implementations.
> > > > 
> > > 
> > > But LDAP (v2 and v3) is deficient in that it has never specified a
> > > workable "native" transfer encoding for certificates. The 
> > > LDAPv2 attempt
> > > was broken as we know, and v3 never replaced it - until my 
> > > proposed text
> > > now. Are certificates the only commonly used attributes without a
> > > "native" encoding? I cant think of any others.
> > 
> > I commonly use entryACI, prescriptiveACI and subentry ACI (ACI Item
> > syntax) and subtreeSpecification (Subtree Specification syntax).
> > Neither of the syntaxes for these attributes has a defined
> > LDAP-specific (i.e. native) encoding in RFC 2252 or RFC 2256.
> > 
> > > So this is a deficiency
> > > that should be rectified in my opinion.
> > 
> > Recent I-Ds have proposed human readable character string encodings
> > for both the ACI Item syntax and the Subtree Specification syntax,
> > by referencing the Generic String Encoding Rules, to correct the
> > deficiency in these syntaxes. This is in keeping with the statement
> > in RFC 2252 that "The encoding rules defined for a given attribute
> > syntax must produce octet strings. To the greatest extent possible,
> > encoded octet strings should be usable in their native encoded form
> > for display purposes".
> > 
> > Thus a "right" way to fix the Certificate syntax is to define
> > the LDAP-specific/native encoding to be the GSER encoding :-).
> > 
> > Had the ACI Item and Subtree Specification syntaxes previously been
> > defined such that their LDAP-specific encoding was the same as
> > their ;binary encoding it would not now be possible to define the
> > default format to be a human readable character string encoding.
> > 
> > 
> > > > That is, this suggest change will implementations to updated to
> > > > support it.  This will include some clients (such as those which
> > > > as for "*" and expect userCertificate;binary) 
> > > 
> > > agreed, if a server is to be consistent it probably would not put
> > > ;binary on any returned attributes, although I believe that todays
> > > LDAPv3 servers will put ;binary on certificates because 
> of the MUST
> > > requirement. If they continued to do this in the future 
> it would not
> > > cause any problems with the clients, but would be inconsistent
> > > behaviour.
> > > 
> > > >and most (if not
> > > > all) servers.  That's bad!
> > > > 
> > > 
> > > I think the change would not have been necessary if all existing
> > > products had implemented the current spec. And thats bad!!
> > 
> > The fault is in the incorrectly implemented products. The obligation
> > to change is on them, not the correctly implemented products.
> > 
> > 
> > > > Hence, for LDAPv3 interoperability sake, the specification needs
> > > > to continue to MUST the use of ;binary for these 
> attributes except
> > > > where the client and server have a prior agreement that the
> > > > OPTIONAL native encoding is to be used.
> > > > 
> > > 
> > > As a general rule I think that continuing to mandate one 
> particular
> > > tranfer encoding just for certificates is wrong and leaves us 
> > > in hole in
> > > the future if new transfer encodings are developed, such as 
> > XML (which
> > > incidentally has now been standardised for certificates). 
> > So how would
> > > you propose to cater for XML encodings in the future?
> > 
> > One way is to provide an update to the Certificate syntax 
> to say that
> > values in the syntax MUST NOT be requested or returned without an
> > explicit transfer option. We could also say that now, in the current
> > draft.
> > 
> > 
> > > > Of course, one ought to wonder why any LDAPv3 implementation
> > > > would support this OPTIONAL native encoding when the REQUIRED
> > > > encoding is more broadly implemented and provides the same
> > > > functionality.   It seems redundant to me.
> > > > 
> > > 
> > > Clearly there is redundancy once a native encoding is 
> > > specified and this
> > > happens to be the same as the ;binary encoding, that is not 
> > in doubt.
> > > But who is to say which one is the redundant one? It could be 
> > > the use of
> > > ;binary. Maybe this transfer encoding is no longer needed 
> by LDAPv3
> > > (just being devil's advocate here :-)
> > 
> > Only about a third of the syntaxes I support have defined 
> > LDAP-specific
> > encodings. I need a standard way to represent attribute 
> values of the
> > other two thirds in LDAP and LDIF. The ;binary option serves that
> > purpose. Now if someone were to mandate that all additional 
> > LDAP syntaxes
> > must use GSER for the LDAP-specific encoding then I wouldn't 
> > need ;binary.
> > 
> > Regards,
> > Steven
> > 
> > > 
> > > David
> > > 
> > > 
> > > > Kurt
> > > 
> > > -- 
> > > *****************************************************************
> > > 
> > > David W. Chadwick, BSc PhD
> > > Professor of Information Systems Security
> > > IS Institute, University of Salford, Salford M5 4WT
> > > Tel: +44 161 295 5351  Fax +44 161 745 8169
> > > Mobile: +44 77 96 44 7184
> > > Email: D.W.Chadwick@salford.ac.uk
> > > Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> > > Research Projects: http://sec.isi.salford.ac.uk
> > > Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> > > X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
> > > Entrust key validation string: MLJ9-DU5T-HV8J
> > > PGP Key ID is 0xBC238DE5
> > > 
> > > *****************************************************************
> > 
> 


From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 21:40:36 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA16370
	for <ldapbis-archive@odin.ietf.org>; Thu, 4 Apr 2002 21:40:31 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g352dWa61007;
	Fri, 5 Apr 2002 02:39:32 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Fri, 5 Apr 2002 02:39:32 +0000
Received: from aspams52.ca.com (aspams52.cai.com [155.35.248.76])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g352dTU60987;
	Fri, 5 Apr 2002 02:39:30 GMT
Received: by aspams52.ca.com with Internet Mail Service (5.5.2655.55)
	id <H5DC15DK>; Fri, 5 Apr 2002 12:37:30 +1000
Message-ID: <A7E3A4B51615D511BCB6009027D0D18C045C29AD@aspams01.ca.com>
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
Subject: RE: LDAPbis scope issue (Was: LDAP Certificate transfer syntax)
Date: Fri, 5 Apr 2002 12:38:40 +1000 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I'm not getting a feeling for the meaning of 'core':
 The certificate IDs "can be independently progressed from the rest of the
"core" specification."
 The "the engineers may consider "new features" (something which LDAPbis
cannot do)."

Quite apart from the meaning of "core", the last sentence above seems to be
your way of offering carte blanche to the certificate work?

Ron.

-----Original Message-----
From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
Sent: Friday, 5 April 2002 3:45
To: Ramsay, Ron
Cc: Mark Wahl; LDAP BIS; PKIX
Subject: LDAPbis scope issue (Was: LDAP Certificate transfer syntax)


At 05:02 PM 2002-04-03, Ramsay, Ron wrote:
>I thought certificate syntax was being removed from the LDAP v3 specs and,
>therefore, certificate syntax was not an issue for DLAPbis?

The LDAPbis WG is chartered specifically to revise the LDAP
"core" technical specification (RFC 2251-2256, 2829-2830).
This schema is part of that "core" specification.

The WG has decided to split the certificate schema into
separate I-Ds that can be independently progressed from
the rest of the "core" specification and to allow individuals
and/or the PKIX WG to taken on this work while LDAPbis
focuses on the rest of the "core".   As the engineering
is being done outside of LDAPbis, the engineers may consider
"new features" (something which LDAPbis cannot do).

However, LDAPbis is still responsible for the "core"
specification and should provide review for any I-D
updating the "core" specification.  This I-D will update
both RFC 2252 and RFC 2256 (if published before LDAPbis
works are published) and, hence, should be subject to
a LDAPbis WG review.

To this end, the PKIX and LDAPbis chairs have agreed that
this work be subject to a joint PKIX/LDAPbis WG Last Call.

Kurt, LDAPbis co-chair


From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr  4 22:03:58 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA16626
	for <ldapbis-archive@odin.ietf.org>; Thu, 4 Apr 2002 22:03:57 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3532qX61345;
	Fri, 5 Apr 2002 03:02:52 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Fri, 5 Apr 2002 03:02:52 +0000
Received: from aspams52.ca.com (aspams52.cai.com [155.35.248.76])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3532lU61337
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 5 Apr 2002 03:02:47 GMT
Received: by aspams52.ca.com with Internet Mail Service (5.5.2655.55)
	id <H5DC1528>; Fri, 5 Apr 2002 13:00:51 +1000
Message-ID: <A7E3A4B51615D511BCB6009027D0D18C045C2AA8@aspams01.ca.com>
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: steven.legg@adacel.com.au
Cc: "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>
Subject: RE: LDAP Certificate transfer syntax
Date: Fri, 5 Apr 2002 13:01:57 +1000 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Steven,

> the aware server returns only BER encoded values, which the non-aware
> server re-encodes in the LDAP-specific form for those syntaxes
> where this form is known, or leaves as ;binary otherwise.

The aware server does not use ;binary!

Ron.

-----Original Message-----
From: Steven Legg [mailto:steven.legg@adacel.com.au]
Sent: Friday, 5 April 2002 12:03
To: Ramsay, Ron
Cc: 'LDAP BIS'
Subject: RE: LDAP Certificate transfer syntax



Ron,

Ramsay, Ron wrote:
> Just two points:
> 
> o It seems unusual to implement a syntax but not know what it means?

I can know what a syntax means from its X.500 style definition.
That tells me everything I need to know about the syntax except
what its LDAP-specific encoding is.

> o Even if ;binary does appear to allow interoperability, it 
> breaks down in
> the case where a non-aware server sends a search specifying 
> the return of
> all attributes to an aware server - ;binary will not be used 
> and you will
> fall on the horns of your own dilemma.

No. If the non-aware server chains to the aware server using DSP,
the aware server returns only BER encoded values, which the non-aware
server re-encodes in the LDAP-specific form for those syntaxes
where this form is known, or leaves as ;binary otherwise.

If the non-aware server chains to the aware server using LDAP,
the aware server returns LDAP-specific encoded values, which the
non-aware server can return to the client as is (though the non-aware
server won't be able to apply sort controls, for example).

Difficulties arise if the non-aware server has to re-encode the
LDAP-specific encoded values as BER, which would be required if
some server chained an operation through DSP to the non-aware
server which then chained through LDAP to the aware server.
In such a case the non-aware server would either have to
drop the attributes for which it doesn't know the LDAP-specific
encoding, or return a referral, or ask the aware server for
*;binary instead.

Also, the X.500/LDAP alignment work in the ITU may end up providing
a means of returning LDAP-specific encoded values through DSP.

Regards,
Steven

> 
> Ron.
> 
> -----Original Message-----
> From: Steven Legg [mailto:steven.legg@adacel.com.au]
> Sent: Thursday, 4 April 2002 15:54
> To: Ramsay, Ron
> Cc: 'LDAP BIS'; 'PKIX'
> Subject: RE: LDAP Certificate transfer syntax
> 
> 
> 
> Ron,
> 
> Ramsay, Ron wrote:
> > Sent: Thursday, 4 April 2002 12:52
> > To: steven.legg@adacel.com.au; 'David Chadwick'
> > Cc: 'LDAP BIS'; 'PKIX'
> > Subject: RE: LDAP Certificate transfer syntax
> > 
> > 
> > Steven,
> > 
> > > I need a standard way to represent attribute values of the
> > > other two thirds in LDAP and LDIF. The ;binary option serves that
> > > purpose.
> > 
> > I don't see this as logical. Do you simply mean the use of 
> > ;binary means you
> > don't have to define another encoding? For, surely, defining 
> > the behaviour
> > to be same for ;binary as without it achieves the same end?
> 
> I was taking David's comment in the context of just the Certificate
> and related syntaxes, where the use of ;binary is currently mandated.
> If these syntaxes have their LDAP-specific encodings defined to be
> the same as the ;binary encoding that still leaves me with a large
> number of syntaxes where the LDAP-specific encoding is undefined.
> 
> A blanket specification that the LDAP-specific encoding for *all*
> other syntaxes is the same as ;binary (or GSER, or whatever) is
> outside the scope of LDAPbis and the PKIX LDAP Schema, and runs
> into the immediate problem of quantifying which are the "other"
> syntaxes.
> 
> Given some X.500-style attribute definition, there may or may not
> be a relevant LDAP syntax specification for its syntax, and I may
> not be aware of the specification if one does exist. If my server
> doesn't know the LDAP-specific encoding for some syntax but assumes
> it is the BER encoding there will be problems interoperating
> with implementations that do know the LDAP-specific encoding, if
> that encoding has been formally specified somewhere as some
> character string encoding.
> 
> On the other hand, two implementations will agree on what the ;binary
> encoding is, even if one of them doesn't have complete information
> about the LDAP-specific encoding.
> 
> Regards,
> Steven
> 
> > 
> > Ron.
> > 
> > -----Original Message-----
> > From: Steven Legg [mailto:steven.legg@adacel.com.au]
> > Sent: Thursday, 4 April 2002 12:22
> > To: 'David Chadwick'
> > Cc: 'LDAP BIS'; 'PKIX'
> > Subject: RE: LDAP Certificate transfer syntax
> > 
> > 
> > 
> > David,
> > 
> > David Chadwick wrote:
> > > Sent: Thursday, 4 April 2002 8:45
> > > To: Kurt D. Zeilenga
> > > Cc: Sharon Boeyen; 'Mark Wahl'; Mark C Smith; LDAP BIS; PKIX
> > > Subject: Re: LDAP Certificate transfer syntax
> > 
> > > > In David's table, he shows that existing LDAPv3 implementations
> > > > are "OK".   That is, LDAPv3 is not broken in this regard.  The
> > > > specification is clear and there multiple interoperable
> > > > LDAPv3 implementations.
> > > > 
> > > 
> > > But LDAP (v2 and v3) is deficient in that it has never specified a
> > > workable "native" transfer encoding for certificates. The 
> > > LDAPv2 attempt
> > > was broken as we know, and v3 never replaced it - until my 
> > > proposed text
> > > now. Are certificates the only commonly used attributes without a
> > > "native" encoding? I cant think of any others.
> > 
> > I commonly use entryACI, prescriptiveACI and subentry ACI (ACI Item
> > syntax) and subtreeSpecification (Subtree Specification syntax).
> > Neither of the syntaxes for these attributes has a defined
> > LDAP-specific (i.e. native) encoding in RFC 2252 or RFC 2256.
> > 
> > > So this is a deficiency
> > > that should be rectified in my opinion.
> > 
> > Recent I-Ds have proposed human readable character string encodings
> > for both the ACI Item syntax and the Subtree Specification syntax,
> > by referencing the Generic String Encoding Rules, to correct the
> > deficiency in these syntaxes. This is in keeping with the statement
> > in RFC 2252 that "The encoding rules defined for a given attribute
> > syntax must produce octet strings. To the greatest extent possible,
> > encoded octet strings should be usable in their native encoded form
> > for display purposes".
> > 
> > Thus a "right" way to fix the Certificate syntax is to define
> > the LDAP-specific/native encoding to be the GSER encoding :-).
> > 
> > Had the ACI Item and Subtree Specification syntaxes previously been
> > defined such that their LDAP-specific encoding was the same as
> > their ;binary encoding it would not now be possible to define the
> > default format to be a human readable character string encoding.
> > 
> > 
> > > > That is, this suggest change will implementations to updated to
> > > > support it.  This will include some clients (such as those which
> > > > as for "*" and expect userCertificate;binary) 
> > > 
> > > agreed, if a server is to be consistent it probably would not put
> > > ;binary on any returned attributes, although I believe that todays
> > > LDAPv3 servers will put ;binary on certificates because 
> of the MUST
> > > requirement. If they continued to do this in the future 
> it would not
> > > cause any problems with the clients, but would be inconsistent
> > > behaviour.
> > > 
> > > >and most (if not
> > > > all) servers.  That's bad!
> > > > 
> > > 
> > > I think the change would not have been necessary if all existing
> > > products had implemented the current spec. And thats bad!!
> > 
> > The fault is in the incorrectly implemented products. The obligation
> > to change is on them, not the correctly implemented products.
> > 
> > 
> > > > Hence, for LDAPv3 interoperability sake, the specification needs
> > > > to continue to MUST the use of ;binary for these 
> attributes except
> > > > where the client and server have a prior agreement that the
> > > > OPTIONAL native encoding is to be used.
> > > > 
> > > 
> > > As a general rule I think that continuing to mandate one 
> particular
> > > tranfer encoding just for certificates is wrong and leaves us 
> > > in hole in
> > > the future if new transfer encodings are developed, such as 
> > XML (which
> > > incidentally has now been standardised for certificates). 
> > So how would
> > > you propose to cater for XML encodings in the future?
> > 
> > One way is to provide an update to the Certificate syntax 
> to say that
> > values in the syntax MUST NOT be requested or returned without an
> > explicit transfer option. We could also say that now, in the current
> > draft.
> > 
> > 
> > > > Of course, one ought to wonder why any LDAPv3 implementation
> > > > would support this OPTIONAL native encoding when the REQUIRED
> > > > encoding is more broadly implemented and provides the same
> > > > functionality.   It seems redundant to me.
> > > > 
> > > 
> > > Clearly there is redundancy once a native encoding is 
> > > specified and this
> > > happens to be the same as the ;binary encoding, that is not 
> > in doubt.
> > > But who is to say which one is the redundant one? It could be 
> > > the use of
> > > ;binary. Maybe this transfer encoding is no longer needed 
> by LDAPv3
> > > (just being devil's advocate here :-)
> > 
> > Only about a third of the syntaxes I support have defined 
> > LDAP-specific
> > encodings. I need a standard way to represent attribute 
> values of the
> > other two thirds in LDAP and LDIF. The ;binary option serves that
> > purpose. Now if someone were to mandate that all additional 
> > LDAP syntaxes
> > must use GSER for the LDAP-specific encoding then I wouldn't 
> > need ;binary.
> > 
> > Regards,
> > Steven
> > 
> > > 
> > > David
> > > 
> > > 
> > > > Kurt
> > > 
> > > -- 
> > > *****************************************************************
> > > 
> > > David W. Chadwick, BSc PhD
> > > Professor of Information Systems Security
> > > IS Institute, University of Salford, Salford M5 4WT
> > > Tel: +44 161 295 5351  Fax +44 161 745 8169
> > > Mobile: +44 77 96 44 7184
> > > Email: D.W.Chadwick@salford.ac.uk
> > > Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> > > Research Projects: http://sec.isi.salford.ac.uk
> > > Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> > > X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
> > > Entrust key validation string: MLJ9-DU5T-HV8J
> > > PGP Key ID is 0xBC238DE5
> > > 
> > > *****************************************************************
> > 
> 


From owner-ietf-ldapbis@OpenLDAP.org  Fri Apr  5 01:55:01 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA20686
	for <ldapbis-archive@odin.ietf.org>; Fri, 5 Apr 2002 01:55:01 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g356rtM66261;
	Fri, 5 Apr 2002 06:53:56 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Fri, 5 Apr 2002 06:53:55 +0000
Received: from nexus.adacel.com (shelob.adacel.com.au [203.36.26.146] (may be forged))
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g356roU66254
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 5 Apr 2002 06:53:50 GMT
Received: (qmail 15953 invoked from network); 5 Apr 2002 06:50:18 -0000
Received: from unknown (HELO osmium) (10.32.24.165)
  by nexus.adacel.com with SMTP; 5 Apr 2002 06:50:18 -0000
Reply-To: <steven.legg@adacel.com.au>
From: "Steven Legg" <steven.legg@adacel.com.au>
To: "'Ramsay, Ron'" <Ron.Ramsay@ca.com>
Cc: "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>
Subject: RE: LDAP Certificate transfer syntax
Date: Fri, 5 Apr 2002 16:52:09 +1000
Message-ID: <004701c1dc6e$688eb220$a518200a@osmium.mtwav.adacel.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0
In-Reply-To: <A7E3A4B51615D511BCB6009027D0D18C045C2AA8@aspams01.ca.com>
Importance: Normal
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit


Ron,

Ramsay, Ron wrote:
> Steven,
> 
> > the aware server returns only BER encoded values, which the 
> non-aware
> > server re-encodes in the LDAP-specific form for those syntaxes
> > where this form is known, or leaves as ;binary otherwise.
> 
> The aware server does not use ;binary!

In this case, the aware server is returning attribute values in an
X.500 DSP chained search operation result in their BER encoded form.
It has no other choice. Thus the values have the same encoding as
they would have if returned as ;binary in LDAP.

Regards,
Steven

> 
> Ron.
> 
> -----Original Message-----
> From: Steven Legg [mailto:steven.legg@adacel.com.au]
> Sent: Friday, 5 April 2002 12:03
> To: Ramsay, Ron
> Cc: 'LDAP BIS'
> Subject: RE: LDAP Certificate transfer syntax
> 
> 
> 
> Ron,
> 
> Ramsay, Ron wrote:
> > Just two points:
> > 
> > o It seems unusual to implement a syntax but not know what it means?
> 
> I can know what a syntax means from its X.500 style definition.
> That tells me everything I need to know about the syntax except
> what its LDAP-specific encoding is.
> 
> > o Even if ;binary does appear to allow interoperability, it 
> > breaks down in
> > the case where a non-aware server sends a search specifying 
> > the return of
> > all attributes to an aware server - ;binary will not be used 
> > and you will
> > fall on the horns of your own dilemma.
> 
> No. If the non-aware server chains to the aware server using DSP,
> the aware server returns only BER encoded values, which the non-aware
> server re-encodes in the LDAP-specific form for those syntaxes
> where this form is known, or leaves as ;binary otherwise.
> 
> If the non-aware server chains to the aware server using LDAP,
> the aware server returns LDAP-specific encoded values, which the
> non-aware server can return to the client as is (though the non-aware
> server won't be able to apply sort controls, for example).
> 
> Difficulties arise if the non-aware server has to re-encode the
> LDAP-specific encoded values as BER, which would be required if
> some server chained an operation through DSP to the non-aware
> server which then chained through LDAP to the aware server.
> In such a case the non-aware server would either have to
> drop the attributes for which it doesn't know the LDAP-specific
> encoding, or return a referral, or ask the aware server for
> *;binary instead.
> 
> Also, the X.500/LDAP alignment work in the ITU may end up providing
> a means of returning LDAP-specific encoded values through DSP.
> 
> Regards,
> Steven
> 
> > 
> > Ron.
> > 
> > -----Original Message-----
> > From: Steven Legg [mailto:steven.legg@adacel.com.au]
> > Sent: Thursday, 4 April 2002 15:54
> > To: Ramsay, Ron
> > Cc: 'LDAP BIS'; 'PKIX'
> > Subject: RE: LDAP Certificate transfer syntax
> > 
> > 
> > 
> > Ron,
> > 
> > Ramsay, Ron wrote:
> > > Sent: Thursday, 4 April 2002 12:52
> > > To: steven.legg@adacel.com.au; 'David Chadwick'
> > > Cc: 'LDAP BIS'; 'PKIX'
> > > Subject: RE: LDAP Certificate transfer syntax
> > > 
> > > 
> > > Steven,
> > > 
> > > > I need a standard way to represent attribute values of the
> > > > other two thirds in LDAP and LDIF. The ;binary option 
> serves that
> > > > purpose.
> > > 
> > > I don't see this as logical. Do you simply mean the use of 
> > > ;binary means you
> > > don't have to define another encoding? For, surely, defining 
> > > the behaviour
> > > to be same for ;binary as without it achieves the same end?
> > 
> > I was taking David's comment in the context of just the Certificate
> > and related syntaxes, where the use of ;binary is currently 
> mandated.
> > If these syntaxes have their LDAP-specific encodings defined to be
> > the same as the ;binary encoding that still leaves me with a large
> > number of syntaxes where the LDAP-specific encoding is undefined.
> > 
> > A blanket specification that the LDAP-specific encoding for *all*
> > other syntaxes is the same as ;binary (or GSER, or whatever) is
> > outside the scope of LDAPbis and the PKIX LDAP Schema, and runs
> > into the immediate problem of quantifying which are the "other"
> > syntaxes.
> > 
> > Given some X.500-style attribute definition, there may or may not
> > be a relevant LDAP syntax specification for its syntax, and I may
> > not be aware of the specification if one does exist. If my server
> > doesn't know the LDAP-specific encoding for some syntax but assumes
> > it is the BER encoding there will be problems interoperating
> > with implementations that do know the LDAP-specific encoding, if
> > that encoding has been formally specified somewhere as some
> > character string encoding.
> > 
> > On the other hand, two implementations will agree on what 
> the ;binary
> > encoding is, even if one of them doesn't have complete information
> > about the LDAP-specific encoding.
> > 
> > Regards,
> > Steven
> > 
> > > 
> > > Ron.
> > > 
> > > -----Original Message-----
> > > From: Steven Legg [mailto:steven.legg@adacel.com.au]
> > > Sent: Thursday, 4 April 2002 12:22
> > > To: 'David Chadwick'
> > > Cc: 'LDAP BIS'; 'PKIX'
> > > Subject: RE: LDAP Certificate transfer syntax
> > > 
> > > 
> > > 
> > > David,
> > > 
> > > David Chadwick wrote:
> > > > Sent: Thursday, 4 April 2002 8:45
> > > > To: Kurt D. Zeilenga
> > > > Cc: Sharon Boeyen; 'Mark Wahl'; Mark C Smith; LDAP BIS; PKIX
> > > > Subject: Re: LDAP Certificate transfer syntax
> > > 
> > > > > In David's table, he shows that existing LDAPv3 
> implementations
> > > > > are "OK".   That is, LDAPv3 is not broken in this regard.  The
> > > > > specification is clear and there multiple interoperable
> > > > > LDAPv3 implementations.
> > > > > 
> > > > 
> > > > But LDAP (v2 and v3) is deficient in that it has never 
> specified a
> > > > workable "native" transfer encoding for certificates. The 
> > > > LDAPv2 attempt
> > > > was broken as we know, and v3 never replaced it - until my 
> > > > proposed text
> > > > now. Are certificates the only commonly used attributes 
> without a
> > > > "native" encoding? I cant think of any others.
> > > 
> > > I commonly use entryACI, prescriptiveACI and subentry ACI 
> (ACI Item
> > > syntax) and subtreeSpecification (Subtree Specification syntax).
> > > Neither of the syntaxes for these attributes has a defined
> > > LDAP-specific (i.e. native) encoding in RFC 2252 or RFC 2256.
> > > 
> > > > So this is a deficiency
> > > > that should be rectified in my opinion.
> > > 
> > > Recent I-Ds have proposed human readable character string 
> encodings
> > > for both the ACI Item syntax and the Subtree Specification syntax,
> > > by referencing the Generic String Encoding Rules, to correct the
> > > deficiency in these syntaxes. This is in keeping with the 
> statement
> > > in RFC 2252 that "The encoding rules defined for a given attribute
> > > syntax must produce octet strings. To the greatest extent 
> possible,
> > > encoded octet strings should be usable in their native 
> encoded form
> > > for display purposes".
> > > 
> > > Thus a "right" way to fix the Certificate syntax is to define
> > > the LDAP-specific/native encoding to be the GSER encoding :-).
> > > 
> > > Had the ACI Item and Subtree Specification syntaxes 
> previously been
> > > defined such that their LDAP-specific encoding was the same as
> > > their ;binary encoding it would not now be possible to define the
> > > default format to be a human readable character string encoding.
> > > 
> > > 
> > > > > That is, this suggest change will implementations to 
> updated to
> > > > > support it.  This will include some clients (such as 
> those which
> > > > > as for "*" and expect userCertificate;binary) 
> > > > 
> > > > agreed, if a server is to be consistent it probably 
> would not put
> > > > ;binary on any returned attributes, although I believe 
> that todays
> > > > LDAPv3 servers will put ;binary on certificates because 
> > of the MUST
> > > > requirement. If they continued to do this in the future 
> > it would not
> > > > cause any problems with the clients, but would be inconsistent
> > > > behaviour.
> > > > 
> > > > >and most (if not
> > > > > all) servers.  That's bad!
> > > > > 
> > > > 
> > > > I think the change would not have been necessary if all existing
> > > > products had implemented the current spec. And thats bad!!
> > > 
> > > The fault is in the incorrectly implemented products. The 
> obligation
> > > to change is on them, not the correctly implemented products.
> > > 
> > > 
> > > > > Hence, for LDAPv3 interoperability sake, the 
> specification needs
> > > > > to continue to MUST the use of ;binary for these 
> > attributes except
> > > > > where the client and server have a prior agreement that the
> > > > > OPTIONAL native encoding is to be used.
> > > > > 
> > > > 
> > > > As a general rule I think that continuing to mandate one 
> > particular
> > > > tranfer encoding just for certificates is wrong and leaves us 
> > > > in hole in
> > > > the future if new transfer encodings are developed, such as 
> > > XML (which
> > > > incidentally has now been standardised for certificates). 
> > > So how would
> > > > you propose to cater for XML encodings in the future?
> > > 
> > > One way is to provide an update to the Certificate syntax 
> > to say that
> > > values in the syntax MUST NOT be requested or returned without an
> > > explicit transfer option. We could also say that now, in 
> the current
> > > draft.
> > > 
> > > 
> > > > > Of course, one ought to wonder why any LDAPv3 implementation
> > > > > would support this OPTIONAL native encoding when the REQUIRED
> > > > > encoding is more broadly implemented and provides the same
> > > > > functionality.   It seems redundant to me.
> > > > > 
> > > > 
> > > > Clearly there is redundancy once a native encoding is 
> > > > specified and this
> > > > happens to be the same as the ;binary encoding, that is not 
> > > in doubt.
> > > > But who is to say which one is the redundant one? It could be 
> > > > the use of
> > > > ;binary. Maybe this transfer encoding is no longer needed 
> > by LDAPv3
> > > > (just being devil's advocate here :-)
> > > 
> > > Only about a third of the syntaxes I support have defined 
> > > LDAP-specific
> > > encodings. I need a standard way to represent attribute 
> > values of the
> > > other two thirds in LDAP and LDIF. The ;binary option serves that
> > > purpose. Now if someone were to mandate that all additional 
> > > LDAP syntaxes
> > > must use GSER for the LDAP-specific encoding then I wouldn't 
> > > need ;binary.
> > > 
> > > Regards,
> > > Steven
> > > 
> > > > 
> > > > David
> > > > 
> > > > 
> > > > > Kurt
> > > > 
> > > > -- 
> > > > 
> *****************************************************************
> > > > 
> > > > David W. Chadwick, BSc PhD
> > > > Professor of Information Systems Security
> > > > IS Institute, University of Salford, Salford M5 4WT
> > > > Tel: +44 161 295 5351  Fax +44 161 745 8169
> > > > Mobile: +44 77 96 44 7184
> > > > Email: D.W.Chadwick@salford.ac.uk
> > > > Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
> > > > Research Projects: http://sec.isi.salford.ac.uk
> > > > Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
> > > > X.500/LDAP Seminars: 
http://www.salford.ac.uk/its024/seminars.htm
> > > Entrust key validation string: MLJ9-DU5T-HV8J
> > > PGP Key ID is 0xBC238DE5
> > > 
> > > *****************************************************************
> > 
> 



From owner-ietf-ldapbis@OpenLDAP.org  Fri Apr  5 13:18:19 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA12053
	for <ldapbis-archive@lists.ietf.org>; Fri, 5 Apr 2002 13:18:18 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g35IH7J15735;
	Fri, 5 Apr 2002 18:17:07 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Fri, 5 Apr 2002 18:17:07 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g35IH6U15727
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 5 Apr 2002 18:17:06 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g35IH3C26301;
	Fri, 5 Apr 2002 18:17:03 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020405092657.026c3970@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Fri, 05 Apr 2002 10:17:14 -0800
To: "Ramsay, Ron" <Ron.Ramsay@ca.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: LDAPbis scope issue (Was: LDAP Certificate transfer syntax)
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>, PKIX <ietf-pkix@imc.org>
In-Reply-To: <A7E3A4B51615D511BCB6009027D0D18C045C29AD@aspams01.ca.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 06:38 PM 2002-04-04, Ramsay, Ron wrote:
>Quite apart from the meaning of "core", the last sentence above seems to be
>your way of offering carte blanche to the certificate work?

The PKIX WG has undertaken the engineering of the PKI
schema for LDAP specification.  LDAPbis is providing review.
No carte blanche is (nor can be) given.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Fri Apr  5 15:36:27 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA17683
	for <ldapbis-archive@lists.ietf.org>; Fri, 5 Apr 2002 15:36:27 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g35KZRF20972;
	Fri, 5 Apr 2002 20:35:28 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Fri, 5 Apr 2002 20:35:27 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g35KZOU20965
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 5 Apr 2002 20:35:25 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g35KZCC26866;
	Fri, 5 Apr 2002 20:35:12 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020405110554.027a9008@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Fri, 05 Apr 2002 12:35:23 -0800
To: David Chadwick <d.w.chadwick@salford.ac.uk>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAP Certificate transfer syntax
Cc: Mark Wahl <Mark.Wahl@sun.com>, steven.legg@adacel.com.au,
        "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>, "'PKIX'" <ietf-pkix@imc.org>
In-Reply-To: <3CACD9EE.1FF0F4EA@salford.ac.uk>
References: <001001c1db7f$751e3cd0$a518200a@osmium.mtwav.adacel.com.au>
 <3CAC5086.281238EE@salford.ac.uk>
 <3CACB80A.17AEDA19@sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I think adding a LDAP-specific "native" encoding to certificate
is a bad idea and will actually cause more problems than it
solves.

AFAIK, there are no interoperability problem between clients
and servers which adhere to the technical specification.  Things
are basically okay.

This I-D attempts to resolve interoperability problems between
non-conforming implementations and conforming implementations
by altering the specification to require conforming implementations
to accept and support the syntax and semantics of non-conforming
implementations.  However, there are a number of different
ways implementations have not conformed to the specification.

I have seen, in the wild, clients which:
	a) request "userCertificate" and expect the return of
	"userCertificate" using the (updated) LDAPv2 native
	string encoding.
	b) request "userCertificate" and expect the return of
	"userCertificate;binary" using binary transfer.
	c) request "*" and expect the return of
	"userCertificate;binary" using binary transfer.

This I-D caters to case a) in a manner which disallows servers
from supporting case b) and c).   I believe cases b) and c)
are actually for more common than case a).  I know of
implemenations which are liberal in accepting b) or c).  While
there may be implementations which are liberal in accepting
a), it should be noted that a) requires the server not to
be strict in what it sends.

I also note that b) and c) are generally the result of
the specification not be as clear as it should have been.
Where a) is the result of someone apply LDAPv2 syntax and
semantics to LDAPv3.

However, my objection to adding this I-D is that it that
client and server implementations of it won't interoperate
with existing server and client implementations which
conform to the existing specification.

I suggest we only make the minimal changes necessary to
resolve the issues which caused this schema to be removed
from the LDAP "core" technical specification.  It was
removed become of normative reference issues (e.g.,
2nd v 3rd v ... edition of X.500) and to align the
schema with that provided by X.509 (e.g., matching rules).

I note that it was NOT removed because of lack of multiple
independently developed implementations.  We need to
be careful to not to require changes to implementations
which have already demonstrated interoperability.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Fri Apr  5 18:29:38 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA08296
	for <ldapbis-archive@lists.ietf.org>; Fri, 5 Apr 2002 18:29:38 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g35NSUu30397;
	Fri, 5 Apr 2002 23:28:31 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Fri, 5 Apr 2002 23:28:30 +0000
Received: from SOTTMXS01.entrust.com (mail.entrust.com [216.191.251.35])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g35NSQU30376;
	Fri, 5 Apr 2002 23:28:26 GMT
Received: by SOTTMXS01.entrust.com with Internet Mail Service (5.5.2653.19)
	id <2LVTBGAJ>; Fri, 5 Apr 2002 18:28:00 -0500
Message-ID: <BFB44293CE13C9419B7AFE7CBC35B9390120D787@sottmxs08.entrust.com>
From: Christopher Oliva <Chris.Oliva@entrust.com>
To: "'Kurt D. Zeilenga'" <Kurt@OpenLDAP.org>,
        David Chadwick
	 <d.w.chadwick@salford.ac.uk>
Cc: Mark Wahl <Mark.Wahl@sun.com>, steven.legg@adacel.com.au,
        "'LDAP BIS'"
	 <ietf-ldapbis@OpenLDAP.org>,
        "'PKIX'" <ietf-pkix@imc.org>
Subject: RE: LDAP Certificate transfer syntax
Date: Fri, 5 Apr 2002 18:27:59 -0500 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C1DCF9.85BDF230"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1DCF9.85BDF230
Content-Type: text/plain;
	charset="iso-8859-1"


I don't believe there is agreement on your supposition that the 3 cases you
have outlined are non conformant.

Here are some observations on the three cases:

a) and b)
RFC 2252 clause 6.5 only mandates a binary encoding. As previously pointed
out by others, there is no absolute imperative that requires the use of the
";binary" option. The part referring to the userCertificiate;binary and
caCertificate;binary are merely examples of how one could generate the
binary encoding. If one were to include the use of the attribute
descriptions as part of the absolute imperative, this would make it
impossible to construct legal add and modify messages since this clause only
allows the requesting and returning of attributes.

I'm sure you are referring to the "MUST NOT expect" clause of RFC 2251
clause 4.1.5.1. Nowhere does the RFC explain how to apply this clause to an
implementation of the protocol specification (the precise impact of "MUST
NOT expect" in an implementation is undefined). The query is legal and
nothing prohibits the server from replying. If the intent had been to
disallow this query, the specification would have said something like " ...
if the client performs a query for an attribute by name without the ;binary
option, the server MUST NOT return the value in the binary encoding."

c)
Nowhere in the ldapv3 RFCs is there a description of the behavior for this
case. There is no justification to label this as non conformant.

Chris.

-----Original Message-----
From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
Sent: Friday, April 05, 2002 3:35 PM
To: David Chadwick
Cc: Mark Wahl; steven.legg@adacel.com.au; 'LDAP BIS'; 'PKIX'
Subject: Re: LDAP Certificate transfer syntax


I think adding a LDAP-specific "native" encoding to certificate
is a bad idea and will actually cause more problems than it
solves.

AFAIK, there are no interoperability problem between clients
and servers which adhere to the technical specification.  Things
are basically okay.

This I-D attempts to resolve interoperability problems between
non-conforming implementations and conforming implementations
by altering the specification to require conforming implementations
to accept and support the syntax and semantics of non-conforming
implementations.  However, there are a number of different
ways implementations have not conformed to the specification.

I have seen, in the wild, clients which:
	a) request "userCertificate" and expect the return of
	"userCertificate" using the (updated) LDAPv2 native
	string encoding.
	b) request "userCertificate" and expect the return of
	"userCertificate;binary" using binary transfer.
	c) request "*" and expect the return of
	"userCertificate;binary" using binary transfer.

This I-D caters to case a) in a manner which disallows servers
from supporting case b) and c).   I believe cases b) and c)
are actually for more common than case a).  I know of
implemenations which are liberal in accepting b) or c).  While
there may be implementations which are liberal in accepting
a), it should be noted that a) requires the server not to
be strict in what it sends.

I also note that b) and c) are generally the result of
the specification not be as clear as it should have been.
Where a) is the result of someone apply LDAPv2 syntax and
semantics to LDAPv3.

However, my objection to adding this I-D is that it that
client and server implementations of it won't interoperate
with existing server and client implementations which
conform to the existing specification.

I suggest we only make the minimal changes necessary to
resolve the issues which caused this schema to be removed
from the LDAP "core" technical specification.  It was
removed become of normative reference issues (e.g.,
2nd v 3rd v ... edition of X.500) and to align the
schema with that provided by X.509 (e.g., matching rules).

I note that it was NOT removed because of lack of multiple
independently developed implementations.  We need to
be careful to not to require changes to implementations
which have already demonstrated interoperability.

Kurt

------_=_NextPart_001_01C1DCF9.85BDF230
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: LDAP Certificate transfer syntax</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=3D2>I don't believe there is agreement on your =
supposition that the 3 cases you have outlined are non =
conformant.</FONT>
</P>

<P><FONT SIZE=3D2>Here are some observations on the three cases:</FONT>
</P>

<P><FONT SIZE=3D2>a) and b)</FONT>
<BR><FONT SIZE=3D2>RFC 2252 clause 6.5 only mandates a binary encoding. =
As previously pointed out by others, there is no absolute imperative =
that requires the use of the &quot;;binary&quot; option. The part =
referring to the userCertificiate;binary and caCertificate;binary are =
merely examples of how one could generate the binary encoding. If one =
were to include the use of the attribute descriptions as part of the =
absolute imperative, this would make it impossible to construct legal =
add and modify messages since this clause only allows the requesting =
and returning of attributes.</FONT></P>

<P><FONT SIZE=3D2>I'm sure you are referring to the &quot;MUST NOT =
expect&quot; clause of RFC 2251 clause 4.1.5.1. Nowhere does the RFC =
explain how to apply this clause to an implementation of the protocol =
specification (the precise impact of &quot;MUST NOT expect&quot; in an =
implementation is undefined). The query is legal and nothing prohibits =
the server from replying. If the intent had been to disallow this =
query, the specification would have said something like &quot; ... if =
the client performs a query for an attribute by name without the =
;binary option, the server MUST NOT return the value in the binary =
encoding.&quot;</FONT></P>

<P><FONT SIZE=3D2>c)</FONT>
<BR><FONT SIZE=3D2>Nowhere in the ldapv3 RFCs is there a description of =
the behavior for this case. There is no justification to label this as =
non conformant.</FONT></P>

<P><FONT SIZE=3D2>Chris.</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Kurt D. Zeilenga [<A =
HREF=3D"mailto:Kurt@OpenLDAP.org">mailto:Kurt@OpenLDAP.org</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Friday, April 05, 2002 3:35 PM</FONT>
<BR><FONT SIZE=3D2>To: David Chadwick</FONT>
<BR><FONT SIZE=3D2>Cc: Mark Wahl; steven.legg@adacel.com.au; 'LDAP =
BIS'; 'PKIX'</FONT>
<BR><FONT SIZE=3D2>Subject: Re: LDAP Certificate transfer syntax</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>I think adding a LDAP-specific &quot;native&quot; =
encoding to certificate</FONT>
<BR><FONT SIZE=3D2>is a bad idea and will actually cause more problems =
than it</FONT>
<BR><FONT SIZE=3D2>solves.</FONT>
</P>

<P><FONT SIZE=3D2>AFAIK, there are no interoperability problem between =
clients</FONT>
<BR><FONT SIZE=3D2>and servers which adhere to the technical =
specification.&nbsp; Things</FONT>
<BR><FONT SIZE=3D2>are basically okay.</FONT>
</P>

<P><FONT SIZE=3D2>This I-D attempts to resolve interoperability =
problems between</FONT>
<BR><FONT SIZE=3D2>non-conforming implementations and conforming =
implementations</FONT>
<BR><FONT SIZE=3D2>by altering the specification to require conforming =
implementations</FONT>
<BR><FONT SIZE=3D2>to accept and support the syntax and semantics of =
non-conforming</FONT>
<BR><FONT SIZE=3D2>implementations.&nbsp; However, there are a number =
of different</FONT>
<BR><FONT SIZE=3D2>ways implementations have not conformed to the =
specification.</FONT>
</P>

<P><FONT SIZE=3D2>I have seen, in the wild, clients which:</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>a) =
request &quot;userCertificate&quot; and expect the return of</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&quot;userCertificate&quot; using the (updated) LDAPv2 =
native</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>string =
encoding.</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>b) =
request &quot;userCertificate&quot; and expect the return of</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&quot;userCertificate;binary&quot; using binary =
transfer.</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2>c) =
request &quot;*&quot; and expect the return of</FONT>
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT =
SIZE=3D2>&quot;userCertificate;binary&quot; using binary =
transfer.</FONT>
</P>

<P><FONT SIZE=3D2>This I-D caters to case a) in a manner which =
disallows servers</FONT>
<BR><FONT SIZE=3D2>from supporting case b) and c).&nbsp;&nbsp; I =
believe cases b) and c)</FONT>
<BR><FONT SIZE=3D2>are actually for more common than case a).&nbsp; I =
know of</FONT>
<BR><FONT SIZE=3D2>implemenations which are liberal in accepting b) or =
c).&nbsp; While</FONT>
<BR><FONT SIZE=3D2>there may be implementations which are liberal in =
accepting</FONT>
<BR><FONT SIZE=3D2>a), it should be noted that a) requires the server =
not to</FONT>
<BR><FONT SIZE=3D2>be strict in what it sends.</FONT>
</P>

<P><FONT SIZE=3D2>I also note that b) and c) are generally the result =
of</FONT>
<BR><FONT SIZE=3D2>the specification not be as clear as it should have =
been.</FONT>
<BR><FONT SIZE=3D2>Where a) is the result of someone apply LDAPv2 =
syntax and</FONT>
<BR><FONT SIZE=3D2>semantics to LDAPv3.</FONT>
</P>

<P><FONT SIZE=3D2>However, my objection to adding this I-D is that it =
that</FONT>
<BR><FONT SIZE=3D2>client and server implementations of it won't =
interoperate</FONT>
<BR><FONT SIZE=3D2>with existing server and client implementations =
which</FONT>
<BR><FONT SIZE=3D2>conform to the existing specification.</FONT>
</P>

<P><FONT SIZE=3D2>I suggest we only make the minimal changes necessary =
to</FONT>
<BR><FONT SIZE=3D2>resolve the issues which caused this schema to be =
removed</FONT>
<BR><FONT SIZE=3D2>from the LDAP &quot;core&quot; technical =
specification.&nbsp; It was</FONT>
<BR><FONT SIZE=3D2>removed become of normative reference issues =
(e.g.,</FONT>
<BR><FONT SIZE=3D2>2nd v 3rd v ... edition of X.500) and to align =
the</FONT>
<BR><FONT SIZE=3D2>schema with that provided by X.509 (e.g., matching =
rules).</FONT>
</P>

<P><FONT SIZE=3D2>I note that it was NOT removed because of lack of =
multiple</FONT>
<BR><FONT SIZE=3D2>independently developed implementations.&nbsp; We =
need to</FONT>
<BR><FONT SIZE=3D2>be careful to not to require changes to =
implementations</FONT>
<BR><FONT SIZE=3D2>which have already demonstrated =
interoperability.</FONT>
</P>

<P><FONT SIZE=3D2>Kurt</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1DCF9.85BDF230--


From owner-ietf-ldapbis@OpenLDAP.org  Fri Apr  5 21:01:33 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA17418
	for <ldapbis-archive@odin.ietf.org>; Fri, 5 Apr 2002 21:01:31 -0500 (EST)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3620du33586;
	Sat, 6 Apr 2002 02:00:39 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Sat, 6 Apr 2002 02:00:39 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3620aU33579
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 6 Apr 2002 02:00:36 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g3620PC28174;
	Sat, 6 Apr 2002 02:00:25 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020405172059.01743dd8@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Fri, 05 Apr 2002 18:00:36 -0800
To: Christopher Oliva <Chris.Oliva@entrust.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: LDAP Certificate transfer syntax
Cc: David Chadwick <d.w.chadwick@salford.ac.uk>, Mark Wahl <Mark.Wahl@sun.com>,
        steven.legg@adacel.com.au, "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>,
        "'PKIX'" <ietf-pkix@imc.org>
In-Reply-To: <BFB44293CE13C9419B7AFE7CBC35B9390120D787@sottmxs08.entrust
 .com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 03:27 PM 2002-04-05, Christopher Oliva wrote:
>I don't believe there is agreement on your supposition that the 3 cases you have outlined are non conformant. 

Well, I rather not rehash the whole discussion, but I believe
each actually is.

>Here are some observations on the three cases: 
>
>a) and b) 
>RFC 2252 clause 6.5 only mandates a binary encoding.
>As previously pointed out by others, there is no absolute imperative that requires the use of the ";binary" option.

How else would you indicate that the "binary" encoding was
requested/used instead of the "string" encoding?


>The part referring to the userCertificiate;binary and caCertificate;binary are merely examples of how one could generate the binary encoding.
>If one were to include the use of the attribute descriptions as part of the absolute imperative, this would make it impossible to construct legal add and modify messages since this clause only allows the requesting and returning of attributes.

So, trimming the imperative down to its essence:
   Values in this syntax MUST only be transferred using the
   binary encoding.

RFC 2251 says:
   If the "binary" option is present in an AttributeDescription, it
   overrides any string-based encoding representation defined for that
   attribute in [5]. Instead the attribute is to be transferred as a
   binary value encoded using the Basic Encoding Rules [11]. 

That is, if ;binary is not present, the string-based ("native")
encoding is used.

>I'm sure you are referring to the "MUST NOT expect" clause of RFC 2251 
>clause 4.1.5.1.

No, I'm referring to the technical specification as a whole.
In particular the first paragraph of RFC 2251, 4.1.5.1 and
RFC 2252, 4.3.

>c) 
>Nowhere in the ldapv3 RFCs is there a description of the behavior for this case. There is no justification to label this as non conformant.

You are right in that the RFC does not explicit state this.

But it should be obvious that "CN;binary" should not be
returned unless "CN;binary" was requested.  Same goes
for userCertificate.



From owner-ietf-ldapbis@OpenLDAP.org  Mon Apr  8 21:11:44 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA12115
	for <ldapbis-archive@odin.ietf.org>; Mon, 8 Apr 2002 21:11:43 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3919xR43409;
	Tue, 9 Apr 2002 01:09:59 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 9 Apr 2002 01:09:59 +0000
Received: from SOTTMXS01.entrust.com (mail.entrust.com [216.191.251.35])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3919rU43390;
	Tue, 9 Apr 2002 01:09:54 GMT
Received: by SOTTMXS01.entrust.com with Internet Mail Service (5.5.2653.19)
	id <2RPWH92Q>; Mon, 8 Apr 2002 21:09:23 -0400
Message-ID: <BFB44293CE13C9419B7AFE7CBC35B9390120D78A@sottmxs08.entrust.com>
From: Christopher Oliva <Chris.Oliva@entrust.com>
To: "'Kurt D. Zeilenga'" <Kurt@OpenLDAP.org>
Cc: David Chadwick <d.w.chadwick@salford.ac.uk>,
        Mark Wahl
	 <Mark.Wahl@sun.com>, steven.legg@adacel.com.au,
        "'LDAP BIS'"
	 <ietf-ldapbis@OpenLDAP.org>,
        "'PKIX'" <ietf-pkix@imc.org>
Subject: RE: LDAP Certificate transfer syntax
Date: Mon, 8 Apr 2002 21:09:22 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C1DF63.2F153580"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1DF63.2F153580
Content-Type: text/plain;
	charset="iso-8859-1"

 
> >Here are some observations on the three cases: 
> >
> >a) and b) 
> >RFC 2252 clause 6.5 only mandates a binary encoding.
> >As previously pointed out by others, there is no absolute 
> imperative that requires the use of the ";binary" option.
> 
> How else would you indicate that the "binary" encoding was
> requested/used instead of the "string" encoding?

RFC 2252, 6.5 says that ".. values in this syntax MUST only be transferred
using the binary encoding ..". Also, no other encoding is provided therefore
only the binary encoding can be used. Although 4.3.1 lists two reasons to
use the binary encoding, it does not say that other valid reasons or
syntaxes cannot require the use of the binary encoding.

Since the use of ";binary" is not mandatory for the Certificate syntax, and
there is no other possible encoding, then the default encoding that is used
(that must be used) is the binary encoding. If the ";binary" option is used
to explicitly specify the binary encoding, this results in the same
encodings and this would also satisfy the RFC.

> >c) 
> >Nowhere in the ldapv3 RFCs is there a description of the 
> behavior for this case. There is no justification to label 
> this as non conformant.
> 
> You are right in that the RFC does not explicit state this.
> 
> But it should be obvious that "CN;binary" should not be
> returned unless "CN;binary" was requested.  Same goes
> for userCertificate.
> 

Attributes must be returned according to their syntax encoding requirements.
The Certificate syntax requires the encoding to be the binary encoding; in
this case, the use of ";binary" is a red herring.

Chris.

------_=_NextPart_001_01C1DF63.2F153580
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: LDAP Certificate transfer syntax</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>&nbsp;</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Here are some observations on the three =
cases: </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;a) and b) </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;RFC 2252 clause 6.5 only mandates a binary =
encoding.</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;As previously pointed out by others, there =
is no absolute </FONT>
<BR><FONT SIZE=3D2>&gt; imperative that requires the use of the =
&quot;;binary&quot; option.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; How else would you indicate that the =
&quot;binary&quot; encoding was</FONT>
<BR><FONT SIZE=3D2>&gt; requested/used instead of the =
&quot;string&quot; encoding?</FONT>
</P>

<P><FONT SIZE=3D2>RFC 2252, 6.5 says that &quot;.. values in this =
syntax MUST only be transferred using the binary encoding ..&quot;. =
Also, no other encoding is provided therefore only the binary encoding =
can be used. Although 4.3.1 lists two reasons to use the binary =
encoding, it does not say that other valid reasons or syntaxes cannot =
require the use of the binary encoding.</FONT></P>

<P><FONT SIZE=3D2>Since the use of &quot;;binary&quot; is not mandatory =
for the Certificate syntax, and there is no other possible encoding, =
then the default encoding that is used (that must be used) is the =
binary encoding. If the &quot;;binary&quot; option is used to =
explicitly specify the binary encoding, this results in the same =
encodings and this would also satisfy the RFC.</FONT></P>

<P><FONT SIZE=3D2>&gt; &gt;c) </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Nowhere in the ldapv3 RFCs is there a =
description of the </FONT>
<BR><FONT SIZE=3D2>&gt; behavior for this case. There is no =
justification to label </FONT>
<BR><FONT SIZE=3D2>&gt; this as non conformant.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; You are right in that the RFC does not explicit =
state this.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; But it should be obvious that =
&quot;CN;binary&quot; should not be</FONT>
<BR><FONT SIZE=3D2>&gt; returned unless &quot;CN;binary&quot; was =
requested.&nbsp; Same goes</FONT>
<BR><FONT SIZE=3D2>&gt; for userCertificate.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
</P>

<P><FONT SIZE=3D2>Attributes must be returned according to their syntax =
encoding requirements. The Certificate syntax requires the encoding to =
be the binary encoding; in this case, the use of &quot;;binary&quot; is =
a red herring.</FONT></P>

<P><FONT SIZE=3D2>Chris.</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1DF63.2F153580--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr  9 10:29:55 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA06617
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Apr 2002 10:29:54 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g39ESel87234;
	Tue, 9 Apr 2002 14:28:40 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 9 Apr 2002 14:28:40 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g39EScU87227
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Apr 2002 14:28:38 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g39ESAC47484;
	Tue, 9 Apr 2002 14:28:10 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020409091556.02621180@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 09 Apr 2002 09:28:23 -0500
To: Christopher Oliva <Chris.Oliva@entrust.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: LDAP Certificate transfer syntax
Cc: David Chadwick <d.w.chadwick@salford.ac.uk>, Mark Wahl <Mark.Wahl@sun.com>,
        steven.legg@adacel.com.au, "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>,
        "'PKIX'" <ietf-pkix@imc.org>
In-Reply-To: <BFB44293CE13C9419B7AFE7CBC35B9390120D78A@sottmxs08.entrust
 .com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 08:09 PM 2002-04-08, Christopher Oliva wrote:
>> >Here are some observations on the three cases: 
>> > 
>> >a) and b) 
>> >RFC 2252 clause 6.5 only mandates a binary encoding. 
>> >As previously pointed out by others, there is no absolute 
>> imperative that requires the use of the ";binary" option. 
>> 
>> How else would you indicate that the "binary" encoding was 
>> requested/used instead of the "string" encoding? 
>
>RFC 2252, 6.5 says that ".. values in this syntax MUST only be transferred using the binary encoding ..".

Yes.  And RFC 2251 makes it quite clear that ;binary is used
to indicate that the binary encoding was used instead of the
native string encoding.  If ;binary is not present, binary
transfer of the binary encoding is not used.

>Also, no other encoding is provided therefore only the binary encoding can be used.

Yes, so ;binary must be used.

>Although 4.3.1 lists two reasons to use the binary encoding, it does not say that other valid reasons or syntaxes cannot require the use of the binary encoding.

But RFC 2251 states when binary encoding is to be used and when
native encodings are to be used.

>Since the use of ";binary" is not mandatory for the Certificate syntax,

I disagree.

>and there is no other possible encoding, then the default encoding that is used (that must be used) is the binary encoding.

There is no such thing as the "default" encoding.  That term is
no where used in the specification.  There is the native string
encoding and there is the binary encoding.  Which one is used
is indicated by the absence or presence of transfer options.
If this wasn't the case, then clients would have no clue as to
what encoding was actually used.

>If the ";binary" option is used to explicitly specify the binary encoding, this results in the same encodings and this would also satisfy the RFC.

;binary must be present when the binary encoding is transferred.
;binary must not be present when the native encoding is transferred.

>> >c) 
>> >Nowhere in the ldapv3 RFCs is there a description of the 
>> behavior for this case. There is no justification to label 
>> this as non conformant. 
>> 
>> You are right in that the RFC does not explicit state this. 
>> 
>> But it should be obvious that "CN;binary" should not be 
>> returned unless "CN;binary" was requested.  Same goes 
>> for userCertificate. 
>> 
>
>Attributes must be returned according to their syntax encoding requirements. 

Values of a syntax can encoded multiple ways for transfer.  The
encoding used is always indicated by the presence or absence of
transfer options such as ;binary.



From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr  9 11:07:25 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08140
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Apr 2002 11:07:24 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g39F6V090082;
	Tue, 9 Apr 2002 15:06:31 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 9 Apr 2002 15:06:31 +0000
Received: from SOTTMXS01.entrust.com (mail.entrust.com [216.191.251.35])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g39F6QU90058;
	Tue, 9 Apr 2002 15:06:26 GMT
Received: by SOTTMXS01.entrust.com with Internet Mail Service (5.5.2653.19)
	id <2TBP0R8R>; Tue, 9 Apr 2002 11:06:00 -0400
Message-ID: <BFB44293CE13C9419B7AFE7CBC35B9390120D78E@sottmxs08.entrust.com>
From: Christopher Oliva <Chris.Oliva@entrust.com>
To: "'Kurt D. Zeilenga'" <Kurt@OpenLDAP.org>
Cc: David Chadwick <d.w.chadwick@salford.ac.uk>,
        Mark Wahl
	 <Mark.Wahl@sun.com>, steven.legg@adacel.com.au,
        "'LDAP BIS'"
	 <ietf-ldapbis@OpenLDAP.org>,
        "'PKIX'" <ietf-pkix@imc.org>
Subject: RE: LDAP Certificate transfer syntax
Date: Tue, 9 Apr 2002 11:05:58 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C1DFD8.0DF67470"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1DFD8.0DF67470
Content-Type: text/plain;
	charset="iso-8859-1"


> >> >a) and b) 
> >> >RFC 2252 clause 6.5 only mandates a binary encoding. 
> >> >As previously pointed out by others, there is no absolute 
> >> imperative that requires the use of the ";binary" option. 
> >> 
> >> How else would you indicate that the "binary" encoding was 
> >> requested/used instead of the "string" encoding? 
> >
> >RFC 2252, 6.5 says that ".. values in this syntax MUST only 
> be transferred using the binary encoding ..".
> 
> Yes.  And RFC 2251 makes it quite clear that ;binary is used
> to indicate that the binary encoding was used instead of the
> native string encoding.  If ;binary is not present, binary
> transfer of the binary encoding is not used.

There is no statement that says that if the ";binary" option is absent, that
the syntax encoding cannot be the binary encoding. All the RFC says is that
";binary" overrides a string encoding. But certificates do not have a string
encoding. Since there is no string encoding to override, the ";binary"
option is not necessary.

> >Although 4.3.1 lists two reasons to use the binary encoding, 
> it does not say that other valid reasons or syntaxes cannot 
> require the use of the binary encoding.
> 
> But RFC 2251 states when binary encoding is to be used and when
> native encodings are to be used.

All it says is that ";binary" can override a string encoding. It doesn't say
anything about "native" encodings or what happens when no string encoding is
defined. It also does not say what happens when a syntax definition requires
a specific encoding (such as the Certificate syntax mandating the binary
encoding).

The only guide is that the Certificate syntax requires the binary encoding.
Therefore even if ";binary" is not used, the binary encoding must be
generated.

> 
> >Since the use of ";binary" is not mandatory for the 
> Certificate syntax,
> 
> I disagree.

Others have stated their belief that ";binary" is not mandatory for
certificates. There is no text that supports an absolute imperative that
";binary" MUST be used.

> 
> >and there is no other possible encoding, then the default 
> encoding that is used (that must be used) is the binary encoding.
> 
> There is no such thing as the "default" encoding.  That term is
> no where used in the specification.  There is the native string
> encoding and there is the binary encoding.  Which one is used
> is indicated by the absence or presence of transfer options.
> If this wasn't the case, then clients would have no clue as to
> what encoding was actually used.

The term "string encoding" is not defined either. So it is not clear if the
RFC refers to a "native string" encoding or an encoding based on text
(printable) strings.

I note that for Directory String, the RFC does not explicitly identify the
"string encoding" either. But we understand that the encoding mandated for
Directory String is UTF8. The same logic can be applied to certificates.

> 
> >If the ";binary" option is used to explicitly specify the 
> binary encoding, this results in the same encodings and this 
> would also satisfy the RFC.
> 
> ;binary must be present when the binary encoding is transferred.
> ;binary must not be present when the native encoding is transferred.

Where is that stated in the RFC ? There are no such statements.

> 
> >> >c) 
> >> >Nowhere in the ldapv3 RFCs is there a description of the 
> >> behavior for this case. There is no justification to label 
> >> this as non conformant. 
> >> 
> >> You are right in that the RFC does not explicit state this. 
> >> 
> >> But it should be obvious that "CN;binary" should not be 
> >> returned unless "CN;binary" was requested.  Same goes 
> >> for userCertificate. 
> >> 
> >
> >Attributes must be returned according to their syntax 
> encoding requirements. 
> 
> Values of a syntax can encoded multiple ways for transfer.  The
> encoding used is always indicated by the presence or absence of
> transfer options such as ;binary.
> 

The ";binary" only specifies that a "string encoding" was overridden. But if
there is not string encoding to override, then the ";binary" is not required
(there is no text that says ;binary is required when there is no string
encoding to override).

Chris.

------_=_NextPart_001_01C1DFD8.0DF67470
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: LDAP Certificate transfer syntax</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=3D2>&gt; &gt;&gt; &gt;a) and b) </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; &gt;RFC 2252 clause 6.5 only mandates =
a binary encoding. </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; &gt;As previously pointed out by =
others, there is no absolute </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; imperative that requires the use of =
the &quot;;binary&quot; option. </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; How else would you indicate that the =
&quot;binary&quot; encoding was </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; requested/used instead of the =
&quot;string&quot; encoding? </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;RFC 2252, 6.5 says that &quot;.. values in =
this syntax MUST only </FONT>
<BR><FONT SIZE=3D2>&gt; be transferred using the binary encoding =
..&quot;.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Yes.&nbsp; And RFC 2251 makes it quite clear =
that ;binary is used</FONT>
<BR><FONT SIZE=3D2>&gt; to indicate that the binary encoding was used =
instead of the</FONT>
<BR><FONT SIZE=3D2>&gt; native string encoding.&nbsp; If ;binary is not =
present, binary</FONT>
<BR><FONT SIZE=3D2>&gt; transfer of the binary encoding is not =
used.</FONT>
</P>

<P><FONT SIZE=3D2>There is no statement that says that if the =
&quot;;binary&quot; option is absent, that the syntax encoding cannot =
be the binary encoding. All the RFC says is that &quot;;binary&quot; =
overrides a string encoding. But certificates do not have a string =
encoding. Since there is no string encoding to override, the =
&quot;;binary&quot; option is not necessary.</FONT></P>

<P><FONT SIZE=3D2>&gt; &gt;Although 4.3.1 lists two reasons to use the =
binary encoding, </FONT>
<BR><FONT SIZE=3D2>&gt; it does not say that other valid reasons or =
syntaxes cannot </FONT>
<BR><FONT SIZE=3D2>&gt; require the use of the binary encoding.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; But RFC 2251 states when binary encoding is to =
be used and when</FONT>
<BR><FONT SIZE=3D2>&gt; native encodings are to be used.</FONT>
</P>

<P><FONT SIZE=3D2>All it says is that &quot;;binary&quot; can override =
a string encoding. It doesn't say anything about &quot;native&quot; =
encodings or what happens when no string encoding is defined. It also =
does not say what happens when a syntax definition requires a specific =
encoding (such as the Certificate syntax mandating the binary =
encoding).</FONT></P>

<P><FONT SIZE=3D2>The only guide is that the Certificate syntax =
requires the binary encoding. Therefore even if &quot;;binary&quot; is =
not used, the binary encoding must be generated.</FONT></P>

<P><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Since the use of &quot;;binary&quot; is not =
mandatory for the </FONT>
<BR><FONT SIZE=3D2>&gt; Certificate syntax,</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I disagree.</FONT>
</P>

<P><FONT SIZE=3D2>Others have stated their belief that =
&quot;;binary&quot; is not mandatory for certificates. There is no text =
that supports an absolute imperative that &quot;;binary&quot; MUST be =
used.</FONT></P>

<P><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;and there is no other possible encoding, =
then the default </FONT>
<BR><FONT SIZE=3D2>&gt; encoding that is used (that must be used) is =
the binary encoding.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; There is no such thing as the =
&quot;default&quot; encoding.&nbsp; That term is</FONT>
<BR><FONT SIZE=3D2>&gt; no where used in the specification.&nbsp; There =
is the native string</FONT>
<BR><FONT SIZE=3D2>&gt; encoding and there is the binary =
encoding.&nbsp; Which one is used</FONT>
<BR><FONT SIZE=3D2>&gt; is indicated by the absence or presence of =
transfer options.</FONT>
<BR><FONT SIZE=3D2>&gt; If this wasn't the case, then clients would =
have no clue as to</FONT>
<BR><FONT SIZE=3D2>&gt; what encoding was actually used.</FONT>
</P>

<P><FONT SIZE=3D2>The term &quot;string encoding&quot; is not defined =
either. So it is not clear if the RFC refers to a &quot;native =
string&quot; encoding or an encoding based on text (printable) =
strings.</FONT></P>

<P><FONT SIZE=3D2>I note that for Directory String, the RFC does not =
explicitly identify the &quot;string encoding&quot; either. But we =
understand that the encoding mandated for Directory String is UTF8. The =
same logic can be applied to certificates.</FONT></P>

<P><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;If the &quot;;binary&quot; option is used =
to explicitly specify the </FONT>
<BR><FONT SIZE=3D2>&gt; binary encoding, this results in the same =
encodings and this </FONT>
<BR><FONT SIZE=3D2>&gt; would also satisfy the RFC.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; ;binary must be present when the binary =
encoding is transferred.</FONT>
<BR><FONT SIZE=3D2>&gt; ;binary must not be present when the native =
encoding is transferred.</FONT>
</P>

<P><FONT SIZE=3D2>Where is that stated in the RFC ? There are no such =
statements.</FONT>
</P>

<P><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; &gt;c) </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; &gt;Nowhere in the ldapv3 RFCs is =
there a description of the </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; behavior for this case. There is no =
justification to label </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; this as non conformant. </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; You are right in that the RFC does not =
explicit state this. </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; But it should be obvious that =
&quot;CN;binary&quot; should not be </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; returned unless &quot;CN;binary&quot; =
was requested.&nbsp; Same goes </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; for userCertificate. </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;</FONT>
<BR><FONT SIZE=3D2>&gt; &gt;Attributes must be returned according to =
their syntax </FONT>
<BR><FONT SIZE=3D2>&gt; encoding requirements. </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Values of a syntax can encoded multiple ways =
for transfer.&nbsp; The</FONT>
<BR><FONT SIZE=3D2>&gt; encoding used is always indicated by the =
presence or absence of</FONT>
<BR><FONT SIZE=3D2>&gt; transfer options such as ;binary.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
</P>

<P><FONT SIZE=3D2>The &quot;;binary&quot; only specifies that a =
&quot;string encoding&quot; was overridden. But if there is not string =
encoding to override, then the &quot;;binary&quot; is not required =
(there is no text that says ;binary is required when there is no string =
encoding to override).</FONT></P>

<P><FONT SIZE=3D2>Chris.</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1DFD8.0DF67470--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr  9 11:19:35 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA08640
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Apr 2002 11:19:35 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g39FIip91384;
	Tue, 9 Apr 2002 15:18:44 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 9 Apr 2002 15:18:44 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g39FIhU91377
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Apr 2002 15:18:43 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g39FITC47798;
	Tue, 9 Apr 2002 15:18:29 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020409101448.0260aa30@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 09 Apr 2002 10:18:42 -0500
To: Christopher Oliva <Chris.Oliva@entrust.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: LDAP Certificate transfer syntax
Cc: David Chadwick <d.w.chadwick@salford.ac.uk>, Mark Wahl <Mark.Wahl@sun.com>,
        steven.legg@adacel.com.au, "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>,
        "'PKIX'" <ietf-pkix@imc.org>
In-Reply-To: <BFB44293CE13C9419B7AFE7CBC35B9390120D78E@sottmxs08.entrust
 .com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 10:05 AM 2002-04-09, Christopher Oliva wrote:
>> ;binary must be present when the binary encoding is transferred. 
>> ;binary must not be present when the native encoding is transferred. 
>
>Where is that stated in the RFC ? There are no such statements. 

It is implied by the language of RFC 2251.  When a protocol
provides multiple possible transfer encodings for a particular
value, the protocol needs to provide a clear indication of
which transfer encoding is being used.  In LDAPv3, absence
and presence of transfer options is used to indicate which
transfer encoding is used. 

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr  9 11:46:44 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA09728
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Apr 2002 11:46:42 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g39FjAr92590;
	Tue, 9 Apr 2002 15:45:10 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 9 Apr 2002 15:45:10 +0000
Received: from gorilla.mchh.siemens.de (gorilla.mchh.siemens.de [194.138.158.18])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g39Fj7U92570;
	Tue, 9 Apr 2002 15:45:07 GMT
Received: from moody.mchh.siemens.de (mail2.mchh.siemens.de [194.138.158.226])
	by gorilla.mchh.siemens.de (8.9.3/8.9.3) with ESMTP id RAA00957;
	Tue, 9 Apr 2002 17:44:44 +0200 (MET DST)
Received: from mchh246e.demchh201e.icn.siemens.de ([139.21.200.56])
	by moody.mchh.siemens.de (8.9.1/8.9.1) with ESMTP id RAA20992;
	Tue, 9 Apr 2002 17:44:45 +0200 (MET DST)
Received: by MCHH246E with Internet Mail Service (5.5.2653.19)
	id <H22NPZ9Q>; Tue, 9 Apr 2002 17:44:44 +0200
Message-ID: <1D82815C322BD41196EA00508B951F7B01B40EB3@MCHH265E>
From: Fantou Patrick <patrick.fantou@icn.siemens.de>
To: "'Kurt D. Zeilenga'" <Kurt@OpenLDAP.org>,
        Christopher Oliva
	 <Chris.Oliva@entrust.com>
Cc: David Chadwick <d.w.chadwick@salford.ac.uk>,
        Mark Wahl
	 <Mark.Wahl@sun.com>, steven.legg@adacel.com.au,
        "'LDAP BIS'"
	 <ietf-ldapbis@OpenLDAP.org>,
        "'PKIX'" <ietf-pkix@imc.org>
Subject: AW: LDAP Certificate transfer syntax
Date: Tue, 9 Apr 2002 17:44:17 +0200 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by galois.openldap.org id g39Fj8U92571
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Hi Kurt and Chris,
 
I am not sure this discussion really brings us further.

There is no choice with some attributes like certificates.

I fully support David´s proposal:
"The use of the ;binary encoding option, i.e. by
requesting or returning the attributes with descriptions
"userCertificate;binary" or "caCertificate;binary" has no effect on the
transfer syntax."

Patrick

> -----Ursprüngliche Nachricht-----
> Von: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
> Gesendet: Dienstag, 9. April 2002 17:19
> An: Christopher Oliva
> Cc: David Chadwick; Mark Wahl; steven.legg@adacel.com.au; 'LDAP BIS';
> 'PKIX'
> Betreff: RE: LDAP Certificate transfer syntax
> 
> 
> At 10:05 AM 2002-04-09, Christopher Oliva wrote:
> >> ;binary must be present when the binary encoding is transferred. 
> >> ;binary must not be present when the native encoding is 
> transferred. 
> >
> >Where is that stated in the RFC ? There are no such statements. 
> 
> It is implied by the language of RFC 2251.  When a protocol
> provides multiple possible transfer encodings for a particular
> value, the protocol needs to provide a clear indication of
> which transfer encoding is being used.  In LDAPv3, absence
> and presence of transfer options is used to indicate which
> transfer encoding is used. 
> 
> Kurt
> 


From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr  9 12:18:06 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA11022
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Apr 2002 12:18:04 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g39GHE693707;
	Tue, 9 Apr 2002 16:17:14 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 9 Apr 2002 16:17:14 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g39GHCU93699
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 9 Apr 2002 16:17:12 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g39GGvC48003;
	Tue, 9 Apr 2002 16:16:58 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020409105853.02615830@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 09 Apr 2002 11:17:10 -0500
To: Fantou Patrick <patrick.fantou@icn.siemens.de>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: AW: LDAP Certificate transfer syntax
Cc: Christopher Oliva <Chris.Oliva@entrust.com>,
        David Chadwick <d.w.chadwick@salford.ac.uk>,
        Mark Wahl <Mark.Wahl@sun.com>, steven.legg@adacel.com.au,
        "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>, "'PKIX'" <ietf-pkix@imc.org>
In-Reply-To: <1D82815C322BD41196EA00508B951F7B01B40EB3@MCHH265E>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by galois.openldap.org id g39GHCU93701
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

At 10:44 AM 2002-04-09, Fantou Patrick wrote:
>I am not sure this discussion really brings us further.

I think this discussion is bringing us further along.  It has,
at least, boiled down this particular debate to one issue:
   whether or not ;binary is required when the binary
   encoding of a value is transferred in the protocol.

>There is no choice with some attributes like certificates.

I would have to agree that this is no choice.  But I think
we disagree on what that choice is.

One must transfer certificates in their binary encoding as
indicates by ;binary.   Note only is this the intent of RFC
2251, but we have demonstrated interoperability between
multiple independently developed implementations of this.

Others have argued that RFC 2251 could be read otherwise.
That's a good reason for clarifying the specification.  It's
a lousy reason for making changes which would cause implementations
which interoperate today to fail to interoperate with
implementations of the future specification.

>I fully support David´s proposal:
>"The use of the ;binary encoding option, i.e. by
>requesting or returning the attributes with descriptions
>"userCertificate;binary" or "caCertificate;binary" has no effect on the
>transfer syntax."

Noted.




From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr  9 16:01:36 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA19643
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Apr 2002 16:01:35 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g39K0Or03588;
	Tue, 9 Apr 2002 20:00:24 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 9 Apr 2002 20:00:24 +0000
Received: from developer2.cequs.com (developer2.cequs.com [66.200.51.22])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g39K0LU03565
	for <ietf-ldapbis@openldap.org>; Tue, 9 Apr 2002 20:00:21 GMT
Received: from cequs.com (localhost [127.0.0.1])
	by developer2.cequs.com (8.11.6+Sun/8.11.6) with ESMTP id g39Jvwv23334
	for <ietf-ldapbis@openldap.org>; Tue, 9 Apr 2002 15:57:59 -0400 (EDT)
Message-ID: <3CB347C6.7070104@cequs.com>
Date: Tue, 09 Apr 2002 15:57:58 -0400
From: Peter Bachman <peterb@cequs.com>
Reply-To: peterb@cequs.com
Organization: Cequs Inc.
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.9) Gecko/20020311
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: AW: LDAP Certificate transfer syntax
References: <5.1.0.14.0.20020409105853.02615830@127.0.0.1>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Kurt D. Zeilenga wrote:
> At 10:44 AM 2002-04-09, Fantou Patrick wrote:
> 
>>I am not sure this discussion really brings us further.
> 
> 
> I think this discussion is bringing us further along.  It has,
> at least, boiled down this particular debate to one issue:
>    whether or not ;binary is required when the binary
>    encoding of a value is transferred in the protocol.
> 
> 

Nicely put.


Perhaps there is a scoping problem with the requirements, and ;binary is 
either a good candidate to act as a proxy for those more general 
transfer requirements, or is a special use case which can't be neatly 
generalized to the other issues in the state machine, and thus could be 
disposed with in a specific fashion.

This would relate to Fantou's comment that there is "no choice with 
attributes like certificates", which to me would indicate that decision 
to encode in a particular way has dependencies outside the scope of the 
protocol, one of which is accepted practice.

If the following snnipet from RFC 2251 is true, then the core 
requirement or value behind ;options is not to facilitate 
interoperability, but to allow for flexibility, where agreement may not 
be forthcoming, with the understanding that community of "conforming" 
participants may need to negotiate for their own compatibility.

 > Any option could be associated with any AttributeType, although not
 >    all combinations may be supported by a server.

This of course adds to potential network overhead for negotiation by the 
implementors. If something breaks, which I remember happening with PPP 
and C023, the recourse is to go back to the state machine, and see what 
required message was not sent or replied to. But as Kurt said, is it 
required? There is a brokenness that comes from failing to ack, a 
brokeness that comes from making a requirement that does not belong, but 
a brokeness that comes from not implementing to an actual valid 
requirement is a change management issue.

If the client can probe the server with * and get back the actual 
supported AttributeTypes, why can't it decide what to do? What am
I missing here? A defined "example" for an "option" would have to get
some legs to be a requirement.

-pb







From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr  9 20:50:33 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA26690
	for <ldapbis-archive@lists.ietf.org>; Tue, 9 Apr 2002 20:50:33 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3A0nEN12497;
	Wed, 10 Apr 2002 00:49:14 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 10 Apr 2002 00:49:14 +0000
Received: from aspams52.ca.com (aspams52.cai.com [155.35.248.76])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3A0nBU12490
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Apr 2002 00:49:11 GMT
Received: by aspams52.ca.com with Internet Mail Service (5.5.2655.55)
	id <H5DCFQN1>; Wed, 10 Apr 2002 10:47:16 +1000
Message-ID: <A7E3A4B51615D511BCB6009027D0D18C04670D7F@aspams01.ca.com>
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: peterb@cequs.com, ietf-ldapbis@OpenLDAP.org
Subject: RE: AW: LDAP Certificate transfer syntax
Date: Wed, 10 Apr 2002 10:48:33 +1000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Nicely summarised.

For myself (and did I hear others express the same opinion), ;binary is
redundant. I think Kurt likes to retrieve DAP-encoded DNs with it, but this
seems a bit non-LDAP. Regarding certificates, it is always clear what the
encoding is, so ;binary is unnecessary.

I liked your point about specification by example!

Ron.

-----Original Message-----
From: Peter Bachman [mailto:peterb@cequs.com]
Sent: Wednesday, 10 April 2002 5:58
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: AW: LDAP Certificate transfer syntax


Kurt D. Zeilenga wrote:
> At 10:44 AM 2002-04-09, Fantou Patrick wrote:
> 
>>I am not sure this discussion really brings us further.
> 
> 
> I think this discussion is bringing us further along.  It has,
> at least, boiled down this particular debate to one issue:
>    whether or not ;binary is required when the binary
>    encoding of a value is transferred in the protocol.
> 
> 

Nicely put.


Perhaps there is a scoping problem with the requirements, and ;binary is 
either a good candidate to act as a proxy for those more general 
transfer requirements, or is a special use case which can't be neatly 
generalized to the other issues in the state machine, and thus could be 
disposed with in a specific fashion.

This would relate to Fantou's comment that there is "no choice with 
attributes like certificates", which to me would indicate that decision 
to encode in a particular way has dependencies outside the scope of the 
protocol, one of which is accepted practice.

If the following snnipet from RFC 2251 is true, then the core 
requirement or value behind ;options is not to facilitate 
interoperability, but to allow for flexibility, where agreement may not 
be forthcoming, with the understanding that community of "conforming" 
participants may need to negotiate for their own compatibility.

 > Any option could be associated with any AttributeType, although not
 >    all combinations may be supported by a server.

This of course adds to potential network overhead for negotiation by the 
implementors. If something breaks, which I remember happening with PPP 
and C023, the recourse is to go back to the state machine, and see what 
required message was not sent or replied to. But as Kurt said, is it 
required? There is a brokenness that comes from failing to ack, a 
brokeness that comes from making a requirement that does not belong, but 
a brokeness that comes from not implementing to an actual valid 
requirement is a change management issue.

If the client can probe the server with * and get back the actual 
supported AttributeTypes, why can't it decide what to do? What am
I missing here? A defined "example" for an "option" would have to get
some legs to be a requirement.

-pb






From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr 10 03:29:50 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA13019
	for <ldapbis-archive@lists.ietf.org>; Wed, 10 Apr 2002 03:29:49 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3A7SaL23311;
	Wed, 10 Apr 2002 07:28:36 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 10 Apr 2002 07:28:36 +0000
Received: from gorilla.mchh.siemens.de (gorilla.mchh.siemens.de [194.138.158.18])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3A7SXU23291;
	Wed, 10 Apr 2002 07:28:33 GMT
Received: from moody.mchh.siemens.de (mail2.mchh.siemens.de [194.138.158.226])
	by gorilla.mchh.siemens.de (8.9.3/8.9.3) with ESMTP id JAA12686;
	Wed, 10 Apr 2002 09:28:25 +0200 (MET DST)
Received: from mchh246e.demchh201e.icn.siemens.de ([139.21.200.56])
	by moody.mchh.siemens.de (8.9.1/8.9.1) with ESMTP id JAA05051;
	Wed, 10 Apr 2002 09:28:19 +0200 (MET DST)
Received: by MCHH246E with Internet Mail Service (5.5.2653.19)
	id <H22NQQD0>; Wed, 10 Apr 2002 09:28:18 +0200
Message-ID: <1D82815C322BD41196EA00508B951F7B01B40EB4@MCHH265E>
From: Fantou Patrick <patrick.fantou@icn.siemens.de>
To: "'Kurt D. Zeilenga'" <Kurt@OpenLDAP.org>,
        Fantou Patrick
	 <patrick.fantou@icn.siemens.de>
Cc: Christopher Oliva <Chris.Oliva@entrust.com>,
        David Chadwick
	 <d.w.chadwick@salford.ac.uk>,
        Mark Wahl <Mark.Wahl@sun.com>, steven.legg@adacel.com.au,
        "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>,
        "'PKIX'"
	 <ietf-pkix@imc.org>
Subject: AW: AW: LDAP Certificate transfer syntax
Date: Wed, 10 Apr 2002 09:27:52 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by galois.openldap.org id g3A7SYU23292
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Kurt, Peter and Ron, thanks for your comments.

Let me make more precise what i mean whith
*no choice* for *some attributes*

As Peter said, there are additional dependancies directly connected
with the attribute type and the fact that some attributes do not have any string encoding possibilities.

For some attributes like certificates, the only possibility as transfer encoding is the binary encoding.
It is what i mean with "there is no choice".
And in this case, as Ron says, ;binary is redundant.

Other comments in Kurt´s text.
Patrick


> -----Ursprüngliche Nachricht-----
> Von: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
> Gesendet: Dienstag, 9. April 2002 18:17
> An: Fantou Patrick
> Cc: Christopher Oliva; David Chadwick; Mark Wahl;
> steven.legg@adacel.com.au; 'LDAP BIS'; 'PKIX'
> Betreff: Re: AW: LDAP Certificate transfer syntax
> 
> 
> At 10:44 AM 2002-04-09, Fantou Patrick wrote:
> >I am not sure this discussion really brings us further.
> 
> I think this discussion is bringing us further along.  It has,
> at least, boiled down this particular debate to one issue:
>    whether or not ;binary is required when the binary
>    encoding of a value is transferred in the protocol.
> 

For certificates in any case the binary encoding has to be transferred in the protocol.
So the presence or absence of ;binary cannot change anything here.

> >There is no choice with some attributes like certificates.
> 
> I would have to agree that this is no choice.  But I think
> we disagree on what that choice is.
> 
The choice is string encoding, when it exists, or binary encoding.

> One must transfer certificates in their binary encoding as
> indicates by ;binary.   Note only is this the intent of RFC
> 2251, but we have demonstrated interoperability between
> multiple independently developed implementations of this.
> 

One must always transfer certificates in their binary encoding.
And  i am not sure that interoperability was demonstrated because 
;binary was implemented correctly, or because the presence or the
absence of ;binary was ignored by the servers for the attribute types which do not have
any string encoding.

P.F.


From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr 10 16:18:33 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA01730
	for <ldapbis-archive@odin.ietf.org>; Wed, 10 Apr 2002 16:18:32 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3AKHW562728;
	Wed, 10 Apr 2002 20:17:32 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 10 Apr 2002 20:17:32 +0000
Received: from mailout04.sul.t-online.com (mailout04.sul.t-online.com [194.25.134.18])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3AKHUU62721
	for <ietf-ldapbis@openldap.org>; Wed, 10 Apr 2002 20:17:30 GMT
Received: from fwd02.sul.t-online.de 
	by mailout04.sul.t-online.com with smtp 
	id 16vOKZ-0000l4-00; Wed, 10 Apr 2002 22:04:35 +0200
Received: from junker.stroeder.com (520010731148-0001@[217.1.20.37]) by fmrl02.sul.t-online.com
	with esmtp id 16vOKO-02NODIC; Wed, 10 Apr 2002 22:04:24 +0200
Received: from stroeder.com (junker [127.0.0.1])
	by junker.stroeder.com (Postfix) with ESMTP id 77B37157287
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Apr 2002 19:25:37 +0200 (CEST)
Message-ID: <3CB47591.3040506@stroeder.com>
Date: Wed, 10 Apr 2002 19:25:37 +0200
From: =?ISO-8859-1?Q?Michael_Str=F6der?= <michael@stroeder.com>
Reply-To: michael@stroeder.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020310
X-Accept-Language: de-DE, de, en
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: AW: LDAP Certificate transfer syntax
References: <A7E3A4B51615D511BCB6009027D0D18C04670D7F@aspams01.ca.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Sender: 520010731148-0001@t-dialin.net
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Ramsay, Ron wrote:
> 
> For myself (and did I hear others express the same opinion), ;binary is
> redundant. I think Kurt likes to retrieve DAP-encoded DNs with it, but this
> seems a bit non-LDAP. Regarding certificates, it is always clear what the
> encoding is, so ;binary is unnecessary.

I concur.

Ciao, Michael.



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr 10 17:37:26 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA03321
	for <ldapbis-archive@odin.ietf.org>; Wed, 10 Apr 2002 17:37:25 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3ALa3m68195;
	Wed, 10 Apr 2002 21:36:03 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 10 Apr 2002 21:36:03 +0000
Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3ALa0U68185
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Apr 2002 21:36:00 GMT
Received: from salford.ac.uk ([213.105.104.52]) by mta03-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020410213559.DZIV303.mta03-svc.ntlworld.com@salford.ac.uk>
          for <ietf-ldapbis@OpenLDAP.org>; Wed, 10 Apr 2002 22:35:59 +0100
Message-ID: <3CB4B137.AB81E2FB@salford.ac.uk>
Date: Wed, 10 Apr 2002 22:40:07 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: LDAP BIS <ietf-ldapbis@OpenLDAP.org>
Subject: ;binary Concensus?
Content-Type: multipart/mixed;
 boundary="------------A1509B9749A053CCDCBA48FC"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------A1509B9749A053CCDCBA48FC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Folks

There has been a lot of discussions on the use of ;binary, and clearly
two opposing view points. One camp think its use is unnecessary, the
other think it should be mandatory. I dont know how rough concensus is
measured by the IETF, but in terms of pure numbers more people voiced
support for unnecessary than for mandatory. But I would not say that a
concensus has been reached by any means, but maybe it was a very rough
concensus (maybe the chairs can comment on this). Anyway, I propose to
use the following text in the revised PKIX ID in the next revision.
Although the issue is not closed, I am not persuaded that ;binary should
be mandatory.


3.3  Certificate Syntax

A value in this transfer syntax is the binary octet string that results
from BER and/or DER-encoding of an X.509 public key certificate.  The
following string states the OID assigned to this syntax:

      ( 1.3.6.1.4.1.1466.115.121.1.8 DESC 'A BER and/or DER encoded
public key certificate' )

Servers must preserve values in this syntax exactly as given to them by
the client, when storing and retrieving certificates. 

Note. Due to the changes from X.509(1988) to X.509(1993) and subsequent
changes to the ASN.1 definition to support certificate extensions in
X.509(1997), no character string transfer syntax is defined for
certificates. The BNF notation in RFC 1778 [12] for "User Certificate"
MUST NOT be used. Values in this syntax MUST be transferred as BER
and/or DER encoded octets. The use of the ;binary encoding option, i.e.
by requesting or returning the attributes with descriptions
"userCertificate;binary" or "caCertificate;binary" has no effect on the
transfer syntax.  


David

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------A1509B9749A053CCDCBA48FC
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------A1509B9749A053CCDCBA48FC--



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr 10 20:54:12 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA06250
	for <ldapbis-archive@odin.ietf.org>; Wed, 10 Apr 2002 20:54:11 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3B0rD672191;
	Thu, 11 Apr 2002 00:53:13 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 11 Apr 2002 00:53:12 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3B0rBU72184
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Apr 2002 00:53:11 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g3B0r8C55923;
	Thu, 11 Apr 2002 00:53:08 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020410185220.01738508@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 10 Apr 2002 19:53:20 -0500
To: David Chadwick <d.w.chadwick@salford.ac.uk>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: ;binary Concensus?
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <3CB4B137.AB81E2FB@salford.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 04:40 PM 2002-04-10, David Chadwick wrote:
>There has been a lot of discussions on the use of ;binary, and clearly
>two opposing view points. One camp think its use is unnecessary, the
>other think it should be mandatory.

While I would not myself describe the "camps" in this manner,
I do agree there is contention and that "camps" appear to be
forming.

>I dont know how rough concensus is measured by the IETF

It's up to the chair(s) to gauge consensus.  At this point,
I gauge the LDAPbis WG has not having consensus in regards
to either the general specification of ;binary in
draft-ietf-ldapbis-protocol-xx.txt nor with the specific use
of ;binary in draft-ietf-pkix-ldap-schema-02.txt.

My current approach for addressing this contention was to see
if the WG can reach consensus regarding the ;binary
specification language of draft-ietf-ldapbis-protocol-xx.txt
and then draft-ietf-pkix-ldap-schema-02.txt to be specified
in a manner consistent with draft-ietf-ldapbis-protocol-xx.txt.
It is, of course, important that the language used to clarify
draft-ietf-ldapbis-protocol-xx.txt preserve the demonstrated
interoperability for LDAPv3 certificate access.

What I would like to see is the those in each camp, operating
as a design camp, offer text which provides a clear and concise
specification of ;binary,  e.g. replacement text for Section
4.1.5 of draft-ietf-ldapbis-protocol-07.txt, for the WG to
consider.

Design Team A will offer replacement text consistent with the
position that ;binary must be used to indicate the transfer
of binary encoded values.

Design Team B will offer replacement text consistent with the
position that the use of ;binary is not necessary to indicate
the transfer of binary encoded values.

These teams are expected small (2-4 persons) and to be short
lived (2-4 weeks).

Those who wish to participate in this work should contact
Bob and I.  Please note which team you would like to be on.
 From the set of volunteers, Bob and I will appoint a team lead
who will edit the text produced by the team.  If the number of
volunteers is too many for the design team to be effective,
Bob and I (with advice from the team lead) will select which
volunteers will serve on the team.  The membership of each
list will be posted as soon as that determination has been
made.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr 10 21:31:19 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA06650
	for <ldapbis-archive@odin.ietf.org>; Wed, 10 Apr 2002 21:31:18 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3B1UG172935;
	Thu, 11 Apr 2002 01:30:16 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 11 Apr 2002 01:30:16 +0000
Received: from aspams52.ca.com (aspams52.cai.com [155.35.248.76])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3B1UDU72915;
	Thu, 11 Apr 2002 01:30:13 GMT
Received: by aspams52.ca.com with Internet Mail Service (5.5.2655.55)
	id <H5DCFZYC>; Thu, 11 Apr 2002 11:28:13 +1000
Message-ID: <A7E3A4B51615D511BCB6009027D0D18C046CDD3D@aspams01.ca.com>
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>,
        David Chadwick
	 <d.w.chadwick@salford.ac.uk>
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>
Subject: RE: ;binary Concensus?
Date: Thu, 11 Apr 2002 11:29:28 +1000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2655.55)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Kurt,

I am starting to find myself in the third camp. This would involve removing
references to binary from teh core documents and creating an
(informational?) I-D to describe the ;binary optiion.

The effect on *-protocol-* (RFC 2251) would be to explain that
o Not all syntaxes have a displayable form and clients should use special
processing with attributes they don't recognise.

The ;binary I-D would explain that
o In the case where syntaxes allow an ASN.1 encoding, this encoding may be
requested with the ;binary transfer option;
o Servers need not support the ;binary option and should return an (unknown
attribute?) error if a client uses the option in a request and its use with
the attribute is not supported;
o If the server supports the option, and a client request specifies the
option on an attribute, the corresponding attribute in the response must
have the ;binary option and must be encoded in the ASN.1 encoding specified
for the syntax of the attribute;
o In the case a client requests the return of all attributes, a server
should not attach ;binary to any attributes returned - this may affect the
encoding choice for the attribute;
o If a client requests ;binary for an attribute that does not have an ASN.1
encoding defined, a server may generate a default ASN.1 encoding, ie wrap
the value as an octet string (deprecated - only included for compatibility
with RFC 2251).

Put me in Team C!

Ron.

-----Original Message-----
From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]
Sent: Thursday, 11 April 2002 10:53
To: David Chadwick
Cc: LDAP BIS
Subject: Re: ;binary Concensus?


At 04:40 PM 2002-04-10, David Chadwick wrote:
>There has been a lot of discussions on the use of ;binary, and clearly
>two opposing view points. One camp think its use is unnecessary, the
>other think it should be mandatory.

While I would not myself describe the "camps" in this manner,
I do agree there is contention and that "camps" appear to be
forming.

>I dont know how rough concensus is measured by the IETF

It's up to the chair(s) to gauge consensus.  At this point,
I gauge the LDAPbis WG has not having consensus in regards
to either the general specification of ;binary in
draft-ietf-ldapbis-protocol-xx.txt nor with the specific use
of ;binary in draft-ietf-pkix-ldap-schema-02.txt.

My current approach for addressing this contention was to see
if the WG can reach consensus regarding the ;binary
specification language of draft-ietf-ldapbis-protocol-xx.txt
and then draft-ietf-pkix-ldap-schema-02.txt to be specified
in a manner consistent with draft-ietf-ldapbis-protocol-xx.txt.
It is, of course, important that the language used to clarify
draft-ietf-ldapbis-protocol-xx.txt preserve the demonstrated
interoperability for LDAPv3 certificate access.

What I would like to see is the those in each camp, operating
as a design camp, offer text which provides a clear and concise
specification of ;binary,  e.g. replacement text for Section
4.1.5 of draft-ietf-ldapbis-protocol-07.txt, for the WG to
consider.

Design Team A will offer replacement text consistent with the
position that ;binary must be used to indicate the transfer
of binary encoded values.

Design Team B will offer replacement text consistent with the
position that the use of ;binary is not necessary to indicate
the transfer of binary encoded values.

These teams are expected small (2-4 persons) and to be short
lived (2-4 weeks).

Those who wish to participate in this work should contact
Bob and I.  Please note which team you would like to be on.
 From the set of volunteers, Bob and I will appoint a team lead
who will edit the text produced by the team.  If the number of
volunteers is too many for the design team to be effective,
Bob and I (with advice from the team lead) will select which
volunteers will serve on the team.  The membership of each
list will be posted as soon as that determination has been
made.

Kurt


From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr 10 21:47:07 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA07752
	for <ldapbis-archive@odin.ietf.org>; Wed, 10 Apr 2002 21:47:07 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3B1k4c73134;
	Thu, 11 Apr 2002 01:46:04 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 11 Apr 2002 01:46:04 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3B1k3U73127
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 11 Apr 2002 01:46:03 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g3B1jvC56109;
	Thu, 11 Apr 2002 01:45:58 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020410203946.02672278@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 10 Apr 2002 20:46:09 -0500
To: "Ramsay, Ron" <Ron.Ramsay@ca.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: RE: ;binary Concensus?
Cc: David Chadwick <d.w.chadwick@salford.ac.uk>,
        LDAP BIS <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <A7E3A4B51615D511BCB6009027D0D18C046CDD3D@aspams01.ca.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 08:29 PM 2002-04-10, Ramsay, Ron wrote:
>Put me in Team C!

You are, of course, welcomed to offer alternative text as
input to the WG.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr 11 03:00:32 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA21075
	for <ldapbis-archive@odin.ietf.org>; Thu, 11 Apr 2002 03:00:31 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3B6vHT80475;
	Thu, 11 Apr 2002 06:57:17 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 11 Apr 2002 06:57:17 +0000
Received: from hindon.hss.co.in ([202.54.26.202])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3B6vFU80468
	for <ietf-ldapbis@openldap.org>; Thu, 11 Apr 2002 06:57:15 GMT
Received: from sandesh.hss.hns.com (sandesh [139.85.242.35])
	by hindon.hss.co.in (8.10.0/8.10.0) with SMTP id g3B6w1319086
	for <ietf-ldapbis@openldap.org>; Thu, 11 Apr 2002 12:28:01 +0530 (IST)
Received: by sandesh.hss.hns.com(Lotus SMTP MTA v4.6.3  (733.2 10-16-1998))  id 65256B98.0025FC8D ; Thu, 11 Apr 2002 12:24:54 +0530
X-Lotus-FromDomain: HSS
From: sargupta@hss.hns.com
To: ietf-ldapbis@OpenLDAP.org
Message-ID: <65256B98.0025F98B.00@sandesh.hss.hns.com>
Date: Thu, 11 Apr 2002 12:27:21 +0530
Subject: Creating a New Schema
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>



Hi
   In case a new schema is to be created in Ldap
  -> Is it possible to create a new schema which is not inherited from any of
the base schemas?

 -> In case a new schema is created would the server code require a
change?(although it should not)

->Is there any good site where the procedure for creation of a new schema is
given.


Thanks
Sarika


"DISCLAIMER: This message is proprietary to Hughes Software Systems Limited
(HSS) and is intended solely for the use of the individual  to whom it is
addressed. It may contain  privileged or confidential information  and should
not be circulated or used for any purpose other than for what it is intended. If
you have received this message in error, please notify the originator
immediately. If you are not the intended recipient, you are notified that you
are strictly prohibited from using, copying, altering, or disclosing the
contents of this message. HSS accepts no responsibility for loss or damage
arising from the use of the information transmitted by this email including
damage from virus."







From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr 11 07:04:52 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA23964
	for <ldapbis-archive@lists.ietf.org>; Thu, 11 Apr 2002 07:04:52 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3BB3VQ93169;
	Thu, 11 Apr 2002 11:03:31 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Thu, 11 Apr 2002 11:03:31 +0000
Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3BB3SU93149;
	Thu, 11 Apr 2002 11:03:28 GMT
Received: from salford.ac.uk ([213.105.104.52]) by mta02-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020411110326.VPFO286.mta02-svc.ntlworld.com@salford.ac.uk>;
          Thu, 11 Apr 2002 12:03:26 +0100
Message-ID: <3CB56E77.EFE681FA@salford.ac.uk>
Date: Thu, 11 Apr 2002 12:07:35 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: LDAP BIS <ietf-ldapbis@OpenLDAP.org>
Subject: Re: ;binary Concensus?
References: <5.1.0.14.0.20020410185220.01738508@127.0.0.1>
Content-Type: multipart/mixed;
 boundary="------------7FA37D8F367FDAD99CD0AC00"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------7FA37D8F367FDAD99CD0AC00
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Kurt

I think this is a very good way forward. In particular it is very
important that use of ;binary is clarified in the protocol document. In
a previous message (4 April to Mark) I mentioned 8 cases that need to
clearly covered in the protocol document.

I would like to volunteer to work in either or both of the teams and
leave it up to you to decide in which team or teams I should contribute.

David


"Kurt D. Zeilenga" wrote:
> 
> At 04:40 PM 2002-04-10, David Chadwick wrote:
> >There has been a lot of discussions on the use of ;binary, and clearly
> >two opposing view points. One camp think its use is unnecessary, the
> >other think it should be mandatory.
> 
> While I would not myself describe the "camps" in this manner,
> I do agree there is contention and that "camps" appear to be
> forming.
> 
> >I dont know how rough concensus is measured by the IETF
> 
> It's up to the chair(s) to gauge consensus.  At this point,
> I gauge the LDAPbis WG has not having consensus in regards
> to either the general specification of ;binary in
> draft-ietf-ldapbis-protocol-xx.txt nor with the specific use
> of ;binary in draft-ietf-pkix-ldap-schema-02.txt.
> 
> My current approach for addressing this contention was to see
> if the WG can reach consensus regarding the ;binary
> specification language of draft-ietf-ldapbis-protocol-xx.txt
> and then draft-ietf-pkix-ldap-schema-02.txt to be specified
> in a manner consistent with draft-ietf-ldapbis-protocol-xx.txt.
> It is, of course, important that the language used to clarify
> draft-ietf-ldapbis-protocol-xx.txt preserve the demonstrated
> interoperability for LDAPv3 certificate access.
> 
> What I would like to see is the those in each camp, operating
> as a design camp, offer text which provides a clear and concise
> specification of ;binary,  e.g. replacement text for Section
> 4.1.5 of draft-ietf-ldapbis-protocol-07.txt, for the WG to
> consider.
> 
> Design Team A will offer replacement text consistent with the
> position that ;binary must be used to indicate the transfer
> of binary encoded values.
> 
> Design Team B will offer replacement text consistent with the
> position that the use of ;binary is not necessary to indicate
> the transfer of binary encoded values.
> 
> These teams are expected small (2-4 persons) and to be short
> lived (2-4 weeks).
> 
> Those who wish to participate in this work should contact
> Bob and I.  Please note which team you would like to be on.
>  From the set of volunteers, Bob and I will appoint a team lead
> who will edit the text produced by the team.  If the number of
> volunteers is too many for the design team to be effective,
> Bob and I (with advice from the team lead) will select which
> volunteers will serve on the team.  The membership of each
> list will be posted as soon as that determination has been
> made.
> 
> Kurt

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------7FA37D8F367FDAD99CD0AC00
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------7FA37D8F367FDAD99CD0AC00--



From owner-ietf-ldapbis@OpenLDAP.org  Thu Apr 11 21:40:44 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA27227
	for <ldapbis-archive@odin.ietf.org>; Thu, 11 Apr 2002 21:40:43 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3C1dAP33605;
	Fri, 12 Apr 2002 01:39:10 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Fri, 12 Apr 2002 01:39:10 +0000
Received: from SOTTMXS01.entrust.com (mail.entrust.com [216.191.251.35])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3C1d4U33584;
	Fri, 12 Apr 2002 01:39:05 GMT
Received: by SOTTMXS01.entrust.com with Internet Mail Service (5.5.2653.19)
	id <2XXCTJ4Z>; Thu, 11 Apr 2002 21:38:09 -0400
Message-ID: <BFB44293CE13C9419B7AFE7CBC35B9390120D79E@sottmxs08.entrust.com>
From: Christopher Oliva <Chris.Oliva@entrust.com>
To: "'David Chadwick'" <d.w.chadwick@salford.ac.uk>,
        "Kurt D. Zeilenga"
	 <Kurt@OpenLDAP.org>
Cc: LDAP BIS <ietf-ldapbis@OpenLDAP.org>
Subject: RE: ;binary Concensus?
Date: Thu, 11 Apr 2002 21:38:08 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C1E1C2.B2B9F180"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1E1C2.B2B9F180
Content-Type: text/plain;
	charset="iso-8859-1"

Hi,

Some questions/comments below.

> a previous message (4 April to Mark) I mentioned 8 cases that need to
> clearly covered in the protocol document.

I agree that the use cases for this are an important first step. It might be
a good idea to understand where the use cases differ between the two camps.
If there are more than two camps, it might help reduce the number of
conflicting opinions (my hope would be that if the use cases were agreed
upon, the specific text might be less of an issue).

> > It is, of course, important that the language used to clarify
> > draft-ietf-ldapbis-protocol-xx.txt preserve the demonstrated
> > interoperability for LDAPv3 certificate access.

Is there a way to know which interoperability has been demonstrated? I think
that the approach of camp A and B are both proven to work. So then, the
functionality of both should be preserved?

> > What I would like to see is the those in each camp, operating
> > as a design camp, offer text which provides a clear and concise
> > specification of ;binary,  e.g. replacement text for Section
> > 4.1.5 of draft-ietf-ldapbis-protocol-07.txt, for the WG to
> > consider.

Once the proposals are finished, how will they be evaluated? How will one be
chosen?

I've copied the use cases from David's original message (and renumbered
them) and also added a few of my own. I've indicated where I think there is
agreement.

---------------
The server might receive on an Add operation

1) an attribute whose LDAP syntax OID is known to the server and whose
native encoding is known e.g telephoneNumber

OK. This one is easy.

2) an attribute whose LDAP syntax OID is known and whose native
encoding is not defined e.g. certificates and Steven Legg's multiple
examples of ACI etc (although it seems a bit odd to allocate an LDAP
syntax OID and not define what it means)

This one is a problem. If the syntax mandates an encoding, is the ";option"
required? IMO it isn't. Mandating a transfer encoding is virtually the same
as defining the native encoding.

3) an attribute whose syntax OID is not known and is sent to the
server as ;binary e.g. foobar;binary

I would think the server should produce an error?

4) an attribute whose syntax OID is not known and is sent to the server
in a native encoding known to the client e.g foobar

I would think this would result in an error.

--------------

I believe these next 4 are in reference to what a client may receive from a
"*" search:

5) an attribute whose native encoding it knows, in native encoding e.g
telephoneNumber

No problem.

6) an attribute whose native encoding it knows, in ;binary encoding
e.g. telephoneNumber;binary

This should be invalid. If the native encoding is known, it should be used
to return the values. Maybe depends on the answer to (3)?

7) an attribute whose native encoding it does not know, in native
encoding e.g. foobar

I think this is legal. The client should expect this if it asks for "*". It
should discard/ignore anything it doesn't recognize.

8) an attribute whose native encoding it does not know, in binary
encoding e.g. foobar;binary

I suppose this is alot like case (7).

---------------

These are some I've added that describe a search request for a specific
attribute:

9) Request attribute 'x' with a known native encoding

OK. No problem.

10) Request attribute desc 'x' with no native encoding. The syntax
definition mandates a specific encoding 'y'.

This one is a problem. I believe the values should be returned encoded as
'y' and the attribute description may be either 'x;y' or 'x'.

11) Request attribute with 'x;y' with no defined native encoding. The syntax
definition mandates a specific encoding 'y'.

This is a bit less of a problem. Same as for (10).

12) Request attribute with 'x;y' with no defined native encoding. The syntax
definition mandates a specific encoding 'z'.

This one might be confusing. Since encoding 'z' is mandated, encoding 'y' is
illegal. An error should be generated ?

13) Request attribute desc 'x;y'. Native encoding defined and encoding 'y'
is known.

OK. No problem. 'x;y' is returned and values encoded as 'y'.

14) Request attribute desc 'x;y'. Native encoding defined but encoding 'y'
is not known.

The server should treat 'x' as an undefined attribute type.


Chris.

------_=_NextPart_001_01C1E1C2.B2B9F180
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: ;binary Concensus?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi,</FONT>
</P>

<P><FONT SIZE=3D2>Some questions/comments below.</FONT>
</P>

<P><FONT SIZE=3D2>&gt; a previous message (4 April to Mark) I mentioned =
8 cases that need to</FONT>
<BR><FONT SIZE=3D2>&gt; clearly covered in the protocol =
document.</FONT>
</P>

<P><FONT SIZE=3D2>I agree that the use cases for this are an important =
first step. It might be a good idea to understand where the use cases =
differ between the two camps. If there are more than two camps, it =
might help reduce the number of conflicting opinions (my hope would be =
that if the use cases were agreed upon, the specific text might be less =
of an issue).</FONT></P>

<P><FONT SIZE=3D2>&gt; &gt; It is, of course, important that the =
language used to clarify</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; draft-ietf-ldapbis-protocol-xx.txt =
preserve the demonstrated</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; interoperability for LDAPv3 certificate =
access.</FONT>
</P>

<P><FONT SIZE=3D2>Is there a way to know which interoperability has =
been demonstrated? I think that the approach of camp A and B are both =
proven to work. So then, the functionality of both should be =
preserved?</FONT></P>

<P><FONT SIZE=3D2>&gt; &gt; What I would like to see is the those in =
each camp, operating</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; as a design camp, offer text which =
provides a clear and concise</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; specification of ;binary,&nbsp; e.g. =
replacement text for Section</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; 4.1.5 of =
draft-ietf-ldapbis-protocol-07.txt, for the WG to</FONT>
<BR><FONT SIZE=3D2>&gt; &gt; consider.</FONT>
</P>

<P><FONT SIZE=3D2>Once the proposals are finished, how will they be =
evaluated? How will one be chosen?</FONT>
</P>

<P><FONT SIZE=3D2>I've copied the use cases from David's original =
message (and renumbered them) and also added a few of my own. I've =
indicated where I think there is agreement.</FONT></P>

<P><FONT SIZE=3D2>---------------</FONT>
<BR><FONT SIZE=3D2>The server might receive on an Add operation</FONT>
</P>

<P><FONT SIZE=3D2>1) an attribute whose LDAP syntax OID is known to the =
server and whose</FONT>
<BR><FONT SIZE=3D2>native encoding is known e.g telephoneNumber</FONT>
</P>

<P><FONT SIZE=3D2>OK. This one is easy.</FONT>
</P>

<P><FONT SIZE=3D2>2) an attribute whose LDAP syntax OID is known and =
whose native</FONT>
<BR><FONT SIZE=3D2>encoding is not defined e.g. certificates and Steven =
Legg's multiple</FONT>
<BR><FONT SIZE=3D2>examples of ACI etc (although it seems a bit odd to =
allocate an LDAP</FONT>
<BR><FONT SIZE=3D2>syntax OID and not define what it means)</FONT>
</P>

<P><FONT SIZE=3D2>This one is a problem. If the syntax mandates an =
encoding, is the &quot;;option&quot; required? IMO it isn't. Mandating =
a transfer encoding is virtually the same as defining the native =
encoding.</FONT></P>

<P><FONT SIZE=3D2>3) an attribute whose syntax OID is not known and is =
sent to the</FONT>
<BR><FONT SIZE=3D2>server as ;binary e.g. foobar;binary</FONT>
</P>

<P><FONT SIZE=3D2>I would think the server should produce an =
error?</FONT>
</P>

<P><FONT SIZE=3D2>4) an attribute whose syntax OID is not known and is =
sent to the server</FONT>
<BR><FONT SIZE=3D2>in a native encoding known to the client e.g =
foobar</FONT>
</P>

<P><FONT SIZE=3D2>I would think this would result in an error.</FONT>
</P>

<P><FONT SIZE=3D2>--------------</FONT>
</P>

<P><FONT SIZE=3D2>I believe these next 4 are in reference to what a =
client may receive from a &quot;*&quot; search:</FONT>
</P>

<P><FONT SIZE=3D2>5) an attribute whose native encoding it knows, in =
native encoding e.g</FONT>
<BR><FONT SIZE=3D2>telephoneNumber</FONT>
</P>

<P><FONT SIZE=3D2>No problem.</FONT>
</P>

<P><FONT SIZE=3D2>6) an attribute whose native encoding it knows, in =
;binary encoding</FONT>
<BR><FONT SIZE=3D2>e.g. telephoneNumber;binary</FONT>
</P>

<P><FONT SIZE=3D2>This should be invalid. If the native encoding is =
known, it should be used to return the values. Maybe depends on the =
answer to (3)?</FONT></P>

<P><FONT SIZE=3D2>7) an attribute whose native encoding it does not =
know, in native</FONT>
<BR><FONT SIZE=3D2>encoding e.g. foobar</FONT>
</P>

<P><FONT SIZE=3D2>I think this is legal. The client should expect this =
if it asks for &quot;*&quot;. It should discard/ignore anything it =
doesn't recognize.</FONT></P>

<P><FONT SIZE=3D2>8) an attribute whose native encoding it does not =
know, in binary</FONT>
<BR><FONT SIZE=3D2>encoding e.g. foobar;binary</FONT>
</P>

<P><FONT SIZE=3D2>I suppose this is alot like case (7).</FONT>
</P>

<P><FONT SIZE=3D2>---------------</FONT>
</P>

<P><FONT SIZE=3D2>These are some I've added that describe a search =
request for a specific attribute:</FONT>
</P>

<P><FONT SIZE=3D2>9) Request attribute 'x' with a known native =
encoding</FONT>
</P>

<P><FONT SIZE=3D2>OK. No problem.</FONT>
</P>

<P><FONT SIZE=3D2>10) Request attribute desc 'x' with no native =
encoding. The syntax definition mandates a specific encoding =
'y'.</FONT>
</P>

<P><FONT SIZE=3D2>This one is a problem. I believe the values should be =
returned encoded as 'y' and the attribute description may be either =
'x;y' or 'x'.</FONT></P>

<P><FONT SIZE=3D2>11) Request attribute with 'x;y' with no defined =
native encoding. The syntax definition mandates a specific encoding =
'y'.</FONT></P>

<P><FONT SIZE=3D2>This is a bit less of a problem. Same as for =
(10).</FONT>
</P>

<P><FONT SIZE=3D2>12) Request attribute with 'x;y' with no defined =
native encoding. The syntax definition mandates a specific encoding =
'z'.</FONT></P>

<P><FONT SIZE=3D2>This one might be confusing. Since encoding 'z' is =
mandated, encoding 'y' is illegal. An error should be generated =
?</FONT>
</P>

<P><FONT SIZE=3D2>13) Request attribute desc 'x;y'. Native encoding =
defined and encoding 'y' is known.</FONT>
</P>

<P><FONT SIZE=3D2>OK. No problem. 'x;y' is returned and values encoded =
as 'y'.</FONT>
</P>

<P><FONT SIZE=3D2>14) Request attribute desc 'x;y'. Native encoding =
defined but encoding 'y' is not known.</FONT>
</P>

<P><FONT SIZE=3D2>The server should treat 'x' as an undefined attribute =
type.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Chris.</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1E1C2.B2B9F180--


From owner-ietf-ldapbis@OpenLDAP.org  Fri Apr 12 12:08:07 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA11722
	for <ldapbis-archive@lists.ietf.org>; Fri, 12 Apr 2002 12:08:05 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3CG6TO77129;
	Fri, 12 Apr 2002 16:06:29 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Fri, 12 Apr 2002 16:06:29 +0000
Received: from SOTTMXS01.entrust.com (mail.entrust.com [216.191.251.35])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3CG6OU77103;
	Fri, 12 Apr 2002 16:06:24 GMT
Received: by SOTTMXS01.entrust.com with Internet Mail Service (5.5.2653.19)
	id <2ZHH95AB>; Fri, 12 Apr 2002 12:05:58 -0400
Message-ID: <BFB44293CE13C9419B7AFE7CBC35B9390120D7A4@sottmxs08.entrust.com>
From: Christopher Oliva <Chris.Oliva@entrust.com>
To: "'David Chadwick'" <d.w.chadwick@salford.ac.uk>,
        "'Kurt D. Zeilenga'"
	 <Kurt@OpenLDAP.org>
Cc: "'LDAP BIS'" <ietf-ldapbis@OpenLDAP.org>
Subject: use cases  (RE: ;binary Concensus?)
Date: Fri, 12 Apr 2002 12:05:58 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C1E23B.EECACAE0"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1E23B.EECACAE0
Content-Type: text/plain;
	charset="iso-8859-1"


I forgot two case:

15. The client requests attribute desc 'x'. There is no native encoding for
the syntax of attribute 'x' and there is no mandated transfer encoding in
that syntax definition.

First, I'd like to believe this type of syntax definition would not be
allowed. But if it were allowed, I'd think the server would return the
values in binary encoding and the associated attribute description would be
'x;binary'. This assumes that there is a valid ASN.1 abstract syntax
defined.

But the way RFC 2251 4.1.6 is written, it sounds like there is a need for an
extra octet string wrapper.

I would think the clarification would not require an extra octet string
wrapper. I don't think this is a problem in protocol-07.


16. The client requests attribute desc 'x;y'. There is no native encoding
for the syntax of attribute 'x' and there is no mandated transfer encoding
in that syntax definition.

RFC 2251 4.1.6 would seem to only allow the server to respond if y = binary.
Otherwise the same as case 15.

I think the clarification would allow 'y' to be anything. I believe this has
already been done in protocol-07.

Chris.


> I've copied the use cases from David's original message (and 
> renumbered them) and also added a few of my own. I've 
> indicated where I think there is agreement.
> 
> ---------------
> The server might receive on an Add operation
> 
> 1) an attribute whose LDAP syntax OID is known to the server and whose
> native encoding is known e.g telephoneNumber
> 
> OK. This one is easy.
> 
> 2) an attribute whose LDAP syntax OID is known and whose native
> encoding is not defined e.g. certificates and Steven Legg's multiple
> examples of ACI etc (although it seems a bit odd to allocate an LDAP
> syntax OID and not define what it means)
> 
> This one is a problem. If the syntax mandates an encoding, is 
> the ";option" required? IMO it isn't. Mandating a transfer 
> encoding is virtually the same as defining the native encoding.
> 
> 3) an attribute whose syntax OID is not known and is sent to the
> server as ;binary e.g. foobar;binary
> 
> I would think the server should produce an error?
> 
> 4) an attribute whose syntax OID is not known and is sent to 
> the server
> in a native encoding known to the client e.g foobar
> 
> I would think this would result in an error.
> 
> --------------
> 
> I believe these next 4 are in reference to what a client may 
> receive from a "*" search:
> 
> 5) an attribute whose native encoding it knows, in native encoding e.g
> telephoneNumber
> 
> No problem.
> 
> 6) an attribute whose native encoding it knows, in ;binary encoding
> e.g. telephoneNumber;binary
> 
> This should be invalid. If the native encoding is known, it 
> should be used to return the values. Maybe depends on the 
> answer to (3)?
> 
> 7) an attribute whose native encoding it does not know, in native
> encoding e.g. foobar
> 
> I think this is legal. The client should expect this if it 
> asks for "*". It should discard/ignore anything it doesn't recognize.
> 
> 8) an attribute whose native encoding it does not know, in binary
> encoding e.g. foobar;binary
> 
> I suppose this is alot like case (7).
> 
> ---------------
> 
> These are some I've added that describe a search request for 
> a specific attribute:
> 
> 9) Request attribute 'x' with a known native encoding
> 
> OK. No problem.
> 
> 10) Request attribute desc 'x' with no native encoding. The 
> syntax definition mandates a specific encoding 'y'.
> 
> This one is a problem. I believe the values should be 
> returned encoded as 'y' and the attribute description may be 
> either 'x;y' or 'x'.
> 
> 11) Request attribute with 'x;y' with no defined native 
> encoding. The syntax definition mandates a specific encoding 'y'.
> 
> This is a bit less of a problem. Same as for (10).
> 
> 12) Request attribute with 'x;y' with no defined native 
> encoding. The syntax definition mandates a specific encoding 'z'.
> 
> This one might be confusing. Since encoding 'z' is mandated, 
> encoding 'y' is illegal. An error should be generated ?
> 
> 13) Request attribute desc 'x;y'. Native encoding defined and 
> encoding 'y' is known.
> 
> OK. No problem. 'x;y' is returned and values encoded as 'y'.
> 
> 14) Request attribute desc 'x;y'. Native encoding defined but 
> encoding 'y' is not known.
> 
> The server should treat 'x' as an undefined attribute type.
> 
> 
> Chris.
> 

------_=_NextPart_001_01C1E23B.EECACAE0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>use cases  (RE: ;binary Concensus?)</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=3D2>I forgot two case:</FONT>
</P>

<P><FONT SIZE=3D2>15. The client requests attribute desc 'x'. There is =
no native encoding for the syntax of attribute 'x' and there is no =
mandated transfer encoding in that syntax definition.</FONT></P>

<P><FONT SIZE=3D2>First, I'd like to believe this type of syntax =
definition would not be allowed. But if it were allowed, I'd think the =
server would return the values in binary encoding and the associated =
attribute description would be 'x;binary'. This assumes that there is a =
valid ASN.1 abstract syntax defined.</FONT></P>

<P><FONT SIZE=3D2>But the way RFC 2251 4.1.6 is written, it sounds like =
there is a need for an extra octet string wrapper.</FONT>
</P>

<P><FONT SIZE=3D2>I would think the clarification would not require an =
extra octet string wrapper. I don't think this is a problem in =
protocol-07.</FONT></P>
<BR>

<P><FONT SIZE=3D2>16. The client requests attribute desc 'x;y'. There =
is no native encoding for the syntax of attribute 'x' and there is no =
mandated transfer encoding in that syntax definition.</FONT></P>

<P><FONT SIZE=3D2>RFC 2251 4.1.6 would seem to only allow the server to =
respond if y =3D binary. Otherwise the same as case 15.</FONT>
</P>

<P><FONT SIZE=3D2>I think the clarification would allow 'y' to be =
anything. I believe this has already been done in protocol-07.</FONT>
</P>

<P><FONT SIZE=3D2>Chris.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&gt; I've copied the use cases from David's original =
message (and </FONT>
<BR><FONT SIZE=3D2>&gt; renumbered them) and also added a few of my =
own. I've </FONT>
<BR><FONT SIZE=3D2>&gt; indicated where I think there is =
agreement.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; ---------------</FONT>
<BR><FONT SIZE=3D2>&gt; The server might receive on an Add =
operation</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 1) an attribute whose LDAP syntax OID is known =
to the server and whose</FONT>
<BR><FONT SIZE=3D2>&gt; native encoding is known e.g =
telephoneNumber</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; OK. This one is easy.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 2) an attribute whose LDAP syntax OID is known =
and whose native</FONT>
<BR><FONT SIZE=3D2>&gt; encoding is not defined e.g. certificates and =
Steven Legg's multiple</FONT>
<BR><FONT SIZE=3D2>&gt; examples of ACI etc (although it seems a bit =
odd to allocate an LDAP</FONT>
<BR><FONT SIZE=3D2>&gt; syntax OID and not define what it means)</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; This one is a problem. If the syntax mandates =
an encoding, is </FONT>
<BR><FONT SIZE=3D2>&gt; the &quot;;option&quot; required? IMO it isn't. =
Mandating a transfer </FONT>
<BR><FONT SIZE=3D2>&gt; encoding is virtually the same as defining the =
native encoding.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 3) an attribute whose syntax OID is not known =
and is sent to the</FONT>
<BR><FONT SIZE=3D2>&gt; server as ;binary e.g. foobar;binary</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I would think the server should produce an =
error?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 4) an attribute whose syntax OID is not known =
and is sent to </FONT>
<BR><FONT SIZE=3D2>&gt; the server</FONT>
<BR><FONT SIZE=3D2>&gt; in a native encoding known to the client e.g =
foobar</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I would think this would result in an =
error.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; --------------</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I believe these next 4 are in reference to what =
a client may </FONT>
<BR><FONT SIZE=3D2>&gt; receive from a &quot;*&quot; search:</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 5) an attribute whose native encoding it knows, =
in native encoding e.g</FONT>
<BR><FONT SIZE=3D2>&gt; telephoneNumber</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; No problem.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 6) an attribute whose native encoding it knows, =
in ;binary encoding</FONT>
<BR><FONT SIZE=3D2>&gt; e.g. telephoneNumber;binary</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; This should be invalid. If the native encoding =
is known, it </FONT>
<BR><FONT SIZE=3D2>&gt; should be used to return the values. Maybe =
depends on the </FONT>
<BR><FONT SIZE=3D2>&gt; answer to (3)?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 7) an attribute whose native encoding it does =
not know, in native</FONT>
<BR><FONT SIZE=3D2>&gt; encoding e.g. foobar</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I think this is legal. The client should expect =
this if it </FONT>
<BR><FONT SIZE=3D2>&gt; asks for &quot;*&quot;. It should =
discard/ignore anything it doesn't recognize.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 8) an attribute whose native encoding it does =
not know, in binary</FONT>
<BR><FONT SIZE=3D2>&gt; encoding e.g. foobar;binary</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I suppose this is alot like case (7).</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; ---------------</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; These are some I've added that describe a =
search request for </FONT>
<BR><FONT SIZE=3D2>&gt; a specific attribute:</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 9) Request attribute 'x' with a known native =
encoding</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; OK. No problem.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 10) Request attribute desc 'x' with no native =
encoding. The </FONT>
<BR><FONT SIZE=3D2>&gt; syntax definition mandates a specific encoding =
'y'.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; This one is a problem. I believe the values =
should be </FONT>
<BR><FONT SIZE=3D2>&gt; returned encoded as 'y' and the attribute =
description may be </FONT>
<BR><FONT SIZE=3D2>&gt; either 'x;y' or 'x'.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 11) Request attribute with 'x;y' with no =
defined native </FONT>
<BR><FONT SIZE=3D2>&gt; encoding. The syntax definition mandates a =
specific encoding 'y'.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; This is a bit less of a problem. Same as for =
(10).</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 12) Request attribute with 'x;y' with no =
defined native </FONT>
<BR><FONT SIZE=3D2>&gt; encoding. The syntax definition mandates a =
specific encoding 'z'.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; This one might be confusing. Since encoding 'z' =
is mandated, </FONT>
<BR><FONT SIZE=3D2>&gt; encoding 'y' is illegal. An error should be =
generated ?</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 13) Request attribute desc 'x;y'. Native =
encoding defined and </FONT>
<BR><FONT SIZE=3D2>&gt; encoding 'y' is known.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; OK. No problem. 'x;y' is returned and values =
encoded as 'y'.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; 14) Request attribute desc 'x;y'. Native =
encoding defined but </FONT>
<BR><FONT SIZE=3D2>&gt; encoding 'y' is not known.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; The server should treat 'x' as an undefined =
attribute type.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Chris.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1E23B.EECACAE0--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr 16 13:48:54 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA25550
	for <ldapbis-archive@lists.ietf.org>; Tue, 16 Apr 2002 13:48:54 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3GHlRn81287;
	Tue, 16 Apr 2002 17:47:27 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 16 Apr 2002 17:47:27 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3GHlPU81280
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 16 Apr 2002 17:47:25 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g3GHlHC91718;
	Tue, 16 Apr 2002 17:47:18 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020416104004.027c1050@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 16 Apr 2002 10:47:28 -0700
To: sargupta@hss.hns.com
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: Creating a New Schema
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <65256B98.0025F98B.00@sandesh.hss.hns.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

I believe your post would be more appropriately directed to a
general LDAP mailing list such as <ldap@umich.edu> or to
forums specific to the LDAP implementation you are using.

Please note that this list is for the LDAPbis WG discussions.
<http://www.ietf.org/html.charters/ldapbis-charter.html>.

Kurt, LDAPbis co-chair



From owner-ietf-ldapbis@OpenLDAP.org  Fri Apr 19 11:59:47 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA25164
	for <ldapbis-archive@lists.ietf.org>; Fri, 19 Apr 2002 11:59:47 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3JFw1D41399;
	Fri, 19 Apr 2002 15:58:01 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Fri, 19 Apr 2002 15:58:01 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3JFw0U41392
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Apr 2002 15:58:00 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g3JFvxC08549
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 19 Apr 2002 15:57:59 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020418152002.01719180@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Fri, 19 Apr 2002 08:58:07 -0700
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: ;binary design teams
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

Two design teams have been formed to offer replacement text
for Section 4.1.5 of draft-ietf-ldapbis-protocol-07.txt to the
WG.  A leader for each team has been chosen by the WG chairs from
the team members.  This leader will serve as editor of the
replacement text.  The design teams are expected to be
short-lived (2-4 weeks).

Design Team A will offer replacement text consistent with the
position that ;binary must be used to indicate the transfer
of binary encoded values.
	Mark Smith (Lead), Steven Legg, David Chadwick

Design Team B will offer replacement text consistent with the
position that the use of ;binary is not necessary to indicate
the transfer of binary encoded values.
	David Chadwick (Lead), Chris Oliva, Tim Hahn

Additionally, chairs will participate in design team discussions.

Kurt, LDAPbis co-chair





From owner-ietf-ldapbis@OpenLDAP.org  Sun Apr 21 14:00:44 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA29338
	for <ldapbis-archive@odin.ietf.org>; Sun, 21 Apr 2002 14:00:43 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3LHx7704228;
	Sun, 21 Apr 2002 17:59:07 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Sun, 21 Apr 2002 17:59:07 +0000
Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3LHx4U04208;
	Sun, 21 Apr 2002 17:59:04 GMT
Received: from salford.ac.uk ([213.107.140.76]) by mta06-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020421175903.VEYG20036.mta06-svc.ntlworld.com@salford.ac.uk>;
          Sun, 21 Apr 2002 18:59:03 +0100
Message-ID: <3CC2FEF0.F2328688@salford.ac.uk>
Date: Sun, 21 Apr 2002 19:03:28 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: ;binary design teams
References: <5.1.0.14.0.20020418152002.01719180@127.0.0.1>
Content-Type: multipart/mixed;
 boundary="------------82010758145106C63079C1E6"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------82010758145106C63079C1E6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



"Kurt D. Zeilenga" wrote:
> 
> Two design teams have been formed to offer replacement text
> for Section 4.1.5 of draft-ietf-ldapbis-protocol-07.txt to the
> WG.  A leader for each team has been chosen by the WG chairs from
> the team members.  This leader will serve as editor of the
> replacement text.  The design teams are expected to be
> short-lived (2-4 weeks).
> 
Kurt

I dont like the briefs of the design teams as they are diametrically
opposed to each other. I think that better briefs would be

> Design Team A will offer replacement text consistent with the

use of the ;binary description to indicate that attribute values MUST be
transferred as BER encoded octets

> position that ;binary must be used to indicate the transfer
> of binary encoded values.
>         Mark Smith (Lead), Steven Legg, David Chadwick
> 
> Design Team B will offer replacement text consistent with the
> position that the use of ;binary is not necessary to indicate
> the transfer of binary encoded values.

if implementations can determine by other means that BER encoding is to
be used

Regards

David

>         David Chadwick (Lead), Chris Oliva, Tim Hahn
> 
> Additionally, chairs will participate in design team discussions.
> 
> Kurt, LDAPbis co-chair

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------82010758145106C63079C1E6
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------82010758145106C63079C1E6--



From owner-ietf-ldapbis@OpenLDAP.org  Mon Apr 22 12:57:19 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA02410
	for <ldapbis-archive@lists.ietf.org>; Mon, 22 Apr 2002 12:57:19 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3MGtn942144;
	Mon, 22 Apr 2002 16:55:49 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Mon, 22 Apr 2002 16:55:49 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3MGtmU42137
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 22 Apr 2002 16:55:48 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g3MGtkC25217;
	Mon, 22 Apr 2002 16:55:46 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020422094031.02a51d58@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Mon, 22 Apr 2002 09:55:54 -0700
To: David Chadwick <d.w.chadwick@salford.ac.uk>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: ;binary design teams
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <3CC2FEF0.F2328688@salford.ac.uk>
References: <5.1.0.14.0.20020418152002.01719180@127.0.0.1>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 11:03 AM 2002-04-21, David Chadwick wrote:
>"Kurt D. Zeilenga" wrote:
>> Two design teams have been formed to offer replacement text
>> for Section 4.1.5 of draft-ietf-ldapbis-protocol-07.txt to the
>> WG.  A leader for each team has been chosen by the WG chairs from
>> the team members.  This leader will serve as editor of the
>> replacement text.  The design teams are expected to be
>> short-lived (2-4 weeks).
>
>I dont like the briefs of the design teams as they are diametrically
>opposed to each other. I think that better briefs would be

To clarify:

Each team should provide a replacement text for WG consideration
which is consistent with its view.  The description of the team
is informational in nature.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Mon Apr 22 13:08:59 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA02989
	for <ldapbis-archive@lists.ietf.org>; Mon, 22 Apr 2002 13:08:59 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3MH82I43193;
	Mon, 22 Apr 2002 17:08:02 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Mon, 22 Apr 2002 17:08:02 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3MH81U43186
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 22 Apr 2002 17:08:01 GMT
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 22 Apr 2002 11:07:38 -0600
Message-Id: <scc3eefa.071@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.0.1
Date: Mon, 22 Apr 2002 11:06:04 -0600
From: "Jim Sermersheim" <JIMSE@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Cc: "Cameron Morris" <CMorris@novell.com>,
        "Mark Hinckley" <MHINCKLEY@novell.com>
Subject: escapement of single quote in dstring
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Cathy,

We've noticed that the dstring ABNF has changed to require single
quotes to be escaped. This will break our implementation of the
LDAP-specific encoding of the Postal Address syntax. I imagine other
implementations will break as well.

If the new escapment was added so that certain elements of schema
syntaxes could be escaped, I suggest we instead refer the reader to
section 2.1 (next to last paragraph) and specify that single quotes
inside dstrings found in these schema syntaxes be escaped with the \xx
notation (as well as the backslash itself).

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Mon Apr 22 20:46:34 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA19379
	for <ldapbis-archive@lists.ietf.org>; Mon, 22 Apr 2002 20:46:33 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3N0jJQ65142;
	Tue, 23 Apr 2002 00:45:19 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 23 Apr 2002 00:45:19 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3N0jHU65122;
	Tue, 23 Apr 2002 00:45:17 GMT
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 22 Apr 2002 19:44:52 -0600
Message-Id: <scc46834.060@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.0.1
Date: Mon, 22 Apr 2002 18:43:29 -0600
From: "Jim Sermersheim" <JIMSE@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <Kurt@OpenLDAP.org>
Subject: Re: ;binary design teams
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I fall into team A except the case where a search attrs list requests
all user attributes. I'd be glad to help with some text. I believe the
case for allowing future LDAP-specific encodings for syntaxes missing
them is stronger than the case for a syntax's LDAP-specific encoding
being equal to its binary encoding when not specified.

Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 04/19/02 09:58AM >>>
Two design teams have been formed to offer replacement text
for Section 4.1.5 of draft-ietf-ldapbis-protocol-07.txt to the
WG.  A leader for each team has been chosen by the WG chairs from
the team members.  This leader will serve as editor of the
replacement text.  The design teams are expected to be
short-lived (2-4 weeks).

Design Team A will offer replacement text consistent with the
position that ;binary must be used to indicate the transfer
of binary encoded values.
	Mark Smith (Lead), Steven Legg, David Chadwick

Design Team B will offer replacement text consistent with the
position that the use of ;binary is not necessary to indicate
the transfer of binary encoded values.
	David Chadwick (Lead), Chris Oliva, Tim Hahn

Additionally, chairs will participate in design team discussions.

Kurt, LDAPbis co-chair





From owner-ietf-ldapbis@OpenLDAP.org  Mon Apr 22 20:56:27 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA19493
	for <ldapbis-archive@lists.ietf.org>; Mon, 22 Apr 2002 20:56:26 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3N0tei65520;
	Tue, 23 Apr 2002 00:55:40 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 23 Apr 2002 00:55:40 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3N0tbU65500;
	Tue, 23 Apr 2002 00:55:37 GMT
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 22 Apr 2002 19:55:13 -0600
Message-Id: <scc46aa1.050@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.0.1
Date: Mon, 22 Apr 2002 18:52:57 -0600
From: "Jim Sermersheim" <JIMSE@novell.com>
To: <Chris.Oliva@entrust.com>, <Kurt@OpenLDAP.org>,
        <d.w.chadwick@salford.ac.uk>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: use cases  (RE: ;binary Concensus?)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Chris, to your cases below, here are my opinions:

1) Agree. Attribute is encoded as LDAP-specific
2) I believe if there is no LDAP-specific encoding, ;binary must be
used here
3) How would this be inserted in the schema? Don't think we need to
discuss this.
4) Same as 3
5) Agree. LDAP-specific encoding is used
6) The server should return the value in LDAP-specific encoding, but
clients must be prepared to receive ;binary. (RFC 2252 4.3.1)
7) Agree (if we're talking about the client not knowing)
8) Same as 7
9) Same as 5
10) Unrecognized attribute. Ignored by server
11) No, should always be retuned as x;y
12) Unrecognized attribute. Ignored by server
13) Agree. Return as x;y
14) Agree. Unrecognized attribute. Ignored by server
15) Unrecognized attribute. Ignored by server
16) Unrecognized attribute. Ignored by server

>>> Christopher Oliva <Chris.Oliva@entrust.com> 04/12/02 10:05AM >>>

I forgot two case:

15. The client requests attribute desc 'x'. There is no native encoding
for
the syntax of attribute 'x' and there is no mandated transfer encoding
in
that syntax definition.

First, I'd like to believe this type of syntax definition would not be
allowed. But if it were allowed, I'd think the server would return the
values in binary encoding and the associated attribute description
would be
'x;binary'. This assumes that there is a valid ASN.1 abstract syntax
defined.

But the way RFC 2251 4.1.6 is written, it sounds like there is a need
for an
extra octet string wrapper.

I would think the clarification would not require an extra octet
string
wrapper. I don't think this is a problem in protocol-07.


16. The client requests attribute desc 'x;y'. There is no native
encoding
for the syntax of attribute 'x' and there is no mandated transfer
encoding
in that syntax definition.

RFC 2251 4.1.6 would seem to only allow the server to respond if y =
binary.
Otherwise the same as case 15.

I think the clarification would allow 'y' to be anything. I believe
this has
already been done in protocol-07.

Chris.


> I've copied the use cases from David's original message (and 
> renumbered them) and also added a few of my own. I've 
> indicated where I think there is agreement.
> 
> ---------------
> The server might receive on an Add operation
> 
> 1) an attribute whose LDAP syntax OID is known to the server and
whose
> native encoding is known e.g telephoneNumber
> 
> OK. This one is easy.
> 
> 2) an attribute whose LDAP syntax OID is known and whose native
> encoding is not defined e.g. certificates and Steven Legg's multiple
> examples of ACI etc (although it seems a bit odd to allocate an LDAP
> syntax OID and not define what it means)
> 
> This one is a problem. If the syntax mandates an encoding, is 
> the ";option" required? IMO it isn't. Mandating a transfer 
> encoding is virtually the same as defining the native encoding.
> 
> 3) an attribute whose syntax OID is not known and is sent to the
> server as ;binary e.g. foobar;binary
> 
> I would think the server should produce an error?
> 
> 4) an attribute whose syntax OID is not known and is sent to 
> the server
> in a native encoding known to the client e.g foobar
> 
> I would think this would result in an error.
> 
> --------------
> 
> I believe these next 4 are in reference to what a client may 
> receive from a "*" search:
> 
> 5) an attribute whose native encoding it knows, in native encoding
e.g
> telephoneNumber
> 
> No problem.
> 
> 6) an attribute whose native encoding it knows, in ;binary encoding
> e.g. telephoneNumber;binary
> 
> This should be invalid. If the native encoding is known, it 
> should be used to return the values. Maybe depends on the 
> answer to (3)?
> 
> 7) an attribute whose native encoding it does not know, in native
> encoding e.g. foobar
> 
> I think this is legal. The client should expect this if it 
> asks for "*". It should discard/ignore anything it doesn't
recognize.
> 
> 8) an attribute whose native encoding it does not know, in binary
> encoding e.g. foobar;binary
> 
> I suppose this is alot like case (7).
> 
> ---------------
> 
> These are some I've added that describe a search request for 
> a specific attribute:
> 
> 9) Request attribute 'x' with a known native encoding
> 
> OK. No problem.
> 
> 10) Request attribute desc 'x' with no native encoding. The 
> syntax definition mandates a specific encoding 'y'.
> 
> This one is a problem. I believe the values should be 
> returned encoded as 'y' and the attribute description may be 
> either 'x;y' or 'x'.
> 
> 11) Request attribute with 'x;y' with no defined native 
> encoding. The syntax definition mandates a specific encoding 'y'.
> 
> This is a bit less of a problem. Same as for (10).
> 
> 12) Request attribute with 'x;y' with no defined native 
> encoding. The syntax definition mandates a specific encoding 'z'.
> 
> This one might be confusing. Since encoding 'z' is mandated, 
> encoding 'y' is illegal. An error should be generated ?
> 
> 13) Request attribute desc 'x;y'. Native encoding defined and 
> encoding 'y' is known.
> 
> OK. No problem. 'x;y' is returned and values encoded as 'y'.
> 
> 14) Request attribute desc 'x;y'. Native encoding defined but 
> encoding 'y' is not known.
> 
> The server should treat 'x' as an undefined attribute type.
> 
> 
> Chris.
> 


From owner-ietf-ldapbis@OpenLDAP.org  Mon Apr 22 22:10:00 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA21708
	for <ldapbis-archive@lists.ietf.org>; Mon, 22 Apr 2002 22:10:00 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3N28t867372;
	Tue, 23 Apr 2002 02:08:55 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 23 Apr 2002 02:08:55 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3N28rU67364
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 23 Apr 2002 02:08:54 GMT
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 22 Apr 2002 21:08:29 -0600
Message-Id: <scc47bcd.025@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.0.1
Date: Mon, 22 Apr 2002 18:58:09 -0600
From: "Jim Sermersheim" <JIMSE@novell.com>
To: "Jim Sermersheim" <JIMSE@novell.com>, <ietf-ldapbis@OpenLDAP.org>
Cc: "Cameron Morris" <CMorris.PRV-1.PROVO@novell.com>,
        "Mark Hinckley" <MHINCKLEY@novell.com>
Subject: Re: escapement of single quote in dstring
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Actually, what I would do is add the escapement note to qdstring (that
is where we define the ' separator). Similarly, qdstrings needs a note
on escaping the right paren.

Jim

>>> "Jim Sermersheim" <JIMSE@novell.com> 04/22/02 11:06AM >>>
Cathy,

We've noticed that the dstring ABNF has changed to require single
quotes to be escaped. This will break our implementation of the
LDAP-specific encoding of the Postal Address syntax. I imagine other
implementations will break as well.

If the new escapment was added so that certain elements of schema
syntaxes could be escaped, I suggest we instead refer the reader to
section 2.1 (next to last paragraph) and specify that single quotes
inside dstrings found in these schema syntaxes be escaped with the \xx
notation (as well as the backslash itself).

Jim


From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr 23 04:42:22 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA09457
	for <ldapbis-archive@lists.ietf.org>; Tue, 23 Apr 2002 04:42:22 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3N8fCs81462;
	Tue, 23 Apr 2002 08:41:12 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 23 Apr 2002 08:41:12 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3N8fAU81455
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 23 Apr 2002 08:41:11 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g3N8f4C28529;
	Tue, 23 Apr 2002 08:41:04 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020423013551.01854200@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 23 Apr 2002 01:41:11 -0700
To: "Jim Sermersheim" <JIMSE@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: escapement of single quote in dstring
Cc: "Jim Sermersheim" <JIMSE@novell.com>, <ietf-ldapbis@OpenLDAP.org>,
        "Cameron Morris" <CMorris.PRV-1.PROVO@novell.com>,
        "Mark Hinckley" <MHINCKLEY@novell.com>
In-Reply-To: <scc47bcd.025@prv-mail20.provo.novell.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 05:58 PM 2002-04-22, Jim Sermersheim wrote:
>Actually, what I would do is add the escapement note to qdstring (that
>is where we define the ' separator). Similarly, qdstrings needs a note
>on escaping the right paren.

In general, I believe that escaping of arbitrary strings should
be consistent consistent with RFC 2252, 4.3.  This is the
approach I've used for qdstring in draft-ietf-ldapbis-models.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr 23 04:43:50 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA09476
	for <ldapbis-archive@lists.ietf.org>; Tue, 23 Apr 2002 04:43:49 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3N8h1G81602;
	Tue, 23 Apr 2002 08:43:01 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 23 Apr 2002 08:43:01 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3N8h0U81595
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 23 Apr 2002 08:43:00 GMT
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.11.3/8.11.1/Boolean/Hub) with ESMTP id g3N8gxC28539;
	Tue, 23 Apr 2002 08:42:59 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.1.0.14.0.20020423014118.029d0848@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 23 Apr 2002 01:43:06 -0700
To: "Jim Sermersheim" <JIMSE@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: ;binary design teams
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <scc46834.060@prv-mail20.provo.novell.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

At 05:43 PM 2002-04-22, Jim Sermersheim wrote:
>I fall into team A except the case where a search attrs list requests
>all user attributes. I'd be glad to help with some text. I believe the
>case for allowing future LDAP-specific encodings for syntaxes missing
>them is stronger than the case for a syntax's LDAP-specific encoding
>being equal to its binary encoding when not specified.

Jim has been added to design team A.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr 23 12:13:02 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA25476
	for <ldapbis-archive@lists.ietf.org>; Tue, 23 Apr 2002 12:13:01 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3NGBpA07016;
	Tue, 23 Apr 2002 16:11:51 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 23 Apr 2002 16:11:51 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3NGBnU06993;
	Tue, 23 Apr 2002 16:11:49 GMT
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Tue, 23 Apr 2002 12:11:18 -0600
Message-Id: <scc54f66.005@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.0.1
Date: Tue, 23 Apr 2002 10:08:54 -0600
From: "Jim Sermersheim" <JIMSE@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: "Cameron Morris" <CMorris.PRV-1.PROVO@novell.com>,
        "Mark Hinckley" <MHINCKLEY@novell.com>, <ietf-ldapbis@OpenLDAP.org>
Subject: Re: escapement of single quote in dstring
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

I should have looked there. I agree with the escaping mechanism (\xx),
but I still think it cannot be applied to dstring unless we are careful
to not use dstring in syntaxes like postalAddress. We should either 
- define a new, non-escaped dstring
- leave dstring as UTF8 and create an edstring (escaped dstring)
- leave dstring as UTF8 and apply the escapment rules to qdstring

Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 04/23/02 02:41AM >>>
At 05:58 PM 2002-04-22, Jim Sermersheim wrote:
>Actually, what I would do is add the escapement note to qdstring
(that
>is where we define the ' separator). Similarly, qdstrings needs a
note
>on escaping the right paren.

In general, I believe that escaping of arbitrary strings should
be consistent consistent with RFC 2252, 4.3.  This is the
approach I've used for qdstring in draft-ietf-ldapbis-models.

Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr 23 14:31:41 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA00914
	for <ldapbis-archive@lists.ietf.org>; Tue, 23 Apr 2002 14:31:40 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3NIUWK12636;
	Tue, 23 Apr 2002 18:30:32 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 23 Apr 2002 18:30:32 +0000
Received: from SOTTMXS01.entrust.com (mail.entrust.com [216.191.251.35])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3NIUQU12606;
	Tue, 23 Apr 2002 18:30:26 GMT
Received: by SOTTMXS01.entrust.com with Internet Mail Service (5.5.2653.19)
	id <JQA12MFL>; Tue, 23 Apr 2002 14:29:50 -0400
Message-ID: <BFB44293CE13C9419B7AFE7CBC35B9390120D7D3@sottmxs08.entrust.com>
From: Christopher Oliva <Chris.Oliva@entrust.com>
To: "'Jim Sermersheim'" <JIMSE@novell.com>, ietf-ldapbis@OpenLDAP.org,
        Kurt@OpenLDAP.org
Subject: RE: ;binary design teams
Date: Tue, 23 Apr 2002 14:29:49 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C1EAF4.DA0B2D90"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1EAF4.DA0B2D90
Content-Type: text/plain;
	charset="iso-8859-1"


AFAIK, Team B has not indicated that the native encoding automatically
becomes the binary encoding when the native encoding is otherwise not
specified. The key difference with certificates is that RFC 2252 mandates
that the binary encoding should be used to transfer certificate values. The
key question is if a syntax definition clearly states a specific encoding
must be used, does this also mean that the corresponding ";option" must be
used to request (and reply with) that encoding? An attribute syntax
definition that does not mandate a specific transfer encoding does not fall
into that category.

I suppose a second issue is this: can a native encoding be the ASN.1 BER
encoding and therefore not require the use of the ";binary" option ?
Personally, I think it can.

A third issue you have brought up is this: since you can define new native
encodings where an RFC previously did not define a native encoding for a
syntax, why can't this new native encoding be defined as a BER encoding of
the abstract ASN.1 syntax?

Chris.


> -----Original Message-----
> From: Jim Sermersheim [mailto:JIMSE@novell.com]
> Sent: Monday, April 22, 2002 8:43 PM
> To: ietf-ldapbis@OpenLDAP.org; Kurt@OpenLDAP.org
> Subject: Re: ;binary design teams
> 
> 
> I fall into team A except the case where a search attrs list requests
> all user attributes. I'd be glad to help with some text. I believe the
> case for allowing future LDAP-specific encodings for syntaxes missing
> them is stronger than the case for a syntax's LDAP-specific encoding
> being equal to its binary encoding when not specified.
> 
> Jim
> 
> >>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 04/19/02 09:58AM >>>
> Two design teams have been formed to offer replacement text
> for Section 4.1.5 of draft-ietf-ldapbis-protocol-07.txt to the
> WG.  A leader for each team has been chosen by the WG chairs from
> the team members.  This leader will serve as editor of the
> replacement text.  The design teams are expected to be
> short-lived (2-4 weeks).
> 
> Design Team A will offer replacement text consistent with the
> position that ;binary must be used to indicate the transfer
> of binary encoded values.
> 	Mark Smith (Lead), Steven Legg, David Chadwick
> 
> Design Team B will offer replacement text consistent with the
> position that the use of ;binary is not necessary to indicate
> the transfer of binary encoded values.
> 	David Chadwick (Lead), Chris Oliva, Tim Hahn
> 
> Additionally, chairs will participate in design team discussions.
> 
> Kurt, LDAPbis co-chair
> 
> 
> 

------_=_NextPart_001_01C1EAF4.DA0B2D90
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: ;binary design teams</TITLE>
</HEAD>
<BODY>
<BR>

<P><FONT SIZE=3D2>AFAIK, Team B has not indicated that the native =
encoding automatically becomes the binary encoding when the native =
encoding is otherwise not specified. The key difference with =
certificates is that RFC 2252 mandates that the binary encoding should =
be used to transfer certificate values. The key question is if a syntax =
definition clearly states a specific encoding must be used, does this =
also mean that the corresponding &quot;;option&quot; must be used to =
request (and reply with) that encoding? An attribute syntax definition =
that does not mandate a specific transfer encoding does not fall into =
that category.</FONT></P>

<P><FONT SIZE=3D2>I suppose a second issue is this: can a native =
encoding be the ASN.1 BER encoding and therefore not require the use of =
the &quot;;binary&quot; option ? Personally, I think it can.</FONT></P>

<P><FONT SIZE=3D2>A third issue you have brought up is this: since you =
can define new native encodings where an RFC previously did not define =
a native encoding for a syntax, why can't this new native encoding be =
defined as a BER encoding of the abstract ASN.1 syntax?</FONT></P>

<P><FONT SIZE=3D2>Chris.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt; From: Jim Sermersheim [<A =
HREF=3D"mailto:JIMSE@novell.com">mailto:JIMSE@novell.com</A>]</FONT>
<BR><FONT SIZE=3D2>&gt; Sent: Monday, April 22, 2002 8:43 PM</FONT>
<BR><FONT SIZE=3D2>&gt; To: ietf-ldapbis@OpenLDAP.org; =
Kurt@OpenLDAP.org</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: Re: ;binary design teams</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I fall into team A except the case where a =
search attrs list requests</FONT>
<BR><FONT SIZE=3D2>&gt; all user attributes. I'd be glad to help with =
some text. I believe the</FONT>
<BR><FONT SIZE=3D2>&gt; case for allowing future LDAP-specific =
encodings for syntaxes missing</FONT>
<BR><FONT SIZE=3D2>&gt; them is stronger than the case for a syntax's =
LDAP-specific encoding</FONT>
<BR><FONT SIZE=3D2>&gt; being equal to its binary encoding when not =
specified.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Jim</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; &gt;&gt;&gt; &quot;Kurt D. Zeilenga&quot; =
&lt;Kurt@OpenLDAP.org&gt; 04/19/02 09:58AM &gt;&gt;&gt;</FONT>
<BR><FONT SIZE=3D2>&gt; Two design teams have been formed to offer =
replacement text</FONT>
<BR><FONT SIZE=3D2>&gt; for Section 4.1.5 of =
draft-ietf-ldapbis-protocol-07.txt to the</FONT>
<BR><FONT SIZE=3D2>&gt; WG.&nbsp; A leader for each team has been =
chosen by the WG chairs from</FONT>
<BR><FONT SIZE=3D2>&gt; the team members.&nbsp; This leader will serve =
as editor of the</FONT>
<BR><FONT SIZE=3D2>&gt; replacement text.&nbsp; The design teams are =
expected to be</FONT>
<BR><FONT SIZE=3D2>&gt; short-lived (2-4 weeks).</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Design Team A will offer replacement text =
consistent with the</FONT>
<BR><FONT SIZE=3D2>&gt; position that ;binary must be used to indicate =
the transfer</FONT>
<BR><FONT SIZE=3D2>&gt; of binary encoded values.</FONT>
<BR><FONT SIZE=3D2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mark Smith =
(Lead), Steven Legg, David Chadwick</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Design Team B will offer replacement text =
consistent with the</FONT>
<BR><FONT SIZE=3D2>&gt; position that the use of ;binary is not =
necessary to indicate</FONT>
<BR><FONT SIZE=3D2>&gt; the transfer of binary encoded values.</FONT>
<BR><FONT SIZE=3D2>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; David Chadwick =
(Lead), Chris Oliva, Tim Hahn</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Additionally, chairs will participate in design =
team discussions.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Kurt, LDAPbis co-chair</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C1EAF4.DA0B2D90--


From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr 23 16:08:15 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA05194
	for <ldapbis-archive@lists.ietf.org>; Tue, 23 Apr 2002 16:08:14 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3NK7Ge16131;
	Tue, 23 Apr 2002 20:07:16 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 23 Apr 2002 20:07:16 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3NK7DU16110;
	Tue, 23 Apr 2002 20:07:13 GMT
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Tue, 23 Apr 2002 16:06:45 -0600
Message-Id: <scc58695.098@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.0.1
Date: Tue, 23 Apr 2002 14:05:40 -0600
From: "Jim Sermersheim" <JIMSE@novell.com>
To: <Chris.Oliva@entrust.com>, <ietf-ldapbis@OpenLDAP.org>,
        <Kurt@OpenLDAP.org>
Subject: RE: ;binary design teams
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>
Content-Transfer-Encoding: 7bit

>>> Christopher Oliva <Chris.Oliva@entrust.com> 04/23/02 12:29PM >>>
>
>AFAIK, Team B has not indicated that the native encoding
automatically
>becomes the binary encoding when the native encoding is otherwise not
>specified. The key difference with certificates is that RFC 2252
mandates
>that the binary encoding should be used to transfer certificate
values. The
>key question is if a syntax definition clearly states a specific
encoding
>must be used, does this also mean that the corresponding ";option"
must be
>used to request (and reply with) that encoding? An attribute syntax
>definition that does not mandate a specific transfer encoding does not
fall
>into that category.

If the syntax definition says that a value of this syntax is
transmitted as an xyz-encoded value, then the xyz encoding *is* the
LDAP-specific encoding. In this case, it would not be specified as
attr;xyz. If on the other hand, the definition says that the values are
transmitted as xyz-encoded values, and that an xyz attribute option is
used to signify this, then no LDAP-specific encoding exists. In this
second case, I prefer to require that ;xyz accompanies the attribute
type, and that one cannot send attr without a transfer encoding option
(unless an LDAP-specific encoding is defined).

I try to think of the lack of any transfer option as implying a
transfer option called "LDAP-specific".

>I suppose a second issue is this: can a native encoding be the ASN.1
BER
>encoding and therefore not require the use of the ";binary" option ?
>Personally, I think it can.

Yes. As long as the syntax definition states that the value is to be
transferred that way, and doesn't mandate that ;binary be used.

>A third issue you have brought up is this: since you can define new
native
>encodings where an RFC previously did not define a native encoding for
a
>syntax, why can't this new native encoding be defined as a BER
encoding of
>the abstract ASN.1 syntax?

It can. I think however, that something needs to be said about the
server advertising its capabilities. In other words, if syntax ABC is
defined with no LDAP-specific encoding, then at a later point, an
LDAP-specific encoding is defined for it, that a supportedFeature OID be
defined at the same time so that a client can know what the server is
capable of. In lieu of using supportedFeature, we may want to talk about
a more specialized way of advertising server support for different types
of attribute options (including the implied ;LDAP-specific option). I'm
not sure if this falls under LDAPBIS or not (it certainly has come up in
the past as an interoperability problem).

Jim

>Chris.


> -----Original Message-----
> From: Jim Sermersheim [mailto:JIMSE@novell.com] 
> Sent: Monday, April 22, 2002 8:43 PM
> To: ietf-ldapbis@OpenLDAP.org; Kurt@OpenLDAP.org 
> Subject: Re: ;binary design teams
> 
> 
> I fall into team A except the case where a search attrs list
requests
> all user attributes. I'd be glad to help with some text. I believe
the
> case for allowing future LDAP-specific encodings for syntaxes
missing
> them is stronger than the case for a syntax's LDAP-specific encoding
> being equal to its binary encoding when not specified.
> 
> Jim
> 
> >>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 04/19/02 09:58AM >>>
> Two design teams have been formed to offer replacement text
> for Section 4.1.5 of draft-ietf-ldapbis-protocol-07.txt to the
> WG.  A leader for each team has been chosen by the WG chairs from
> the team members.  This leader will serve as editor of the
> replacement text.  The design teams are expected to be
> short-lived (2-4 weeks).
> 
> Design Team A will offer replacement text consistent with the
> position that ;binary must be used to indicate the transfer
> of binary encoded values.
> 	Mark Smith (Lead), Steven Legg, David Chadwick
> 
> Design Team B will offer replacement text consistent with the
> position that the use of ;binary is not necessary to indicate
> the transfer of binary encoded values.
> 	David Chadwick (Lead), Chris Oliva, Tim Hahn
> 
> Additionally, chairs will participate in design team discussions.
> 
> Kurt, LDAPbis co-chair
> 
> 
> 


From owner-ietf-ldapbis@OpenLDAP.org  Tue Apr 23 17:11:22 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA06842
	for <ldapbis-archive@lists.ietf.org>; Tue, 23 Apr 2002 17:11:22 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3NLAA718647;
	Tue, 23 Apr 2002 21:10:10 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Tue, 23 Apr 2002 21:10:10 +0000
Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3NLA6U18626;
	Tue, 23 Apr 2002 21:10:06 GMT
Received: from salford.ac.uk ([213.107.140.76]) by mta03-svc.ntlworld.com
          (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP
          id <20020423211005.GIVF295.mta03-svc.ntlworld.com@salford.ac.uk>;
          Tue, 23 Apr 2002 22:10:05 +0100
Message-ID: <3CC5CEB8.C68530C5@salford.ac.uk>
Date: Tue, 23 Apr 2002 22:14:32 +0100
From: David Chadwick <d.w.chadwick@salford.ac.uk>
Organization: University of Salford
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Jim Sermersheim <JIMSE@novell.com>
CC: Chris.Oliva@entrust.com, ietf-ldapbis@OpenLDAP.org, Kurt@OpenLDAP.org
Subject: Re: ;binary design teams
References: <scc58695.098@prv-mail20.provo.novell.com>
Content-Type: multipart/mixed;
 boundary="------------58EE532E164609A75B547E79"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------58EE532E164609A75B547E79
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Jim

I can agree with all your comments

David


Jim Sermersheim wrote:
> 
> >>> Christopher Oliva <Chris.Oliva@entrust.com> 04/23/02 12:29PM >>>
> >
> >AFAIK, Team B has not indicated that the native encoding
> automatically
> >becomes the binary encoding when the native encoding is otherwise not
> >specified. The key difference with certificates is that RFC 2252
> mandates
> >that the binary encoding should be used to transfer certificate
> values. The
> >key question is if a syntax definition clearly states a specific
> encoding
> >must be used, does this also mean that the corresponding ";option"
> must be
> >used to request (and reply with) that encoding? An attribute syntax
> >definition that does not mandate a specific transfer encoding does not
> fall
> >into that category.
> 
> If the syntax definition says that a value of this syntax is
> transmitted as an xyz-encoded value, then the xyz encoding *is* the
> LDAP-specific encoding. In this case, it would not be specified as
> attr;xyz. If on the other hand, the definition says that the values are
> transmitted as xyz-encoded values, and that an xyz attribute option is
> used to signify this, then no LDAP-specific encoding exists. In this
> second case, I prefer to require that ;xyz accompanies the attribute
> type, and that one cannot send attr without a transfer encoding option
> (unless an LDAP-specific encoding is defined).
> 
> I try to think of the lack of any transfer option as implying a
> transfer option called "LDAP-specific".
> 
> >I suppose a second issue is this: can a native encoding be the ASN.1
> BER
> >encoding and therefore not require the use of the ";binary" option ?
> >Personally, I think it can.
> 
> Yes. As long as the syntax definition states that the value is to be
> transferred that way, and doesn't mandate that ;binary be used.
> 
> >A third issue you have brought up is this: since you can define new
> native
> >encodings where an RFC previously did not define a native encoding for
> a
> >syntax, why can't this new native encoding be defined as a BER
> encoding of
> >the abstract ASN.1 syntax?
> 
> It can. I think however, that something needs to be said about the
> server advertising its capabilities. In other words, if syntax ABC is
> defined with no LDAP-specific encoding, then at a later point, an
> LDAP-specific encoding is defined for it, that a supportedFeature OID be
> defined at the same time so that a client can know what the server is
> capable of. In lieu of using supportedFeature, we may want to talk about
> a more specialized way of advertising server support for different types
> of attribute options (including the implied ;LDAP-specific option). I'm
> not sure if this falls under LDAPBIS or not (it certainly has come up in
> the past as an interoperability problem).
> 
> Jim
> 
> >Chris.
> 
> > -----Original Message-----
> > From: Jim Sermersheim [mailto:JIMSE@novell.com]
> > Sent: Monday, April 22, 2002 8:43 PM
> > To: ietf-ldapbis@OpenLDAP.org; Kurt@OpenLDAP.org
> > Subject: Re: ;binary design teams
> >
> >
> > I fall into team A except the case where a search attrs list
> requests
> > all user attributes. I'd be glad to help with some text. I believe
> the
> > case for allowing future LDAP-specific encodings for syntaxes
> missing
> > them is stronger than the case for a syntax's LDAP-specific encoding
> > being equal to its binary encoding when not specified.
> >
> > Jim
> >
> > >>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 04/19/02 09:58AM >>>
> > Two design teams have been formed to offer replacement text
> > for Section 4.1.5 of draft-ietf-ldapbis-protocol-07.txt to the
> > WG.  A leader for each team has been chosen by the WG chairs from
> > the team members.  This leader will serve as editor of the
> > replacement text.  The design teams are expected to be
> > short-lived (2-4 weeks).
> >
> > Design Team A will offer replacement text consistent with the
> > position that ;binary must be used to indicate the transfer
> > of binary encoded values.
> >       Mark Smith (Lead), Steven Legg, David Chadwick
> >
> > Design Team B will offer replacement text consistent with the
> > position that the use of ;binary is not necessary to indicate
> > the transfer of binary encoded values.
> >       David Chadwick (Lead), Chris Oliva, Tim Hahn
> >
> > Additionally, chairs will participate in design team discussions.
> >
> > Kurt, LDAPbis co-chair
> >
> >
> >

-- 
*****************************************************************

David W. Chadwick, BSc PhD
Professor of Information Systems Security
IS Institute, University of Salford, Salford M5 4WT
Tel: +44 161 295 5351  Fax +44 161 745 8169
Mobile: +44 77 96 44 7184
Email: D.W.Chadwick@salford.ac.uk
Home Page:  http://www.salford.ac.uk/its024/chadwick.htm
Research Projects: http://sec.isi.salford.ac.uk
Understanding X.500:  http://www.salford.ac.uk/its024/X500.htm
X.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------58EE532E164609A75B547E79
Content-Type: text/x-vcard; charset=us-ascii;
 name="d.w.chadwick.vcf"
Content-Description: Card for David Chadwick
Content-Disposition: attachment;
 filename="d.w.chadwick.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Chadwick;David
tel;cell:+44 77 96 44 7184
tel;fax:+44 1484 532930
tel;home:+44 1484 352238
tel;work:+44 161 295 5351
x-mozilla-html:FALSE
url:http://www.salford.ac.uk/its024/chadwick.htm
org:University of Salford;IS Institute
version:2.1
email;internet:d.w.chadwick@salford.ac.uk
title:Professor of Information Security
adr;quoted-printable:;;The Crescent=0D=0A;Salford;Greater Manchester;M5 4WT;England
note;quoted-printable:Research Projects: http://sec.isi.salford.ac.uk.......................=0D=0A=0D=0AUnderstanding X.500:  http://www.salford.ac.uk/its024/X500.htm .......................=0D=0A=0D=0AX.500/LDAP Seminars: http://www.salford.ac.uk/its024/seminars.htm...................=0D=0A=0D=0AEntrust key validation string: CJ94-LKWD-BSXB ...........=0D=0A=0D=0APGP Key ID is 0xBC238DE5
x-mozilla-cpt:;-4856
fn:David Chadwick
end:vcard

--------------58EE532E164609A75B547E79--



From owner-ietf-ldapbis@OpenLDAP.org  Wed Apr 24 17:31:46 2002
Received: from galois.openldap.org (root@galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA09903
	for <ldapbis-archive@odin.ietf.org>; Wed, 24 Apr 2002 17:31:44 -0400 (EDT)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with SMTP id g3OLUA279582;
	Wed, 24 Apr 2002 21:30:10 GMT
Received: by OpenLDAP.org (bulk_mailer v1.12); Wed, 24 Apr 2002 21:30:10 +0000
Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [192.80.55.70])
	by galois.openldap.org (8.10.0.Beta10/8.10.0.Beta10/OpenLDAP/Hub) with ESMTP id g3OLU8U79574
	for <ietf-ldapbis@openldap.org>; Wed, 24 Apr 2002 21:30:08 GMT
Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4])
	by smtpproxy2.mitre.org (8.11.3/8.11.3) with ESMTP id g3OLU1x16675
	for <ietf-ldapbis@openldap.org>; Wed, 24 Apr 2002 17:30:02 -0400 (EDT)
Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31])
	by smtpsrv2.mitre.org (8.11.3/8.11.3) with ESMTP id g3OLU0w27400
	for <ietf-ldapbis@openldap.org>; Wed, 24 Apr 2002 17:30:00 -0400 (EDT)
Received: from dhcp-105-227.mitre.org (128.29.105.227) by mailhub1.mitre.org with SMTP
        id 9973794; Wed, 24 Apr 2002 17:29:12 -0400
Message-ID: <3CC723D2.96750578@mitre.org>
Date: Wed, 24 Apr 2002 17:29:55 -0400
From: Kathy Dally <kdally@mitre.org>
Organization: The MITRE Corporation
X-Mailer: Mozilla 4.78 [en]C-20010724M  (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: ietf-ldapbis <ietf-ldapbis@OpenLDAP.org>
Subject: Id without Password
Content-Type: multipart/mixed;
 boundary="------------E0F7F222EF85FC7DBEE5E9D1"
Sender: owner-ietf-ldapbis@OpenLDAP.org
Priority: non-urgent
X-Loop: OpenLDAP
Precedence: bulk
Comment: ietf-ldapbis mailing list <http://www.OpenLDAP.org/lists/>
List-Archive: <http://www.OpenLDAP.org/lists/ietf-ldapbis/>
List-Help: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=help>
List-Unsubscribe: <mailto:ietf-ldapbis-request@OpenLDAP.org?body=unsubscribe>

This is a multi-part message in MIME format.
--------------E0F7F222EF85FC7DBEE5E9D1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi All!

Here's the X.501 statement about the authorization level when a password
is not provided with the identity being checked:

	X.501 1993, 16.4.2.3:

	'For access control purposes, the "simple" authentication level
requires a 	   	 password; THE CASE OF IDENTIFICATION ONLY, WITH NO
PASSWORD SUPPLIED, IS 		 CONSIDERED "NONE".'  [KLD supplied emphasis.]

This helps with the 'no password' case.  However, I did not notice
anything about the 'password in the clear' case.

Regards,
Kathy Dally
--------------E0F7F222EF85FC7DBEE5E9D1
Content-Type: text/x-vcard; charset=us-ascii;
 name="kdally.vcf"
Content-Description: Card for Kathy Dally
Content-Disposition: attachment;
 filename="kdally.vcf"
Content-Transfer-Encoding: 7bit

begin:vcard 
n:Dally;Kathy
tel;work:+1 703 883 6058
x-mozilla-html:FALSE
org:The MITRE Corp.
version:2.1
email;internet:kdally@mitre.org
adr;quoted-printable:;;7515 Colshire Dr., W650=0D=0A=0D=0A;McLean;VA;22102;USA
fn:Kathy Dally
end:vcard

--------------E0F7F222EF85FC7DBEE5E9D1--




