From owner-ietf-ldapbis@OpenLDAP.org  Sat Mar  1 16:07:49 2003
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 QAA17558
	for <ldapbis-archive@lists.ietf.org>; Sat, 1 Mar 2003 16:07:49 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.6/8.12.6) with ESMTP id h21L51h7061891;
	Sat, 1 Mar 2003 21:08:57 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.6/8.12.6/Submit) with SMTP id h21L4A5M061731;
	Sat, 1 Mar 2003 21:04:10 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Sat, 1 Mar 2003 21:04:10 +0000
Received: from galois.openldap.org (kurt@localhost [IPv6:::1])
	by galois.openldap.org (8.12.6/8.12.6) with ESMTP id h21L48h3061720
	for <ietf-ldapbis@openldap.org>; Sat, 1 Mar 2003 21:04:08 GMT
	(envelope-from kurt@galois.openldap.org)
Received: (from kurt@localhost)
	by galois.openldap.org (8.12.6/8.12.6/Submit) id h21L48n1061719
	for ietf-ldapbis@openldap.org; Sat, 1 Mar 2003 21:04:08 GMT
	(envelope-from kurt)
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by galois.openldap.org (8.12.6/8.12.6) with ESMTP id h21KDHh3059835;
	Sat, 1 Mar 2003 20:13:17 GMT
	(envelope-from HAL@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Sat, 01 Mar 2003 13:12:57 -0700
Message-Id: <se60b1d9.008@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.0 
Date: Sat, 01 Mar 2003 13:12:41 -0700
From: "Hal Henderson" <HAL@novell.com>
To: "Jim Sermersheim" <JIMSE@novell.com>, <ietf-ldapbis@OpenLDAP.org>,
        <Kurt@OpenLDAP.org>
Cc: "Alan Clark" <ACLARK@novell.com>, "Dan Fritch" <DFRITCH@novell.com>,
        "David Ward" <DSWARD@novell.com>, "Tolga Acar" <TACAR@novell.com>
Subject: Re: internationalization of textual passwords
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 agree.  Hopefully, they will decided upon UTF-8 and not invent
something new.

Hal

>>> Jim Sermersheim 2/27/2003 10:38:00 PM >>>
I haven't read SASLPrep yet, but recommending (and in doing so, raising
awareness of the issue) a normalized string form sounds very good to
me.

Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 2/27/03 11:12:43 PM >>>
While the simple bind password and userPassword are OCTET STRINGs
and to be compared using octetStringMatch (and I continue to think
this should not be changed, see past discussions), I (as an
individual) think it would be appropriate to RECOMMEND that clients
which provide textual passwords "prepare", using SASLprep, the
string before transmission to the server to ensure that like
passwords will match.  Use of SASLprep here, aside from ensuring
consistency between all LDAP clients desiring to use textual
passwords, would allow the textual strings to be used in various
SASL mechanisms which use SASLprep.

Comments?

Kurt


From owner-ietf-ldapbis@OpenLDAP.org  Sat Mar  1 16:37:06 2003
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 QAA17988
	for <ldapbis-archive@lists.ietf.org>; Sat, 1 Mar 2003 16:37:06 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.6/8.12.6) with ESMTP id h21LZ1h7064441;
	Sat, 1 Mar 2003 21:38:15 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.6/8.12.6/Submit) with SMTP id h21LRYbQ064137;
	Sat, 1 Mar 2003 21:27:34 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Sat, 1 Mar 2003 21:27:34 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.12.6/8.12.6) with ESMTP id h21LRVh3064117
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 1 Mar 2003 21:27:32 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.6/8.12.6) with ESMTP id h21LRM8q046186;
	Sat, 1 Mar 2003 21:27:22 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20030301130903.02642420@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Sat, 01 Mar 2003 13:25:39 -0800
To: "Hal Henderson" <HAL@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: internationalization of textual passwords
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <se60b1d9.008@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 12:12 PM 3/1/2003, Hal Henderson wrote:
>I agree.  Hopefully, they will decided upon UTF-8 and not invent
>something new.

Saying "UTF-8" is insufficient.  One needs to say exactly how the
strings are to be prepared to increase the likelihood that two
different, but equivalent, user-inputted Unicode strings are
transferred as same sequence of octets and, hence, will match
when compared by the server.

SASLprep defines a new algorithm for preparing Unicode passwords
(as well as user names) for matching.  I'm not aware of a suitable
existing algorithm.

Anyways, I suggest we adopt whatever algorithm the SASL WG
ends up choosing for PLAIN, CRAM-MD5, and DIGEST-MD5 mechanisms
to minimize the implementation burden.

Kurt 



From owner-ietf-ldapbis@OpenLDAP.org  Sat Mar  1 17:17:18 2003
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 RAA18724
	for <ldapbis-archive@lists.ietf.org>; Sat, 1 Mar 2003 17:17:18 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.6/8.12.6) with ESMTP id h21MF1h7066993;
	Sat, 1 Mar 2003 22:18:24 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.6/8.12.6/Submit) with SMTP id h21ME69g066912;
	Sat, 1 Mar 2003 22:14:06 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Sat, 1 Mar 2003 22:14:06 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by galois.openldap.org (8.12.6/8.12.6) with ESMTP id h21ME0h3066885;
	Sat, 1 Mar 2003 22:14:00 GMT
	(envelope-from RHARRISON@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Sat, 01 Mar 2003 15:13:57 -0700
Message-Id: <se60ce35.054@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.0 
Date: Fri, 28 Feb 2003 19:42:28 -0700
From: "Roger Harrison" <RHARRISON@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>, <Kurt@OpenLDAP.org>
Subject: Re: [AuthMeth] clarification on SASL DN AuthZ ID
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="=_B2EDE0B5.DFBEE51F"
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 MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=_B2EDE0B5.DFBEE51F
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Kurt,
 
To address your comments on this, in the -05 version I will replace
this text:
 
"All servers that support the storage of authentication credentials,
such as passwords or certificates, in the directory MUST support the
dnAuthzId choice. The format for distinguishedName is defined in section
3 of [LDAPDN]."
 
With this:
 
"The dnAuthzId choice allows client applications to assert
authorization identities in the form of a distinguished name. The
decision to allow or disallow an authentication identity to have access
to the requested authorization identity is based on implementation
defined policy ([SASL] section 4.2). For this reason there is no
requirement that the asserted dn be that of an entry in directory."
 
Does this sound reasonable to you?
 
Roger
 
>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 11/12/2002 10:27:08 PM >>>
At 12:52 PM 2002-11-12, Roger Harrison wrote:
>Section 4.4.1.1 of [AuthMeth] states:
>
>All servers that support the storage of authentication credentials,
such as passwords or certificates, in the directory MUST support the
dnAuthzId choice. The format for distinguishedName is defined in section
3 of [LDAPDN].
>
>I see two problems with this statement.

The problem I see is that this MUST is not necessary for
interoperability.

For authentication only, no authorization identity is needed. As
discussed on the ietf-sasl list, the authorization identity SHOULD
only be provided if the client wishes to assume the identity
different from that implied by the authentication credentials.
That is, specifying an authorization identity when not doing
proxy authorization causes interoperability problems and should
be avoid.

For proxy authorization, interoperability requires that the
user know the value and form authzId expected by the server.
Servers need only to support the value and forms they expect.
If anything, we should be stating that CLIENTs which support
Proxy Authorization SHOULD support both forms so that users
can specify either.

It's my personal opinion that paragraph should be deleted.

Kurt



--=_B2EDE0B5.DFBEE51F
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1126" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Kurt,</DIV>
<DIV>&nbsp;</DIV>
<DIV>To address your comments on this, in the -05 version I will replace this 
text:</DIV>
<DIV>&nbsp;</DIV>
<DIV>"All servers that support the storage of authentication credentials, such 
as passwords or certificates, in the directory MUST support the dnAuthzId 
choice. The format for distinguishedName is defined in section 3 of 
[LDAPDN]."</DIV>
<DIV>&nbsp;</DIV>
<DIV>With this:</DIV>
<DIV>&nbsp;</DIV>
<DIV>"The dnAuthzId choice allows client applications to assert authorization 
identities in the form of a distinguished name. The decision to allow or 
disallow an authentication identity to have access to the requested 
authorization identity is based on implementation defined policy ([SASL] section 
4.2). For this reason there is no requirement that the asserted dn be that of an 
entry in directory."</DIV>
<DIV>&nbsp;</DIV>
<DIV>Does this sound reasonable to you?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Roger<?xml:namespace prefix = o ns = 
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&gt;&gt; "Kurt D. Zeilenga" &lt;Kurt@OpenLDAP.org&gt; 11/12/2002 
10:27:08 PM &gt;&gt;&gt;<BR>At 12:52 PM 2002-11-12, Roger Harrison 
wrote:<BR>&gt;Section 4.4.1.1 of [AuthMeth] states:<BR>&gt;<BR>&gt;All servers 
that support the storage of authentication credentials, such as passwords or 
certificates, in the directory MUST support the dnAuthzId choice. The format for 
distinguishedName is defined in section 3 of [LDAPDN].<BR>&gt;<BR>&gt;I see two 
problems with this statement.<BR><BR>The problem I see is that this MUST is not 
necessary for<BR>interoperability.<BR><BR>For authentication only, no 
authorization identity is needed. As<BR>discussed on the ietf-sasl list, the 
authorization identity SHOULD<BR>only be provided if the client wishes to assume 
the identity<BR>different from that implied by the authentication 
credentials.<BR>That is, specifying an authorization identity when not 
doing<BR>proxy authorization causes interoperability problems and should<BR>be 
avoid.<BR><BR>For proxy authorization, interoperability requires that 
the<BR>user know the value and form authzId expected by the server.<BR>Servers 
need only to support the value and forms they expect.<BR>If anything, we should 
be stating that CLIENTs which support<BR>Proxy Authorization SHOULD support both 
forms so that users<BR>can specify either.<BR><BR>It's my personal opinion that 
paragraph should be deleted.<BR><BR>Kurt<BR><BR></DIV></BODY></HTML>

--=_B2EDE0B5.DFBEE51F--


From owner-ietf-ldapbis@OpenLDAP.org  Sat Mar  1 17:37:08 2003
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 RAA19024
	for <ldapbis-archive@lists.ietf.org>; Sat, 1 Mar 2003 17:37:07 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.6/8.12.6) with ESMTP id h21MZ1h7068963;
	Sat, 1 Mar 2003 22:38:14 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.6/8.12.6/Submit) with SMTP id h21MUtUF068542;
	Sat, 1 Mar 2003 22:30:55 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Sat, 1 Mar 2003 22:30:55 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.12.6/8.12.6) with ESMTP id h21MUqh3068531
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 1 Mar 2003 22:30:52 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from nomad.OpenLDAP.org (root@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.6/8.12.6) with ESMTP id h21MUh8q046617;
	Sat, 1 Mar 2003 22:30:43 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20030301142706.0265dc30@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Sat, 01 Mar 2003 14:28:59 -0800
To: "Roger Harrison" <RHARRISON@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: [AuthMeth] clarification on SASL DN AuthZ ID
Cc: <ietf-ldapbis@OpenLDAP.org>
In-Reply-To: <se60ce35.054@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 06:42 PM 2/28/2003, Roger Harrison wrote:
>Kurt,
> 
>To address your comments on this, in the -05 version I will replace this text:
> 
>"All servers that support the storage of authentication credentials, such as passwords or certificates, in the directory MUST support the dnAuthzId choice. The format for distinguishedName is defined in section 3 of [LDAPDN]."
> 
>With this:
> 
>"The dnAuthzId choice allows client applications to assert authorization identities in the form of a distinguished name. The decision to allow or disallow an authentication identity to have access to the requested authorization identity is based on implementation defined policy ([SASL] section 4.2). For this reason there is no requirement that the asserted dn be that of an entry in directory."
> 
>Does this sound reasonable to you?

Yes, except s/based on implementation defined/a matter of local/.

Kurt

> 
>Roger<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
> 
>>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 11/12/2002 10:27:08 PM >>>
>At 12:52 PM 2002-11-12, Roger Harrison wrote:
>>Section 4.4.1.1 of [AuthMeth] states:
>>
>>All servers that support the storage of authentication credentials, such as passwords or certificates, in the directory MUST support the dnAuthzId choice. The format for distinguishedName is defined in section 3 of [LDAPDN].
>>
>>I see two problems with this statement.
>
>The problem I see is that this MUST is not necessary for
>interoperability.
>
>For authentication only, no authorization identity is needed. As
>discussed on the ietf-sasl list, the authorization identity SHOULD
>only be provided if the client wishes to assume the identity
>different from that implied by the authentication credentials.
>That is, specifying an authorization identity when not doing
>proxy authorization causes interoperability problems and should
>be avoid.
>
>For proxy authorization, interoperability requires that the
>user know the value and form authzId expected by the server.
>Servers need only to support the value and forms they expect.
>If anything, we should be stating that CLIENTs which support
>Proxy Authorization SHOULD support both forms so that users
>can specify either.
>
>It's my personal opinion that paragraph should be deleted.
>
>Kurt



From owner-ietf-ldapbis@OpenLDAP.org  Sun Mar  2 23:48:08 2003
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 XAA26738
	for <ldapbis-archive@lists.ietf.org>; Sun, 2 Mar 2003 23:48:07 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.6/8.12.6) with ESMTP id h234Z4hd070327;
	Mon, 3 Mar 2003 04:49:02 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.6/8.12.6/Submit) with SMTP id h234UhOV070188;
	Mon, 3 Mar 2003 04:30:43 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Mon, 3 Mar 2003 04:30:43 +0000
Received: from adacel.com ([210.11.130.7])
	by galois.openldap.org (8.12.6/8.12.6) with ESMTP id h234Ubh3070156
	for <ietf-ldapbis@openldap.org>; Mon, 3 Mar 2003 04:30:38 GMT
	(envelope-from steven.legg@adacel.com.au)
Received: from nexus.adacel.com (Not Verified[10.32.240.1]) by adacel.com with MailMarshal (v5,0,3,91)
	id <B000002a19>; Mon, 03 Mar 2003 15:29:50 +1100
Received: (qmail 3195 invoked from network); 3 Mar 2003 03:29:51 -0000
Received: from unknown (HELO osmium) (10.32.24.165)
  by nexus.adacel.com with SMTP; 3 Mar 2003 03:29:51 -0000
Reply-To: <steven.legg@adacel.com.au>
From: "Steven Legg" <steven.legg@adacel.com.au>
To: "'Jim Sermersheim'" <jimse@novell.com>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: RE: How are approxMatch matching rules declared?
Date: Mon, 3 Mar 2003 14:30:10 +1100
Message-ID: <006801c2e135$3253e370$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
Importance: Normal
In-Reply-To: <se5f540a.090@prv-mail20.provo.novell.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>
Content-Transfer-Encoding: 7bit


Jim,

Jim Sermersheim wrote:
> Right now it says:
> The matching rule for approxMatch filter items is
> implementation-defined. If approximate matching is not
> supported by the
> server, the filter item should be treated as an equalityMatch.
>
> Does something need to be changed?

Not really (I didn't cross-check the wording before responding to Hallvard),
however I would say "The matching semantics" rather than "the matching rule"
so as to NOT give the impression that a proprietary matching rule definition
is somehow required.

BTW, the assertion syntax for greaterOrEqual, lessOrEqual and particularly
substrings filter items should be the same as the equality matching rule
assertion syntax. The current wording erroneously suggests that the initial,
any and final AssertionValues in a SubstringFilter would each be
SubstringAssertion values (in typical usage).

Regards,
Steven

>
> Jim
>
> >>> "Steven Legg" <steven.legg@adacel.com.au> 2/3/03 10:17:29 AM >>>
>
> Hallvard,
>
> Hallvard B Furuseth wrote:
> > [Models] 4.1.2 (Attribute Types) has no
> >     ["APPROX" SP oid]
> > part which can be used to declare the matching rule which
> > approxMatch filters on the attribute should use.
>
> That's because there are practically no matching rules defined
> which describe approximate matching semantics. For the most
> part, if such a field were defined there would be nothing with
> which to populate it. The semantics of an approximate match
> filter item have always been left to the discretion of the
> server implementations.
>
> > Should that be
> > fixed?  Or must an implementation which wants to use implement
> > approxMatch define a syntax like
> >     ["X-APPROX" SP oid]		; approxMatch matching rule
> > or do something like defining an implicit approx matching rule for
> > each syntax which supports approxMatch filters?
>
> In principle, every attribute type with an equality matching rule
> supports approximate matching though in practice it might not differ
> from the equality match.
>
> > Should [Models] say something about this?
>
> More likely the protocol draft since that is where the search
> operation
> is described.
>
> Regards,
> Steven
>
>



From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  4 07:47:47 2003
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 HAA16105
	for <ldapbis-archive@lists.ietf.org>; Tue, 4 Mar 2003 07:47:46 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h24CWvoW068493;
	Tue, 4 Mar 2003 12:48:47 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h24CUvTg068407;
	Tue, 4 Mar 2003 12:30:57 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 4 Mar 2003 12:30:57 +0000
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h24CUrno068396
	for <ietf-ldapbis@openldap.org>; Tue, 4 Mar 2003 12:30:54 GMT
	(envelope-from nsyracus@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA14724;
	Tue, 4 Mar 2003 07:28:51 -0500 (EST)
Message-Id: <200303041228.HAA14724@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ietf-ldapbis@OpenLDAP.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ldapbis-syntaxes-05.txt
Date: Tue, 04 Mar 2003 07:28:50 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.

	Title		: LDAP: Syntaxes and Matching Rules
	Author(s)	: K. Dally, S. Legg
	Filename	: draft-ietf-ldapbis-syntaxes-05.txt
	Pages		: 47
	Date		: 2003-3-3
	
Each attribute stored in a Lightweight Directory Access Protocol
(LDAP) directory, and whose values may be transfered in the LDAP
protocol, has a defined syntax which constrains the structure and
format of its values.  The comparison semantics for values of a
syntax are not part of the syntax definition but are instead provided
through separately defined matching rules.  Matching rules specify an
argument, an assertion value, which also has a defined syntax.  This
document defines a base set of syntaxes and matching rules for use in
defining attributes for LDAP directories.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-syntaxes-05.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ldapbis-syntaxes-05.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ldapbis-syntaxes-05.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-3-3144859.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ldapbis-syntaxes-05.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ldapbis-syntaxes-05.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-3-3144859.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Tue Mar  4 11:24:40 2003
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 LAA29242
	for <ldapbis-archive@lists.ietf.org>; Tue, 4 Mar 2003 11:24:40 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h24G2voa097843;
	Tue, 4 Mar 2003 16:25:45 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h24FvdZ1097547;
	Tue, 4 Mar 2003 15:57:39 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 4 Mar 2003 15:57:39 +0000
Received: from mailgw2a.lmco.com (mailgw2a.lmco.com [192.91.147.7])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h24FvZno097536
	for <ietf-ldapbis@openldap.org>; Tue, 4 Mar 2003 15:57:36 GMT
	(envelope-from skip.slone@lmco.com)
Received: from emss03g01.ems.lmco.com (emss03g01.ems.lmco.com [141.240.4.144])
	by mailgw2a.lmco.com (8.11.6/8.11.6) with ESMTP id h24FvY701916
	for <ietf-ldapbis@openldap.org>; Tue, 4 Mar 2003 10:57:34 -0500 (EST)
Received: from CONVERSION-DAEMON.lmco.com by lmco.com (PMDF V6.1-1 #40646)
 id <0HB800601EZYG9@lmco.com> for ietf-ldapbis@openldap.org; Tue, 04 Mar 2003 10:57:34 -0500 (EST)
Received: from EMSS03I00.us.lmco.com ([141.240.31.211]) by lmco.com (PMDF V6.1-1 #40646)
 with ESMTP id <0HB80062MEZV1I@lmco.com> for ietf-ldapbis@openldap.org; Tue, 04 Mar 2003 10:57:31 -0500 (EST)
Received: by EMSS03I00.us.lmco.com with Internet Mail Service (5.5.2653.19)	id <FZSZSQCM>; Tue, 04 Mar 2003 10:57:31 -0500
Content-return: allowed
Date: Tue, 04 Mar 2003 10:57:24 -0500
From: "Slone, Skip" <skip.slone@lmco.com>
Subject: draft-slone-ldap-x500-align-00.txt
To: "LDAPbis Mailing List (ietf-ldapbis@openldap.org)" <ietf-ldapbis@OpenLDAP.org>
Message-id: <B23207A86E7BD411A7000008C7E6693C0F51C2D9@emss03m03.orl.lmco.com>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-type: text/plain
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

FYI...

http://www.ietf.org/internet-drafts/draft-slone-ldap-x500-align-00.txt

This document is intended to provide information of interest to 
developers of Lightweight Directory Access Protocol (LDAP) 
specifications and products.  It is intended to provide background 
information and to facilitate discussion within IETF Working Groups, 
most notably LDAPbis.  This Internet-Draft highlights decisions made 
by group attending the ITU-T and ISO/IEC JTC1 Collaborative Meeting 
on the Directory in London in February 2003 for inclusion in an 
upcoming Proposed Draft Amendment (PDAM) to the ITU-T X.500 / IS 
9594 Specification. It also identifies issues that the X.500 group 
would like to bring to the attention of the LDAPbis Working Group at 
the upcoming IETF meeting in March. 

Regards,

 -- Skip Slone


From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar  5 06:45:34 2003
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 GAA27489
	for <ldapbis-archive@lists.ietf.org>; Wed, 5 Mar 2003 06:45:34 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25Bgxo2007175;
	Wed, 5 Mar 2003 11:46:40 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h25BXnLF005913;
	Wed, 5 Mar 2003 11:33:49 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 5 Mar 2003 11:33:48 +0000
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25BXjno005879
	for <ietf-ldapbis@openldap.org>; Wed, 5 Mar 2003 11:33:45 GMT
	(envelope-from nsyracus@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA26425;
	Wed, 5 Mar 2003 06:31:40 -0500 (EST)
Message-Id: <200303051131.GAA26425@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ietf-ldapbis@OpenLDAP.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ldapbis-url-03.txt
Date: Wed, 05 Mar 2003 06:31:39 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.

	Title		: LDAP: Uniform Resource Locator
	Author(s)	: M. Smith, T. Howes
	Filename	: draft-ietf-ldapbis-url-03.txt
	Pages		: 13
	Date		: 2003-3-4
	
This document describes a format for an LDAP Uniform Resource Locator
(URL).  An LDAP URL describes an LDAP search operation that is used
to retrieve information from an LDAP directory, or, in the context of
an LDAPv3 referral or reference, an LDAP URL describes a service
where an LDAP operation may be progressed.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-url-03.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ldapbis-url-03.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ldapbis-url-03.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-3-4174344.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ldapbis-url-03.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ldapbis-url-03.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-3-4174344.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar  5 06:45:43 2003
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 GAA27511
	for <ldapbis-archive@lists.ietf.org>; Wed, 5 Mar 2003 06:45:42 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25Bgxo6007175;
	Wed, 5 Mar 2003 11:46:42 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h25BXjvN005882;
	Wed, 5 Mar 2003 11:33:45 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 5 Mar 2003 11:33:45 +0000
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25BXfno005866
	for <ietf-ldapbis@openldap.org>; Wed, 5 Mar 2003 11:33:42 GMT
	(envelope-from nsyracus@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA26398;
	Wed, 5 Mar 2003 06:31:35 -0500 (EST)
Message-Id: <200303051131.GAA26398@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ietf-ldapbis@OpenLDAP.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ldapbis-protocol-13.txt
Date: Wed, 05 Mar 2003 06:31:34 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.

	Title		: LDAP: The Protocol
	Author(s)	: J. Sermersheim
	Filename	: draft-ietf-ldapbis-protocol-13.txt
	Pages		: 59
	Date		: 2003-3-4
	
This document describes the protocol elements, along with their 
semantics and encodings, for the Lightweight Directory Access 
Protocol (LDAP). LDAP provides access to distributed directory 
services that act in accordance with X.500 data and service models. 
These protocol elements are based on those described in the X.500 
Directory Access Protocol (DAP).

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-protocol-13.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ldapbis-protocol-13.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ldapbis-protocol-13.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-3-4174336.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ldapbis-protocol-13.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ldapbis-protocol-13.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-3-4174336.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar  5 06:45:45 2003
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 GAA27525
	for <ldapbis-archive@lists.ietf.org>; Wed, 5 Mar 2003 06:45:45 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25Bgxo4007175;
	Wed, 5 Mar 2003 11:46:41 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h25BXdSb005856;
	Wed, 5 Mar 2003 11:33:39 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 5 Mar 2003 11:33:39 +0000
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25BXZno005838
	for <ietf-ldapbis@openldap.org>; Wed, 5 Mar 2003 11:33:35 GMT
	(envelope-from nsyracus@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA26342;
	Wed, 5 Mar 2003 06:31:30 -0500 (EST)
Message-Id: <200303051131.GAA26342@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ietf-ldapbis@OpenLDAP.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ldapbis-filter-04.txt
Date: Wed, 05 Mar 2003 06:31:29 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.

	Title		: LDAP: String Representation of Search Filters
	Author(s)	: M. Smith, T. Howes
	Filename	: draft-ietf-ldapbis-filter-04.txt
	Pages		: 12
	Date		: 2003-3-4
	
LDAP search filters are transmitted in the LDAP protocol using a
binary representation that is appropriate for use on the network.
This document defines a human-readable string representation of LDAP
search filters that is appropriate for use in LDAP URLs and in other
applications

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-filter-04.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ldapbis-filter-04.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ldapbis-filter-04.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-3-4174329.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ldapbis-filter-04.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ldapbis-filter-04.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-3-4174329.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar  5 10:22:47 2003
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 KAA04517
	for <ldapbis-archive@lists.ietf.org>; Wed, 5 Mar 2003 10:22:47 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25F30pC040190;
	Wed, 5 Mar 2003 15:23:58 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h25ExoBT039708;
	Wed, 5 Mar 2003 14:59:50 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 5 Mar 2003 14:59:50 +0000
Received: from netscape.com (r2d2.aoltw.net [64.236.137.26])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25Exkno039662
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 5 Mar 2003 14:59:46 GMT
	(envelope-from mcs@netscape.com)
Received: from judge.mcom.com (judge.nscp.aoltw.net [10.169.8.47])
	by netscape.com (8.10.0/8.10.0) with ESMTP id h25ExPR04113
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 5 Mar 2003 06:59:25 -0800 (PST)
Received: from netscape.com ([10.178.176.54]) by judge.mcom.com
          (Netscape Messaging Server 4.15) with ESMTP id HBA6Z102.VBO for
          <ietf-ldapbis@OpenLDAP.org>; Wed, 5 Mar 2003 06:59:25 -0800 
Message-ID: <3E6610CC.1090902@netscape.com>
Date: Wed, 05 Mar 2003 09:59:24 -0500
From: mcs@netscape.com (Mark C Smith)
Organization: Netscape Communications Corp.
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3b) Gecko/20030211
X-Accept-Language: English/United States [en-US],English [en]
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: I-D ACTION:draft-ietf-ldapbis-filter-04.txt
References: <200303051131.GAA26342@ietf.org>
In-Reply-To: <200303051131.GAA26342@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by galois.openldap.org id h25Exkno039693
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

The changes made in this revision are listed in Appendix B but I'll post 
them here too. Please read the draft and comment. It is not 100% clear 
to me that the group reached consensus on the "The string representation 
is a string of UTF-8 encoded ISO 10646-1 characters" issue. It would 
also be helpful to have some people check the revised ABNF.

------
15.1. Technical Changes

"String Search Filter Definition" section: Added statement that the
string representation is a string of UTF-8 encoded ISO 10646-1
characters and statement about expected behavior in light of RFC
2254's lack of a clear definition of "string representation."

"String Search Filter Definition" section: Revised all of the ABNF to
use common productions from [Models]. Revised the "normal"
production to restrict filter strings to valid UTF-8 sequences.


15.2. Editorial Changes

"Status of this Memo" section: updated boilerplate to match current
I-D guidelines.

"Examples" section: removed ;binary from an example.

"LDAP Search Filter Definition " section: updated section references
to match current LDAPBis drafts. Made minor changes to the ASN.1 so
it exactly matches that used in the Protocol document (added
comments).

"Normative References" section: added references to [ISO10646],
[RFC2119] and [Models].

"Informative References" section: added for clarity.

Updated copyright year to 2003.
------


-Mark



Internet-Drafts@ietf.org wrote:

>A New Internet-Draft is available from the on-line Internet-Drafts directories.
>This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.
>
>	Title		: LDAP: String Representation of Search Filters
>	Author(s)	: M. Smith, T. Howes
>	Filename	: draft-ietf-ldapbis-filter-04.txt
>	Pages		: 12
>	Date		: 2003-3-4
>	
>LDAP search filters are transmitted in the LDAP protocol using a
>binary representation that is appropriate for use on the network.
>This document defines a human-readable string representation of LDAP
>search filters that is appropriate for use in LDAP URLs and in other
>applications
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-filter-04.txt
>
>To remove yourself from the IETF Announcement list, send a message to 
>ietf-announce-request with the word unsubscribe in the body of the message.
>
>Internet-Drafts are also available by anonymous FTP. Login with the username
>"anonymous" and a password of your e-mail address. After logging in,
>type "cd internet-drafts" and then
>	"get draft-ietf-ldapbis-filter-04.txt".
>
>A list of Internet-Drafts directories can be found in
>http://www.ietf.org/shadow.html 
>or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>
>
>Internet-Drafts can also be obtained by e-mail.
>
>Send a message to:
>	mailserv@ietf.org.
>In the body type:
>	"FILE /internet-drafts/draft-ietf-ldapbis-filter-04.txt".
>	
>NOTE:	The mail server at ietf.org can return the document in
>	MIME-encoded form by using the "mpack" utility.  To use this
>	feature, insert the command "ENCODING mime" before the "FILE"
>	command.  To decode the response(s), you will need "munpack" or
>	a MIME-compliant mail reader.  Different MIME-compliant mail readers
>	exhibit different behavior, especially when dealing with
>	"multipart" MIME messages (i.e. documents which have been split
>	up into multiple messages), so check your local documentation on
>	how to manipulate these messages.
>		
>		
>Below is the data which will enable a MIME compliant mail reader
>implementation to automatically retrieve the ASCII version of the
>Internet-Draft.
>  
>




From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar  5 10:34:57 2003
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 KAA05927
	for <ldapbis-archive@lists.ietf.org>; Wed, 5 Mar 2003 10:34:57 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25FCxoc041826;
	Wed, 5 Mar 2003 15:36:09 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h25F3R82040333;
	Wed, 5 Mar 2003 15:03:27 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 5 Mar 2003 15:03:27 +0000
Received: from netscape.com (r2d2.aoltw.net [64.236.137.26])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25F3Lno040194
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 5 Mar 2003 15:03:21 GMT
	(envelope-from mcs@netscape.com)
Received: from judge.mcom.com (judge.nscp.aoltw.net [10.169.8.47])
	by netscape.com (8.10.0/8.10.0) with ESMTP id h25F30R04617
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 5 Mar 2003 07:03:01 -0800 (PST)
Received: from netscape.com ([10.178.176.54]) by judge.mcom.com
          (Netscape Messaging Server 4.15) with ESMTP id HBA75000.WBA for
          <ietf-ldapbis@OpenLDAP.org>; Wed, 5 Mar 2003 07:03:00 -0800 
Message-ID: <3E6611A3.5040508@netscape.com>
Date: Wed, 05 Mar 2003 10:02:59 -0500
From: mcs@netscape.com (Mark C Smith)
Organization: Netscape Communications Corp.
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3b) Gecko/20030211
X-Accept-Language: English/United States [en-US],English [en]
MIME-Version: 1.0
To: ietf-ldapbis@OpenLDAP.org
Subject: Re: I-D ACTION:draft-ietf-ldapbis-url-03.txt
References: <200303051131.GAA26425@ietf.org>
In-Reply-To: <200303051131.GAA26425@ietf.org>
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

The changes made for this -03 revision are listed in Appendix B of the 
I-D. I am posting them here for your convenience. Review of the revised 
ABNF would be especially helpful.

-------
15.1.  Technical Changes

    "URL Definition" section: revised all of the ABNF to use common
    productions from [Models] and added note and references to [RFC2732]
    to allow literal IPv6 addresses inside the hostport portion of the
    URL.


15.2.  Editorial Changes

    "Status of this Memo" section: updated boilerplate to match current
    I-D guidelines.

    "URL Definition" section: replaced misleading phrase "MAY define
    other extensions" with "MAY define one or more extensions" (this
    document no longer defines any extensions). Rewrote the last
    paragraph of this section to more clearly describe the escaping rules
    and to reference [RFC2396] accurately.

    "Examples" section: added an example that demonstrates the
    interaction between DN escaping and URL escaping and clarified the
    text that introduces the LDAP filter escaping interaction example.

    "Acknowledgements" section: added Hallvard Furuseth.

    "Normative References" section: added a reference to [RFC2732].

    "Informative References" section: added for clarity.

    Copyright: updated the year to 2003.

    "Authors' Address" section: updated Tim's contact information.

    Appendix A: added an older editorial change that was accidently
    overlooked (Changed document title to include "LDAP:" prefix).
-------

-Mark


Internet-Drafts@ietf.org wrote:
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.
> 
> 	Title		: LDAP: Uniform Resource Locator
> 	Author(s)	: M. Smith, T. Howes
> 	Filename	: draft-ietf-ldapbis-url-03.txt
> 	Pages		: 13
> 	Date		: 2003-3-4
> 	
> This document describes a format for an LDAP Uniform Resource Locator
> (URL).  An LDAP URL describes an LDAP search operation that is used
> to retrieve information from an LDAP directory, or, in the context of
> an LDAPv3 referral or reference, an LDAP URL describes a service
> where an LDAP operation may be progressed.
> 
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-url-03.txt
> 
> To remove yourself from the IETF Announcement list, send a message to 
> ietf-announce-request with the word unsubscribe in the body of the message.
> 
> Internet-Drafts are also available by anonymous FTP. Login with the username
> "anonymous" and a password of your e-mail address. After logging in,
> type "cd internet-drafts" and then
> 	"get draft-ietf-ldapbis-url-03.txt".
> 
> A list of Internet-Drafts directories can be found in
> http://www.ietf.org/shadow.html 
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
> 
> 
> Internet-Drafts can also be obtained by e-mail.
> 
> Send a message to:
> 	mailserv@ietf.org.
> In the body type:
> 	"FILE /internet-drafts/draft-ietf-ldapbis-url-03.txt".
> 	
> NOTE:	The mail server at ietf.org can return the document in
> 	MIME-encoded form by using the "mpack" utility.  To use this
> 	feature, insert the command "ENCODING mime" before the "FILE"
> 	command.  To decode the response(s), you will need "munpack" or
> 	a MIME-compliant mail reader.  Different MIME-compliant mail readers
> 	exhibit different behavior, especially when dealing with
> 	"multipart" MIME messages (i.e. documents which have been split
> 	up into multiple messages), so check your local documentation on
> 	how to manipulate these messages.
> 		
> 		
> Below is the data which will enable a MIME compliant mail reader
> implementation to automatically retrieve the ASCII version of the
> Internet-Draft



From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar  5 13:45:34 2003
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 NAA21245
	for <ldapbis-archive@lists.ietf.org>; Wed, 5 Mar 2003 13:45:34 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25IN0pK058236;
	Wed, 5 Mar 2003 18:46:35 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h25IH93s057770;
	Wed, 5 Mar 2003 18:17:09 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 5 Mar 2003 18:17:09 +0000
Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25IGxno057735;
	Wed, 5 Mar 2003 18:16:59 GMT
	(envelope-from norbert+lists.ietf-ldapbis@burgundy.dyndns.org)
Received: from fwd08.sul.t-online.de 
	by mailout08.sul.t-online.com with smtp 
	id 18qdRp-0001hB-04; Wed, 05 Mar 2003 19:16:57 +0100
Received: from burgundy.dyndns.org (520009743106-0001@[217.82.12.244]) by fmrl08.sul.t-online.com
	with esmtp id 18qdRU-1TPw4uC; Wed, 5 Mar 2003 19:16:36 +0100
Received: from localhost (localhost [127.0.0.1])
	by burgundy.dyndns.org (Postfix) with ESMTP
	id EDBE72C41; Wed,  5 Mar 2003 19:16:32 +0100 (CET)
Received: from [10.10.9.3] (trex.local [10.10.9.3])
	by burgundy.dyndns.org (Postfix) with ESMTP
	id 10D2A2C0E; Wed,  5 Mar 2003 19:16:29 +0100 (CET)
Date: Wed, 05 Mar 2003 19:16:38 +0100
From: Norbert Klasen <norbert+lists.ietf-ldapbis@burgundy.dyndns.org>
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Cc: ietf-ldapbis@OpenLDAP.org
Subject: Re: matching rules for Facsimile Telephone Number
Message-ID: <87888897.1046891798@[10.10.9.3]>
X-Mailer: Mulberry/3.0.2 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; FORMAT=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Virus-Scanned: by AMaViS 0.3.12pre8
X-Sender: 520009743106-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

--On Sonntag, 23. Februar 2003 08:26 -0800 "Kurt D. Zeilenga" 
<Kurt@OpenLDAP.org> wrote:

> The corrigendum not only alters the 'facsimile' attribute type
> description, but introduces two new matching rules.

> It is my opinion (as co-chair) that the LDAPbis cannot take
> on work in this area as our charter states that non-"core"
> schema is beyond our scope.

Kurt,
draft-ietf-ldapbis-syntaxes-05.txt already adds add two matching rules 
(caseIgnoreIA5SubstringsMatch and caseIgnoreListSubstringsMatch) which are 
from RFC 2798 & X.520 and thus strictly speaking not part of the "core" (as 
defined in the wg charter).

How should this matter be progressed? What about an indiviual standards 
track rfc that updates RFC 2252 / 2256 and/or draft-ietf-ldapbis-syntaxes / 
draft-ietf-ldapbis-user-schema?

Norbert




From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar  5 17:16:11 2003
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 RAA02525
	for <ldapbis-archive@lists.ietf.org>; Wed, 5 Mar 2003 17:16:10 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25M30oa081912;
	Wed, 5 Mar 2003 22:17:20 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h25Ltg5t080504;
	Wed, 5 Mar 2003 21:55:42 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 5 Mar 2003 21:55:42 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25Ltdno080469
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 5 Mar 2003 21:55:39 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Wed, 05 Mar 2003 14:55:18 -0700
Message-Id: <se660fd6.029@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.0 
Date: Wed, 05 Mar 2003 14:54:58 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <steven.legg@adacel.com.au>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: RE: How are approxMatch matching rules declared?
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

The -13 version has the assertion syntax wording removed from those
problem areas except substr--not sure why I missed tht one.

I'll work on the "rule" vs "semantics" wording for 14.

Jim

>>> "Steven Legg" <steven.legg@adacel.com.au> 3/2/03 8:30:10 PM >>>

Jim,

Jim Sermersheim wrote:
> Right now it says:
> The matching rule for approxMatch filter items is
> implementation-defined. If approximate matching is not
> supported by the
> server, the filter item should be treated as an equalityMatch.
>
> Does something need to be changed?

Not really (I didn't cross-check the wording before responding to
Hallvard),
however I would say "The matching semantics" rather than "the matching
rule"
so as to NOT give the impression that a proprietary matching rule
definition
is somehow required.

BTW, the assertion syntax for greaterOrEqual, lessOrEqual and
particularly
substrings filter items should be the same as the equality matching
rule
assertion syntax. The current wording erroneously suggests that the
initial,
any and final AssertionValues in a SubstringFilter would each be
SubstringAssertion values (in typical usage).

Regards,
Steven

>
> Jim
>
> >>> "Steven Legg" <steven.legg@adacel.com.au> 2/3/03 10:17:29 AM >>>
>
> Hallvard,
>
> Hallvard B Furuseth wrote:
> > [Models] 4.1.2 (Attribute Types) has no
> >     ["APPROX" SP oid]
> > part which can be used to declare the matching rule which
> > approxMatch filters on the attribute should use.
>
> That's because there are practically no matching rules defined
> which describe approximate matching semantics. For the most
> part, if such a field were defined there would be nothing with
> which to populate it. The semantics of an approximate match
> filter item have always been left to the discretion of the
> server implementations.
>
> > Should that be
> > fixed?  Or must an implementation which wants to use implement
> > approxMatch define a syntax like
> >     ["X-APPROX" SP oid]		; approxMatch matching rule
> > or do something like defining an implicit approx matching rule for
> > each syntax which supports approxMatch filters?
>
> In principle, every attribute type with an equality matching rule
> supports approximate matching though in practice it might not differ
> from the equality match.
>
> > Should [Models] say something about this?
>
> More likely the protocol draft since that is where the search
> operation
> is described.
>
> Regards,
> Steven
>
>



From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar  5 17:33:23 2003
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 RAA03218
	for <ldapbis-archive@lists.ietf.org>; Wed, 5 Mar 2003 17:33:23 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25MN0oa085288;
	Wed, 5 Mar 2003 22:34:29 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h25MJQAb084937;
	Wed, 5 Mar 2003 22:19:26 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 5 Mar 2003 22:19:26 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h25MJNno084917
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 5 Mar 2003 22:19:23 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from nomad.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.8/8.12.8) with ESMTP id h25MJBCa004086;
	Wed, 5 Mar 2003 22:19:11 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20030305114222.024c8108@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Wed, 05 Mar 2003 14:17:27 -0800
To: Norbert Klasen <norbert+lists.ietf-ldapbis@burgundy.dyndns.org>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: matching rules for Facsimile Telephone Number
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <87888897.1046891798@[10.10.9.3]>
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:16 AM 3/5/2003, Norbert Klasen wrote:
>--On Sonntag, 23. Februar 2003 08:26 -0800 "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> wrote:
>
>>The corrigendum not only alters the 'facsimile' attribute type
>>description, but introduces two new matching rules.
>
>>It is my opinion (as co-chair) that the LDAPbis cannot take
>>on work in this area as our charter states that non-"core"
>>schema is beyond our scope.
>
>Kurt,
>draft-ietf-ldapbis-syntaxes-05.txt already adds add two matching rules (caseIgnoreIA5SubstringsMatch and caseIgnoreListSubstringsMatch) which are from RFC 2798 & X.520 and thus strictly speaking not part of the "core" (as defined in the wg charter).

caseIgnoreListSubstringsMatch is considered "core" because one
cannot implement the schema defined in RFC 2256 without
implementing the rule.  The WG has provided an RFC 2252
format schema description to correct a technical omission.
Providing the schema description in no way changes the
semantics previously defined.

caseIgnoreIA5Substringsmach is considered "core" because one
cannot implement the RFC 2253-required 'dc' attribute type
without it.  The matching rule is specified in RFC 1274.
Providing the schema description and incorporating the
technical specification from RFC 1274 does not change
the semantics previously defined.

While one could certainly take the position that these items
are beyond our scope, I have not.  I have taken the charter
restriction to mean, as I believe it was intended, that the
WG is to focus on revising the "core" documents and avoid
taking on (and doing more) than necessary to produce a
TS suitable for publication as a Draft Standard.

Your request is of a different nature.  It asks the WG to
engineer new matching rules/syntaxes (for LDAP [RFC 3377])
and change existing attribute types to use these new
rules/syntaxes instead of their existing ones.

Hence, I have declared the requested work as being beyond
the scope of the WG.

>How should this matter be progressed? What about an indiviual standards track rfc that updates RFC 2252 / 2256 and/or draft-ietf-ldapbis-syntaxes / draft-ietf-ldapbis-user-schema?

If you (and/or others believe) that such an update is appropriate,
I suggest that you author an I-D detailing that update and submit
it to the IETF for consideration.  I don't think "and" is a sensible
option in your "and/or".  Pick one.  I don't think it matters much
which.




From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar  7 04:49:22 2003
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 EAA16598
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 Mar 2003 04:49:22 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h279h3o8058315;
	Fri, 7 Mar 2003 09:50:17 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h279XZ6L057665;
	Fri, 7 Mar 2003 09:33:35 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 7 Mar 2003 09:33:35 +0000
Received: from prv-mail25.provo.novell.com (prv-mail25.provo.novell.com [137.65.81.121])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h279Wino057568
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 7 Mar 2003 09:32:44 GMT
	(envelope-from gvithalprasad@novell.com)
Received: from INET-PRV1-MTA by prv-mail25.provo.novell.com
	with Novell_GroupWise; Fri, 07 Mar 2003 02:32:28 -0700
Message-Id: <se6804bc.067@prv-mail25.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.0 
Date: Fri, 07 Mar 2003 02:32:10 -0700
From: "Vithalprasad Gaitonde" <gvithalprasad@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Extensible match in protocol and filter darfts
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

There seems to be a contradiction on the extensible match filter between
the protocol and filter drafts.
Protocol draft in 4.5.1 on extensible match says "If the matching rule
field is absent, the type field MUST be present, and the equality match
is performed for that type".
The filter draft in 7 (examples) gives an extensible match example of
(:=Fred Filtstone) and says
"The seventh and final example is a filter that should be applied to
   any attribute (since both the attr and matching rule have been
   omitted)."
which is in contradiction to the protocol draft which mandates that at
least attr type or matching rule be present.

May  be its a good idea to reference the protocol draft in the
explanantion of examples section of filter draft as the semantics of the
filter are governed by the protocol draft.
Regards,
Prasad



From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar  7 07:02:28 2003
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 HAA23106
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 Mar 2003 07:02:27 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h27C33o0065240;
	Fri, 7 Mar 2003 12:03:17 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h27BuDP5064737;
	Fri, 7 Mar 2003 11:56:13 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 7 Mar 2003 11:56:13 +0000
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h27BtTno064688
	for <ietf-ldapbis@openldap.org>; Fri, 7 Mar 2003 11:55:30 GMT
	(envelope-from nsyracus@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA21290;
	Fri, 7 Mar 2003 06:53:23 -0500 (EST)
Message-Id: <200303071153.GAA21290@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ietf-ldapbis@OpenLDAP.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ldapbis-user-schema-04.txt
Date: Fri, 07 Mar 2003 06:53:23 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.

	Title		: LDAP:  User Schema
	Author(s)	: K. Dally
	Filename	: draft-ietf-ldapbis-user-schema-04.txt
	Pages		: 25
	Date		: 2003-3-6
	
This document provides an overview of the attribute types and object
classes defined by the ISO/IEC JTC1 and ITU-T committees in the 
IS0/IEC 9594 and X.500 documents, in particular those intended for 
use by directory clients.  This is the most widely used schema for 
LDAP/X.500 directories, and many other schema definitions for white 
pages objects use it as a basis.  This document does not cover 
attributes used for the administration of X.500 directory servers, 
nor does it include attributes defined by other ISO/ITU-T documents.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-user-schema-04.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ldapbis-user-schema-04.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ldapbis-user-schema-04.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-3-6125240.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ldapbis-user-schema-04.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ldapbis-user-schema-04.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-3-6125240.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar  7 07:02:39 2003
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 HAA23154
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 Mar 2003 07:02:39 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h27C33nw065240;
	Fri, 7 Mar 2003 12:03:16 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h27BuIQ1064747;
	Fri, 7 Mar 2003 11:56:18 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 7 Mar 2003 11:56:18 +0000
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h27BtYno064696
	for <ietf-ldapbis@openldap.org>; Fri, 7 Mar 2003 11:55:35 GMT
	(envelope-from nsyracus@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA21309;
	Fri, 7 Mar 2003 06:53:29 -0500 (EST)
Message-Id: <200303071153.GAA21309@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ietf-ldapbis@OpenLDAP.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ldapbis-authmeth-05.txt
Date: Fri, 07 Mar 2003 06:53:28 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.

	Title		: LDAP: Authentication Methods and Connection Level 
                          Security Mechanism
	Author(s)	: R. Harrison
	Filename	: draft-ietf-ldapbis-authmeth-05.txt
	Pages		: 41
	Date		: 2003-3-6
	
This document describes LDAPv3 (Lightweight Directory Access 
Protocol v3) authentication methods and connection level security 
mechanisms that are required of all conforming LDAPv3 server 
implementations and makes recommendations for combinations of these 
mechanisms to be used in various deployment circumstances.  
Among the mechanisms described are 
- various forms of authentication including anonymous 
authentication, password-based authentication, and certificate 
based authentication 
- the use of SASL mechanisms with LDAPv3 
- the use of TLS (Transport Layer Security) with LDAPv3 
- the various authentication and authorization states through 
which a connection to an LDAP server may pass and the actions 
that trigger these state changes.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-authmeth-05.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ldapbis-authmeth-05.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ldapbis-authmeth-05.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-3-6125249.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ldapbis-authmeth-05.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ldapbis-authmeth-05.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-3-6125249.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar  7 16:01:09 2003
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 QAA02813
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 Mar 2003 16:01:08 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h27Kh4og005250;
	Fri, 7 Mar 2003 21:02:17 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h27KbjX2004423;
	Fri, 7 Mar 2003 20:37:45 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 7 Mar 2003 20:37:45 +0000
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h27Kbfno004394
	for <ietf-ldapbis@openldap.org>; Fri, 7 Mar 2003 20:37:41 GMT
	(envelope-from dinaras@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA29414;
	Fri, 7 Mar 2003 15:35:34 -0500 (EST)
Message-Id: <200303072035.PAA29414@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ietf-ldapbis@OpenLDAP.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ldapbis-dn-09.txt
Date: Fri, 07 Mar 2003 15:35:34 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.

	Title		: LDAP:String Representation of Distinguished Names
	Author(s)	: K. Zeilenga
	Filename	: draft-ietf-ldapbis-dn-09.txt
	Pages		: 14
	Date		: 2003-3-7
	
The X.500 Directory uses distinguished names (DNs) as primary keys to
entries in the directory.  This document defines the string
representation used in the Lightweight Directory Access Protocol
(LDAP) to transfer distinguished names.  The string representation is
designed to give a clean representation of commonly used distinguished
names, while being able to represent any distinguished name.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-dn-09.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ldapbis-dn-09.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ldapbis-dn-09.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-3-7150809.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ldapbis-dn-09.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ldapbis-dn-09.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-3-7150809.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar  7 16:01:14 2003
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 QAA02837
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 Mar 2003 16:01:12 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h27Kh4ok005250;
	Fri, 7 Mar 2003 21:02:19 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h27KbaWu004357;
	Fri, 7 Mar 2003 20:37:36 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 7 Mar 2003 20:37:36 +0000
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h27KbWno004338
	for <ietf-ldapbis@openldap.org>; Fri, 7 Mar 2003 20:37:33 GMT
	(envelope-from dinaras@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA29380;
	Fri, 7 Mar 2003 15:35:26 -0500 (EST)
Message-Id: <200303072035.PAA29380@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ietf-ldapbis@OpenLDAP.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ldapbis-roadmap-02.txt
Date: Fri, 07 Mar 2003 15:35:25 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.

	Title		: LDAP: Technical Specification Road Map
	Author(s)	: K. Zeilenga
	Filename	: draft-ietf-ldapbis-roadmap-02.txt
	Pages		: 5
	Date		: 2003-3-7
	
The Lightweight Directory Access Protocol (LDAP) is an Internet
protocol for accessing distributed directory services which act in
accordance with X.500 data and service models.  This document provides
a roadmap of the LDAP Technical Specification.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-roadmap-02.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ldapbis-roadmap-02.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ldapbis-roadmap-02.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-3-7150752.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ldapbis-roadmap-02.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ldapbis-roadmap-02.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-3-7150752.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar  7 16:01:17 2003
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 QAA02852
	for <ldapbis-archive@lists.ietf.org>; Fri, 7 Mar 2003 16:01:15 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h27Kh4oi005250;
	Fri, 7 Mar 2003 21:02:18 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h27KbOqq004313;
	Fri, 7 Mar 2003 20:37:24 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 7 Mar 2003 20:37:24 +0000
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h27KbLno004298
	for <ietf-ldapbis@openldap.org>; Fri, 7 Mar 2003 20:37:21 GMT
	(envelope-from dinaras@cnri.reston.va.us)
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA29335;
	Fri, 7 Mar 2003 15:35:14 -0500 (EST)
Message-Id: <200303072035.PAA29335@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
Cc: ietf-ldapbis@OpenLDAP.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: I-D ACTION:draft-ietf-ldapbis-models-07.txt
Date: Fri, 07 Mar 2003 15:35:14 -0500
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>

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.

	Title		: LDAP: Directory Information Models
	Author(s)	: K. Zeilenga
	Filename	: draft-ietf-ldapbis-models-07.txt
	Pages		: 49
	Date		: 2003-3-7
	
The Lightweight Directory Access Protocol (LDAP) is an Internet
protocol for accessing distributed directory services which act in
accordance with X.500 data and service models.  This document
describes the X.500 Directory Information Models.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-models-07.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-ietf-ldapbis-models-07.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-ietf-ldapbis-models-07.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-3-7150730.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-ietf-ldapbis-models-07.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-ietf-ldapbis-models-07.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-3-7150730.I-D@ietf.org>

--OtherAccess--

--NextPart--




From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 13 10:43:23 2003
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 KAA05986
	for <ldapbis-archive@lists.ietf.org>; Thu, 13 Mar 2003 10:43:23 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2DFhGns024107;
	Thu, 13 Mar 2003 15:44:29 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h2DFgOlj024063;
	Thu, 13 Mar 2003 15:42:24 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 13 Mar 2003 15:42:24 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2DFgLno024047
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 13 Mar 2003 15:42:21 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from nomad.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.8/8.12.8) with ESMTP id h2DFgDCa072931
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 13 Mar 2003 15:42:13 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20030313072947.04453678@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Thu, 13 Mar 2003 07:40:22 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: LDAP DN: static table/registry approach
In-Reply-To: <200303072035.PAA29414@ietf.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>

draft-ietf-ldapbis-dn details the "static table" approach
previously adopted by the WG. It was recently updated, see below.
draft-zeilenga-ldapbis-rfc2253 details a "registry" approach.
I had intended to update it as well, but due an error on my part,
this update will not be announced until after IETF#56.  However,
I think the revision currently available is good enough to
consider the following question:

Should the WG pursue the "registry" approach as discussed in
draft-zeilenga-ldapbis-rfc2253 in favor of the "static table"
approach discussed in draft-ietf-ldapbis-dn?

Comments?

Kurt, as editor



From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 13 10:52:13 2003
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 KAA06340
	for <ldapbis-archive@lists.ietf.org>; Thu, 13 Mar 2003 10:52:12 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2DFrGns024744;
	Thu, 13 Mar 2003 15:53:19 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h2DFmXpk024531;
	Thu, 13 Mar 2003 15:48:33 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 13 Mar 2003 15:48:33 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2DFmUno024520
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 13 Mar 2003 15:48:30 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from nomad.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.8/8.12.8) with ESMTP id h2DFmHCa073015
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 13 Mar 2003 15:48:20 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20030313074041.04458d58@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Thu, 13 Mar 2003 07:46:18 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: I-D ACTION:draft-ietf-ldapbis-models-07.txt
In-Reply-To: <200303072035.PAA29335@ietf.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>

In this revision, I have attempted to address issues raised
during the WG Last Call.  Please review.  Kurt


At 12:35 PM 3/7/2003, Internet-Drafts@ietf.org wrote:
>A New Internet-Draft is available from the on-line Internet-Drafts directories.
>This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.
>
>        Title           : LDAP: Directory Information Models
>        Author(s)       : K. Zeilenga
>        Filename        : draft-ietf-ldapbis-models-07.txt
>        Pages           : 49
>        Date            : 2003-3-7
>        
>The Lightweight Directory Access Protocol (LDAP) is an Internet
>protocol for accessing distributed directory services which act in
>accordance with X.500 data and service models.  This document
>describes the X.500 Directory Information Models.
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-models-07.txt
>
>To remove yourself from the IETF Announcement list, send a message to 
>ietf-announce-request with the word unsubscribe in the body of the message.
>
>Internet-Drafts are also available by anonymous FTP. Login with the username
>"anonymous" and a password of your e-mail address. After logging in,
>type "cd internet-drafts" and then
>        "get draft-ietf-ldapbis-models-07.txt".
>
>A list of Internet-Drafts directories can be found in
>http://www.ietf.org/shadow.html 
>or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>
>
>Internet-Drafts can also be obtained by e-mail.
>
>Send a message to:
>        mailserv@ietf.org.
>In the body type:
>        "FILE /internet-drafts/draft-ietf-ldapbis-models-07.txt".
>        
>NOTE:   The mail server at ietf.org can return the document in
>        MIME-encoded form by using the "mpack" utility.  To use this
>        feature, insert the command "ENCODING mime" before the "FILE"
>        command.  To decode the response(s), you will need "munpack" or
>        a MIME-compliant mail reader.  Different MIME-compliant mail readers
>        exhibit different behavior, especially when dealing with
>        "multipart" MIME messages (i.e. documents which have been split
>        up into multiple messages), so check your local documentation on
>        how to manipulate these messages.
>                
>                
>Below is the data which will enable a MIME compliant mail reader
>implementation to automatically retrieve the ASCII version of the
>Internet-Draft.
>Content-Type: text/plain
>Content-ID:     <2003-3-7150730.I-D@ietf.org>
>
>ENCODING mime
>FILE /internet-drafts/draft-ietf-ldapbis-models-07.txt
>
><ftp://ftp.ietf.org/internet-drafts/draft-ietf-ldapbis-models-07.txt>



From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 13 11:02:01 2003
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 LAA06737
	for <ldapbis-archive@lists.ietf.org>; Thu, 13 Mar 2003 11:02:01 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2DG3Gns025336;
	Thu, 13 Mar 2003 16:03:18 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h2DFt1dH024813;
	Thu, 13 Mar 2003 15:55:01 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 13 Mar 2003 15:55:01 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2DFswno024799
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 13 Mar 2003 15:54:58 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from nomad.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.8/8.12.8) with ESMTP id h2DFsnCa073074
	for <ietf-ldapbis@openldap.org>; Thu, 13 Mar 2003 15:54:49 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20030313074856.04457f10@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Thu, 13 Mar 2003 07:52:59 -0800
To: ietf-ldapbis@OpenLDAP.org
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: I-D ACTION:draft-ietf-ldapbis-roadmap-02.txt
In-Reply-To: <200303072035.PAA29380@ietf.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>

In this revision, the statement:
  This technical specification explicitly incorporates portions of
  X.500(93).  Later revisions of X.500 do not automatically apply.

was added to clarify that changes to X.500 do not automatically
apply to LDAP.  Changes must be adapted for use in LDAP.

Kurt

At 12:35 PM 3/7/2003, you wrote:
>A New Internet-Draft is available from the on-line Internet-Drafts directories.
>This draft is a work item of the LDAP (v3) Revision Working Group of the IETF.
>
>        Title           : LDAP: Technical Specification Road Map
>        Author(s)       : K. Zeilenga
>        Filename        : draft-ietf-ldapbis-roadmap-02.txt
>        Pages           : 5
>        Date            : 2003-3-7
>        
>The Lightweight Directory Access Protocol (LDAP) is an Internet
>protocol for accessing distributed directory services which act in
>accordance with X.500 data and service models.  This document provides
>a roadmap of the LDAP Technical Specification.
>
>A URL for this Internet-Draft is:
>http://www.ietf.org/internet-drafts/draft-ietf-ldapbis-roadmap-02.txt
>
>To remove yourself from the IETF Announcement list, send a message to 
>ietf-announce-request with the word unsubscribe in the body of the message.
>
>Internet-Drafts are also available by anonymous FTP. Login with the username
>"anonymous" and a password of your e-mail address. After logging in,
>type "cd internet-drafts" and then
>        "get draft-ietf-ldapbis-roadmap-02.txt".
>
>A list of Internet-Drafts directories can be found in
>http://www.ietf.org/shadow.html 
>or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>
>
>Internet-Drafts can also be obtained by e-mail.
>
>Send a message to:
>        mailserv@ietf.org.
>In the body type:
>        "FILE /internet-drafts/draft-ietf-ldapbis-roadmap-02.txt".
>        
>NOTE:   The mail server at ietf.org can return the document in
>        MIME-encoded form by using the "mpack" utility.  To use this
>        feature, insert the command "ENCODING mime" before the "FILE"
>        command.  To decode the response(s), you will need "munpack" or
>        a MIME-compliant mail reader.  Different MIME-compliant mail readers
>        exhibit different behavior, especially when dealing with
>        "multipart" MIME messages (i.e. documents which have been split
>        up into multiple messages), so check your local documentation on
>        how to manipulate these messages.
>                
>                
>Below is the data which will enable a MIME compliant mail reader
>implementation to automatically retrieve the ASCII version of the
>Internet-Draft.
>Content-Type: text/plain
>Content-ID:     <2003-3-7150752.I-D@ietf.org>
>
>ENCODING mime
>FILE /internet-drafts/draft-ietf-ldapbis-roadmap-02.txt
>
><ftp://ftp.ietf.org/internet-drafts/draft-ietf-ldapbis-roadmap-02.txt>



From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 13 15:08:49 2003
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 PAA16188
	for <ldapbis-archive@lists.ietf.org>; Thu, 13 Mar 2003 15:08:48 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2DK3HoA043356;
	Thu, 13 Mar 2003 20:09:45 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h2DJxuV8043191;
	Thu, 13 Mar 2003 19:59:56 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 13 Mar 2003 19:59:56 +0000
Received: from netscape.com (c3po.aoltw.net [64.236.137.25])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2DJxqno043137;
	Thu, 13 Mar 2003 19:59:52 GMT
	(envelope-from mcs@netscape.com)
Received: from judge.mcom.com (judge.nscp.aoltw.net [10.169.8.47])
	by netscape.com (8.10.0/8.10.0) with ESMTP id h2DJxGl26318;
	Thu, 13 Mar 2003 11:59:16 -0800 (PST)
Received: from netscape.com ([10.178.168.15]) by judge.mcom.com
          (Netscape Messaging Server 4.15) with ESMTP id HBPE6T01.F1P;
          Thu, 13 Mar 2003 11:59:17 -0800 
Message-ID: <3E70E314.30803@netscape.com>
Date: Thu, 13 Mar 2003 14:59:16 -0500
From: mcs@netscape.com (Mark C Smith)
Organization: Netscape Communications Corp.
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3b) Gecko/20030211
X-Accept-Language: English/United States [en-US],English [en]
MIME-Version: 1.0
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: LDAP DN: static table/registry approach
References: <5.2.0.9.0.20030313072947.04453678@127.0.0.1>
In-Reply-To: <5.2.0.9.0.20030313072947.04453678@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:
>
> draft-ietf-ldapbis-dn details the "static table" approach
> previously adopted by the WG. It was recently updated, see below.
> draft-zeilenga-ldapbis-rfc2253 details a "registry" approach.
> I had intended to update it as well, but due an error on my part,
> this update will not be announced until after IETF#56.  However,
> I think the revision currently available is good enough to
> consider the following question:
> 
> Should the WG pursue the "registry" approach as discussed in
> draft-zeilenga-ldapbis-rfc2253 in favor of the "static table"
> approach discussed in draft-ietf-ldapbis-dn?

I prefer the registry approach, since I think there is some pressure 
from real users to avoid OIDs in LDAP DNs.

Maybe I missed it, but would this be a new IANA registry?

-Mark



From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 13 16:08:06 2003
Received: from galois.openldap.org (galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA19236
	for <ldapbis-archive@lists.ietf.org>; Thu, 13 Mar 2003 16:08:05 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2DL3Go8048314;
	Thu, 13 Mar 2003 21:09:21 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h2DKtYrS047693;
	Thu, 13 Mar 2003 20:55:34 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 13 Mar 2003 20:55:34 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2DKtWno047683
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 13 Mar 2003 20:55:32 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from nomad.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.8/8.12.8) with ESMTP id h2DKsxCa075266;
	Thu, 13 Mar 2003 20:54:59 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20030313124746.04473e88@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Thu, 13 Mar 2003 12:53:08 -0800
To: mcs@netscape.com (Mark C Smith)
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: LDAP DN: static table/registry approach
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <3E70E314.30803@netscape.com>
References: <5.2.0.9.0.20030313072947.04453678@127.0.0.1>
 <5.2.0.9.0.20030313072947.04453678@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:59 AM 3/13/2003, Mark C Smith wrote:
>Maybe I missed it, but would this be a new IANA registry? 

draft-zeilenga-ldapbis-rfc2253 proposes to use the
"Object Identifier Descriptors" (short names) registry
established by BCP 64 [RFC 3383]. 



From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 13 16:08:29 2003
Received: from galois.openldap.org (galois.openldap.org [204.152.186.51])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA19259
	for <ldapbis-archive@lists.ietf.org>; Thu, 13 Mar 2003 16:08:28 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2DKuPom047725;
	Thu, 13 Mar 2003 21:09:43 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h2DKClSD044512;
	Thu, 13 Mar 2003 20:12:47 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 13 Mar 2003 20:12:47 +0000
Received: from netscape.com (r2d2.aoltw.net [64.236.137.26])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2DKCino044419
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 13 Mar 2003 20:12:44 GMT
	(envelope-from mcs@netscape.com)
Received: from judge.mcom.com (judge.nscp.aoltw.net [10.169.8.47])
	by netscape.com (8.10.0/8.10.0) with ESMTP id h2DKCNR06218
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 13 Mar 2003 12:12:23 -0800 (PST)
Received: from netscape.com ([10.178.168.15]) by judge.mcom.com
          (Netscape Messaging Server 4.15) with ESMTP id HBPESV01.X1I;
          Thu, 13 Mar 2003 12:12:31 -0800 
Message-ID: <3E70E626.1060009@netscape.com>
Date: Thu, 13 Mar 2003 15:12:22 -0500
From: mcs@netscape.com (Mark C Smith)
Organization: Netscape Communications Corp.
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3b) Gecko/20030211
X-Accept-Language: English/United States [en-US],English [en]
MIME-Version: 1.0
To: Vithalprasad Gaitonde <gvithalprasad@novell.com>
CC: ietf-ldapbis@OpenLDAP.org
Subject: Re: Extensible match in protocol and filter darfts
References: <se6804bc.067@prv-mail25.provo.novell.com>
In-Reply-To: <se6804bc.067@prv-mail25.provo.novell.com>
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

Vithalprasad Gaitonde wrote:
> There seems to be a contradiction on the extensible match filter between
> the protocol and filter drafts.
> Protocol draft in 4.5.1 on extensible match says "If the matching rule
> field is absent, the type field MUST be present, and the equality match
> is performed for that type".
> The filter draft in 7 (examples) gives an extensible match example of
> (:=Fred Filtstone) and says
> "The seventh and final example is a filter that should be applied to
>    any attribute (since both the attr and matching rule have been
>    omitted)."
> which is in contradiction to the protocol draft which mandates that at
> least attr type or matching rule be present.
> 
> May  be its a good idea to reference the protocol draft in the
> explanantion of examples section of filter draft as the semantics of the
> filter are governed by the protocol draft.

I am not sure we need an explicit reference to the protocol document in 
that section, but I will definitely remove this particular example from 
the filter document (it is not in RFC 2254). Thanks for catching this error.

-Mark



From owner-ietf-ldapbis@OpenLDAP.org  Wed Mar 26 14:44:42 2003
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 OAA09362
	for <ldapbis-archive@lists.ietf.org>; Wed, 26 Mar 2003 14:44:41 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2QJhhnu062069;
	Wed, 26 Mar 2003 19:45:52 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h2QJdE2p061700;
	Wed, 26 Mar 2003 19:39:14 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Wed, 26 Mar 2003 19:39:14 +0000
Received: from smtp.opengroup.org (smtp.opengroup.org [192.153.166.4])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2QJd9no061625
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 26 Mar 2003 19:39:09 GMT
	(envelope-from c.harding@opengroup.org)
Received: from CHRIS-H.opengroup.org (dhcp192-153-166-41.rdg.opengroup.org [192.153.166.41])
	by smtp.opengroup.org (8.11.6/8.11.6) with ESMTP id h2QJckG19053
	for <ietf-ldapbis@OpenLDAP.org>; Wed, 26 Mar 2003 19:38:46 GMT
Message-Id: <5.1.0.14.1.20030326191027.00a882f8@mailhome.rdg.opengroup.org>
X-Sender: cjh@mailhome.rdg.opengroup.org
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 26 Mar 2003 19:22:56 +0000
To: ietf-ldapbis@OpenLDAP.org
From: Chris Harding <c.harding@opengroup.org>
Subject: What Does De-Reference Mean?
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>

Hi -

The interpretation of the LDAP RFCs as regards dereferencing has become an 
issue for the new certification program that The Open Group plans to launch 
for LDAP servers. We have discussed it in the Directory Interoperability 
Forum, and agreed that we should ask the experts in the ldapbis group. 
Accordingly, I would like to ask your help in clarifying this issue.

Here's the issue. The requirement in the specification is:

        When a server receives a search request with the derefAliases field
        set to derefInSearching then it will dereference aliases in 
subordinates
        of the base object in searching.

We have a test suite for use in the certification program. The suite 
includes a test of this requirement (which is in fact derived from a test 
in BLITS). The test data includes two entries: Jonathan Adams and Jonny 
Adams. The Jonny Adams entry is an alias for Jonathan Adams.

The test should check that Jonny Adams is de-referenced and Jonathan Adams 
is returned. The question is, should the test search for Jonny or for 
Jonathan.

RFC 2251 does not explain dereferencing but defers to X.501. Unfortunately, 
X.501 does not seem to explain it very well. My personal interpretation 
after reading it is that, whenever a server encounters an alias entry in 
the course of a search and dereferencing has been requested, the server 
should dereference the alias and carry on searching from the entry that the 
alias points to. Under this interpretation, a search for Jonny should 
return the same result as a search for Jonathan - the Jonathan Adams entry.

I don't claim to be an expert on the interpretation of the specifications - 
but I hope that experts in the IETF community can shed light on this!

Please send your comments to the ldapbis list. I will report the consensus 
(assuming that one is reached) to the DIF.

Regards,

Chris
+++++

========================================================================
            Dr. Christopher J. Harding
   T H E    Executive Director for the Directory Interoperability Forum
  O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
            WWW: http://www.opengroup.org Mobile: +44 774 063 1520
========================================================================

             The Open Group's Consortia Services - Association Management 
For I.T.:
             http://www.opengroup.org/consortia_services

========================================================================



From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 27 00:22:46 2003
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 AAA03161
	for <ldapbis-archive@lists.ietf.org>; Thu, 27 Mar 2003 00:22:46 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2R5Nins081792;
	Thu, 27 Mar 2003 05:24:05 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h2R5GWCR081551;
	Thu, 27 Mar 2003 05:16:32 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 27 Mar 2003 05:16:32 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2R5GUno081538
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 27 Mar 2003 05:16:30 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Wed, 26 Mar 2003 22:16:09 -0700
Message-Id: <se8226a9.079@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.0 
Date: Wed, 26 Mar 2003 22:15:38 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <c.harding@opengroup.org>, <ietf-ldapbis@OpenLDAP.org>
Subject: Re: What Does De-Reference Mean?
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

If I remember right, the search filter is something like (cn=Jonny). If
derefInSearching is set, then my read says that the search will not
return an entry. Though not explicitly stated, I think the notion is
that an entry is dereferenced before the filter is applied, not the
other way around. Therefore, if the search filter is (cn=Johny), and
we're dereferencing while searching, we would first dereference the
Jonny object to the Johnathan object, then apply the filter to the
Johnathen object.

Jim

>>> Chris Harding <c.harding@opengroup.org> 3/26/03 12:22:56 PM >>>
Hi -

The interpretation of the LDAP RFCs as regards dereferencing has become
an 
issue for the new certification program that The Open Group plans to
launch 
for LDAP servers. We have discussed it in the Directory
Interoperability 
Forum, and agreed that we should ask the experts in the ldapbis group.

Accordingly, I would like to ask your help in clarifying this issue.

Here's the issue. The requirement in the specification is:

        When a server receives a search request with the derefAliases
field
        set to derefInSearching then it will dereference aliases in 
subordinates
        of the base object in searching.

We have a test suite for use in the certification program. The suite 
includes a test of this requirement (which is in fact derived from a
test 
in BLITS). The test data includes two entries: Jonathan Adams and Jonny

Adams. The Jonny Adams entry is an alias for Jonathan Adams.

The test should check that Jonny Adams is de-referenced and Jonathan
Adams 
is returned. The question is, should the test search for Jonny or for 
Jonathan.

RFC 2251 does not explain dereferencing but defers to X.501.
Unfortunately, 
X.501 does not seem to explain it very well. My personal interpretation

after reading it is that, whenever a server encounters an alias entry
in 
the course of a search and dereferencing has been requested, the server

should dereference the alias and carry on searching from the entry that
the 
alias points to. Under this interpretation, a search for Jonny should 
return the same result as a search for Jonathan - the Jonathan Adams
entry.

I don't claim to be an expert on the interpretation of the
specifications - 
but I hope that experts in the IETF community can shed light on this!

Please send your comments to the ldapbis list. I will report the
consensus 
(assuming that one is reached) to the DIF.

Regards,

Chris
+++++

========================================================================
            Dr. Christopher J. Harding
   T H E    Executive Director for the Directory Interoperability
Forum
  O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
            WWW: http://www.opengroup.org Mobile: +44 774 063 1520
========================================================================

             The Open Group's Consortia Services - Association
Management 
For I.T.:
             http://www.opengroup.org/consortia_services 

========================================================================



From owner-ietf-ldapbis@OpenLDAP.org  Thu Mar 27 19:00:21 2003
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 TAA27145
	for <ldapbis-archive@lists.ietf.org>; Thu, 27 Mar 2003 19:00:20 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2RNrko8053840;
	Fri, 28 Mar 2003 00:01:34 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h2RNjAu0053325;
	Thu, 27 Mar 2003 23:45:10 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Thu, 27 Mar 2003 23:45:10 +0000
Received: from pretender.boolean.net (root@router.boolean.net [198.144.206.49])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2RNj7no053299
	for <ietf-ldapbis@OpenLDAP.org>; Thu, 27 Mar 2003 23:45:07 GMT
	(envelope-from Kurt@OpenLDAP.org)
Received: from nomad.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.8/8.12.8) with ESMTP id h2RNirBT098629;
	Thu, 27 Mar 2003 23:44:54 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20030326115024.01a38340@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Thu, 27 Mar 2003 15:42:53 -0800
To: Chris Harding <c.harding@opengroup.org>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: What Does De-Reference Mean?
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <5.1.0.14.1.20030326191027.00a882f8@mailhome.rdg.opengroup.
 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>

It should be clear that each and every entry returned in
response to a search request did match the search filter.  That
is, if the filter is (CN=foo) than each entry returned has "foo"
as a (not necessarily returned) value of an attribute whose
type is CN or a subtype of CN.

When dereferencing during searching (by derefInSearching or
derefAlways), the filter should be matched against the entry which
the alias refers to, not the alias itself.

If the client asks for all alias objects, e.g, (objectClass=alias)
with dereferencing during finding enabled, then no entries should
be returned.  Likewise, when requesting (objectClass=*) with
dereferencing during finding enabled, none of entries returned
should belong to the alias objectClass.

So, to answer your specific question, it is not relevant to
the matching what values of CN the 'alias' has. The values
of the aliased entry are, however, quite relevant.

Kurt

 
At 11:22 AM 3/26/2003, Chris Harding wrote:
>Hi -
>
>The interpretation of the LDAP RFCs as regards dereferencing has become an issue for the new certification program that The Open Group plans to launch for LDAP servers. We have discussed it in the Directory Interoperability Forum, and agreed that we should ask the experts in the ldapbis group. Accordingly, I would like to ask your help in clarifying this issue.
>
>Here's the issue. The requirement in the specification is:
>
>       When a server receives a search request with the derefAliases field
>       set to derefInSearching then it will dereference aliases in subordinates
>       of the base object in searching.
>
>We have a test suite for use in the certification program. The suite includes a test of this requirement (which is in fact derived from a test in BLITS). The test data includes two entries: Jonathan Adams and Jonny Adams. The Jonny Adams entry is an alias for Jonathan Adams.
>
>The test should check that Jonny Adams is de-referenced and Jonathan Adams is returned. The question is, should the test search for Jonny or for Jonathan.
>
>RFC 2251 does not explain dereferencing but defers to X.501. Unfortunately, X.501 does not seem to explain it very well. My personal interpretation after reading it is that, whenever a server encounters an alias entry in the course of a search and dereferencing has been requested, the server should dereference the alias and carry on searching from the entry that the alias points to. Under this interpretation, a search for Jonny should return the same result as a search for Jonathan - the Jonathan Adams entry.
>
>I don't claim to be an expert on the interpretation of the specifications - but I hope that experts in the IETF community can shed light on this!
>
>Please send your comments to the ldapbis list. I will report the consensus (assuming that one is reached) to the DIF.
>
>Regards,
>
>Chris
>+++++
>
>========================================================================
>           Dr. Christopher J. Harding
>  T H E    Executive Director for the Directory Interoperability Forum
> O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
>G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
>           WWW: http://www.opengroup.org Mobile: +44 774 063 1520
>========================================================================
>
>            The Open Group's Consortia Services - Association Management For I.T.:
>            http://www.opengroup.org/consortia_services
>
>========================================================================



From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 28 11:24:16 2003
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 LAA05667
	for <ldapbis-archive@lists.ietf.org>; Fri, 28 Mar 2003 11:24:15 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2SGNlns095709;
	Fri, 28 Mar 2003 16:24:52 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h2SGGum5095099;
	Fri, 28 Mar 2003 16:16:56 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 28 Mar 2003 16:16:56 +0000
Received: from smtp.opengroup.org (smtp.opengroup.org [192.153.166.4])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2SGGnno095065;
	Fri, 28 Mar 2003 16:16:49 GMT
	(envelope-from c.harding@opengroup.org)
Received: from CHRIS-H.opengroup.org (woodrising.demon.co.uk [193.237.13.31])
	by smtp.opengroup.org (8.11.6/8.11.6) with ESMTP id h2SGGcf04188;
	Fri, 28 Mar 2003 16:16:39 GMT
Message-Id: <5.1.0.14.1.20030328155129.00ae2118@mailhome.rdg.opengroup.org>
X-Sender: cjh@mailhome.rdg.opengroup.org
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Fri, 28 Mar 2003 16:18:01 +0000
To: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
From: Chris Harding <c.harding@opengroup.org>
Subject: Re: What Does De-Reference Mean?
Cc: ietf-ldapbis@OpenLDAP.org, a.thackrah@opengroup.org,
        dif-members@opengroup.org
In-Reply-To: <5.2.0.9.0.20030326115024.01a38340@127.0.0.1>
References: <5.1.0.14.1.20030326191027.00a882f8@mailhome.rdg.opengroup. org>
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>

Hi, Kurt -

Thanks for this response. It clearly implies that if there is an entry 
"Jonathan Adams" and an alias entry "Jonny Adams" that points to it then:

    - a search for "Jonathan Adams" with alias dereferencing requested
      should return the Jonathan Adams entry

    - a search for "Jonny Adams" with alias dereferencing requested
      should not return either entry.

Does anyone disagree with this interpretation?

At 15:42 27/03/2003 -0800, Kurt D. Zeilenga wrote:
>It should be clear that each and every entry returned in
>response to a search request did match the search filter.  That
>is, if the filter is (CN=foo) than each entry returned has "foo"
>as a (not necessarily returned) value of an attribute whose
>type is CN or a subtype of CN.
>
>When dereferencing during searching (by derefInSearching or
>derefAlways), the filter should be matched against the entry which
>the alias refers to, not the alias itself.
>
>If the client asks for all alias objects, e.g, (objectClass=alias)
>with dereferencing during finding enabled, then no entries should
>be returned.  Likewise, when requesting (objectClass=*) with
>dereferencing during finding enabled, none of entries returned
>should belong to the alias objectClass.
>
>So, to answer your specific question, it is not relevant to
>the matching what values of CN the 'alias' has. The values
>of the aliased entry are, however, quite relevant.
>
>Kurt
>
>
>At 11:22 AM 3/26/2003, Chris Harding wrote:
> >Hi -
> >
> >The interpretation of the LDAP RFCs as regards dereferencing has become 
> an issue for the new certification program that The Open Group plans to 
> launch for LDAP servers. We have discussed it in the Directory 
> Interoperability Forum, and agreed that we should ask the experts in the 
> ldapbis group. Accordingly, I would like to ask your help in clarifying 
> this issue.
> >
> >Here's the issue. The requirement in the specification is:
> >
> >       When a server receives a search request with the derefAliases field
> >       set to derefInSearching then it will dereference aliases in 
> subordinates
> >       of the base object in searching.
> >
> >We have a test suite for use in the certification program. The suite 
> includes a test of this requirement (which is in fact derived from a test 
> in BLITS). The test data includes two entries: Jonathan Adams and Jonny 
> Adams. The Jonny Adams entry is an alias for Jonathan Adams.
> >
> >The test should check that Jonny Adams is de-referenced and Jonathan 
> Adams is returned. The question is, should the test search for Jonny or 
> for Jonathan.
> >
> >RFC 2251 does not explain dereferencing but defers to X.501. 
> Unfortunately, X.501 does not seem to explain it very well. My personal 
> interpretation after reading it is that, whenever a server encounters an 
> alias entry in the course of a search and dereferencing has been 
> requested, the server should dereference the alias and carry on searching 
> from the entry that the alias points to. Under this interpretation, a 
> search for Jonny should return the same result as a search for Jonathan - 
> the Jonathan Adams entry.
> >
> >I don't claim to be an expert on the interpretation of the 
> specifications - but I hope that experts in the IETF community can shed 
> light on this!
> >
> >Please send your comments to the ldapbis list. I will report the 
> consensus (assuming that one is reached) to the DIF.
> >
> >Regards,
> >
> >Chris
> >+++++
> >
> >========================================================================
> >           Dr. Christopher J. Harding
> >  T H E    Executive Director for the Directory Interoperability Forum
> > O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
> >G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
> >           WWW: http://www.opengroup.org Mobile: +44 774 063 1520
> >========================================================================
> >
> >            The Open Group's Consortia Services - Association Management 
> For I.T.:
> >            http://www.opengroup.org/consortia_services
> >
> >========================================================================


Regards,

Chris
+++++

========================================================================
            Dr. Christopher J. Harding
   T H E    Executive Director for the Directory Interoperability Forum
  O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
            WWW: http://www.opengroup.org Mobile: +44 774 063 1520
========================================================================

             The Open Group's Consortia Services - Association Management 
For I.T.:
             http://www.opengroup.org/consortia_services

========================================================================



From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 28 12:37:53 2003
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 MAA09383
	for <ldapbis-archive@lists.ietf.org>; Fri, 28 Mar 2003 12:37:52 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2SHXlnw001826;
	Fri, 28 Mar 2003 17:39:09 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h2SHP8Hn001058;
	Fri, 28 Mar 2003 17:25:08 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Fri, 28 Mar 2003 17:25:08 +0000
Received: from e1.ny.us.ibm.com (e1.ny.us.ibm.com [32.97.182.101])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2SHP4no001030
	for <ietf-ldapbis@OpenLDAP.org>; Fri, 28 Mar 2003 17:25:04 GMT
	(envelope-from jmcmeek@us.ibm.com)
Received: from northrelay03.pok.ibm.com (northrelay03.pok.ibm.com [9.56.224.151])
	by e1.ny.us.ibm.com (8.12.8/8.12.2) with ESMTP id h2SHOUYw166682;
	Fri, 28 Mar 2003 12:24:30 -0500
Received: from d27ml001.rchland.ibm.com (d01av03.pok.ibm.com [9.56.224.217])
	by northrelay03.pok.ibm.com (8.12.8/NCO/VER6.5) with ESMTP id h2SHORv3085908;
	Fri, 28 Mar 2003 12:24:28 -0500
Subject: Re: What Does De-Reference Mean?
To: Chris Harding <c.harding@opengroup.org>
Cc: ietf-ldapbis@OpenLDAP.org
X-Mailer: Lotus Notes Release 5.0.11   July 24, 2002
Message-ID: <OF7B6F2DBA.ADF3B6A5-ON86256CF7.005E9935-86256CF7.005FA005@us.ibm.com>
From: John McMeeking <jmcmeek@us.ibm.com>
Date: Fri, 28 Mar 2003 11:24:27 -0600
X-MIMETrack: Serialize by Router on d27ml001/27/M/IBM(Release 6.0.1|February 07, 2003) at
 03/28/2003 11:24:29
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>





Is this discussion purely for the purpose of determining the correct
behavior of test cases?  Or, are the test cases mentioned implementing some
recommended approach to handling some issue (hopefully not defining
nicknames for users)?

I ask because in my experience, aliases are not well understood, which
makes them easy to misuse, and there are often significant performance
impacts.

If this is just for a test case, fine.  But I'd like to know if this
associated with some directory usage guidelines.


John  McMeeking



                                                                                                                                
                      Chris Harding                                                                                             
                      <c.harding@opengroup        To:       "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>                              
                      .org>                       cc:       ietf-ldapbis@OpenLDAP.org, a.thackrah@opengroup.org,                
                      Sent by:                     dif-members@opengroup.org                                                    
                      owner-ietf-ldapbis@O        Subject:  Re: What Does De-Reference Mean?                                    
                      penLDAP.org                                                                                               
                                                                                                                                
                                                                                                                                
                      03/28/2003 10:18 AM                                                                                       
                                                                                                                                
                                                                                                                                




Hi, Kurt -

Thanks for this response. It clearly implies that if there is an entry
"Jonathan Adams" and an alias entry "Jonny Adams" that points to it then:

    - a search for "Jonathan Adams" with alias dereferencing requested
      should return the Jonathan Adams entry

    - a search for "Jonny Adams" with alias dereferencing requested
      should not return either entry.

Does anyone disagree with this interpretation?

At 15:42 27/03/2003 -0800, Kurt D. Zeilenga wrote:
>It should be clear that each and every entry returned in
>response to a search request did match the search filter.  That
>is, if the filter is (CN=foo) than each entry returned has "foo"
>as a (not necessarily returned) value of an attribute whose
>type is CN or a subtype of CN.
>
>When dereferencing during searching (by derefInSearching or
>derefAlways), the filter should be matched against the entry which
>the alias refers to, not the alias itself.
>
>If the client asks for all alias objects, e.g, (objectClass=alias)
>with dereferencing during finding enabled, then no entries should
>be returned.  Likewise, when requesting (objectClass=*) with
>dereferencing during finding enabled, none of entries returned
>should belong to the alias objectClass.
>
>So, to answer your specific question, it is not relevant to
>the matching what values of CN the 'alias' has. The values
>of the aliased entry are, however, quite relevant.
>
>Kurt
>
>
>At 11:22 AM 3/26/2003, Chris Harding wrote:
> >Hi -
> >
> >The interpretation of the LDAP RFCs as regards dereferencing has become
> an issue for the new certification program that The Open Group plans to
> launch for LDAP servers. We have discussed it in the Directory
> Interoperability Forum, and agreed that we should ask the experts in the
> ldapbis group. Accordingly, I would like to ask your help in clarifying
> this issue.
> >
> >Here's the issue. The requirement in the specification is:
> >
> >       When a server receives a search request with the derefAliases
field
> >       set to derefInSearching then it will dereference aliases in
> subordinates
> >       of the base object in searching.
> >
> >We have a test suite for use in the certification program. The suite
> includes a test of this requirement (which is in fact derived from a test

> in BLITS). The test data includes two entries: Jonathan Adams and Jonny
> Adams. The Jonny Adams entry is an alias for Jonathan Adams.
> >
> >The test should check that Jonny Adams is de-referenced and Jonathan
> Adams is returned. The question is, should the test search for Jonny or
> for Jonathan.
> >
> >RFC 2251 does not explain dereferencing but defers to X.501.
> Unfortunately, X.501 does not seem to explain it very well. My personal
> interpretation after reading it is that, whenever a server encounters an
> alias entry in the course of a search and dereferencing has been
> requested, the server should dereference the alias and carry on searching

> from the entry that the alias points to. Under this interpretation, a
> search for Jonny should return the same result as a search for Jonathan -

> the Jonathan Adams entry.
> >
> >I don't claim to be an expert on the interpretation of the
> specifications - but I hope that experts in the IETF community can shed
> light on this!
> >
> >Please send your comments to the ldapbis list. I will report the
> consensus (assuming that one is reached) to the DIF.
> >
> >Regards,
> >
> >Chris
> >+++++
> >
> >========================================================================
> >           Dr. Christopher J. Harding
> >  T H E    Executive Director for the Directory Interoperability Forum
> > O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
> >G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
> >           WWW: http://www.opengroup.org Mobile: +44 774 063 1520
> >========================================================================
> >
> >            The Open Group's Consortia Services - Association Management

> For I.T.:
> >            http://www.opengroup.org/consortia_services
> >
> >========================================================================


Regards,

Chris
+++++

========================================================================
            Dr. Christopher J. Harding
   T H E    Executive Director for the Directory Interoperability Forum
  O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
            WWW: http://www.opengroup.org Mobile: +44 774 063 1520
========================================================================

             The Open Group's Consortia Services - Association Management
For I.T.:
             http://www.opengroup.org/consortia_services

========================================================================






From owner-ietf-ldapbis@OpenLDAP.org  Fri Mar 28 21:39:10 2003
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 VAA29345
	for <ldapbis-archive@lists.ietf.org>; Fri, 28 Mar 2003 21:39:09 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2T2Xmnu029563;
	Sat, 29 Mar 2003 02:40:27 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.8/8.12.8/Submit) with SMTP id h2T2McCM028998;
	Sat, 29 Mar 2003 02:22:38 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Sat, 29 Mar 2003 02:22:38 +0000
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by galois.openldap.org (8.12.8/8.12.8) with ESMTP id h2T2MYno028981
	for <ietf-ldapbis@OpenLDAP.org>; Sat, 29 Mar 2003 02:22:35 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Fri, 28 Mar 2003 19:22:14 -0700
Message-Id: <se84a0e6.029@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.0 
Date: Fri, 28 Mar 2003 19:21:45 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <c.harding@opengroup.org>, <jmcmeek@us.ibm.com>
Cc: <ietf-ldapbis@OpenLDAP.org>
Subject: Re: What Does De-Reference Mean?
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

<some content stolen from the original message>
It's for a certification program that The Open Group plans to launch
for LDAP servers. I believe the certification program is aimed at
directory interoperability, and facilitates a test suite which includes
this test case which is in fact derived from a test in BLITS.

I don't think they plan to marry the interoperability test suite with
any kind of directory usage guidelines.

Jim



>>> John McMeeking <jmcmeek@us.ibm.com> 3/28/03 10:24:27 AM >>>




Is this discussion purely for the purpose of determining the correct
behavior of test cases?  Or, are the test cases mentioned implementing
some
recommended approach to handling some issue (hopefully not defining
nicknames for users)?

I ask because in my experience, aliases are not well understood, which
makes them easy to misuse, and there are often significant performance
impacts.

If this is just for a test case, fine.  But I'd like to know if this
associated with some directory usage guidelines.


John  McMeeking



                                                                       
                                                        
                      Chris Harding                                    
                                                        
                      <c.harding@opengroup        To:       "Kurt D.
Zeilenga" <Kurt@OpenLDAP.org>                              
                      .org>                       cc:      
ietf-ldapbis@OpenLDAP.org, a.thackrah@opengroup.org,                
                      Sent by:                    
dif-members@opengroup.org                                            
       
                      owner-ietf-ldapbis@O        Subject:  Re: What
Does De-Reference Mean?                                    
                      penLDAP.org                                      
                                                        
                                                                       
                                                        
                                                                       
                                                        
                      03/28/2003 10:18 AM                              
                                                        
                                                                       
                                                        
                                                                       
                                                        




Hi, Kurt -

Thanks for this response. It clearly implies that if there is an entry
"Jonathan Adams" and an alias entry "Jonny Adams" that points to it
then:

    - a search for "Jonathan Adams" with alias dereferencing requested
      should return the Jonathan Adams entry

    - a search for "Jonny Adams" with alias dereferencing requested
      should not return either entry.

Does anyone disagree with this interpretation?

At 15:42 27/03/2003 -0800, Kurt D. Zeilenga wrote:
>It should be clear that each and every entry returned in
>response to a search request did match the search filter.  That
>is, if the filter is (CN=foo) than each entry returned has "foo"
>as a (not necessarily returned) value of an attribute whose
>type is CN or a subtype of CN.
>
>When dereferencing during searching (by derefInSearching or
>derefAlways), the filter should be matched against the entry which
>the alias refers to, not the alias itself.
>
>If the client asks for all alias objects, e.g, (objectClass=alias)
>with dereferencing during finding enabled, then no entries should
>be returned.  Likewise, when requesting (objectClass=*) with
>dereferencing during finding enabled, none of entries returned
>should belong to the alias objectClass.
>
>So, to answer your specific question, it is not relevant to
>the matching what values of CN the 'alias' has. The values
>of the aliased entry are, however, quite relevant.
>
>Kurt
>
>
>At 11:22 AM 3/26/2003, Chris Harding wrote:
> >Hi -
> >
> >The interpretation of the LDAP RFCs as regards dereferencing has
become
> an issue for the new certification program that The Open Group plans
to
> launch for LDAP servers. We have discussed it in the Directory
> Interoperability Forum, and agreed that we should ask the experts in
the
> ldapbis group. Accordingly, I would like to ask your help in
clarifying
> this issue.
> >
> >Here's the issue. The requirement in the specification is:
> >
> >       When a server receives a search request with the
derefAliases
field
> >       set to derefInSearching then it will dereference aliases in
> subordinates
> >       of the base object in searching.
> >
> >We have a test suite for use in the certification program. The
suite
> includes a test of this requirement (which is in fact derived from a
test

> in BLITS). The test data includes two entries: Jonathan Adams and
Jonny
> Adams. The Jonny Adams entry is an alias for Jonathan Adams.
> >
> >The test should check that Jonny Adams is de-referenced and
Jonathan
> Adams is returned. The question is, should the test search for Jonny
or
> for Jonathan.
> >
> >RFC 2251 does not explain dereferencing but defers to X.501.
> Unfortunately, X.501 does not seem to explain it very well. My
personal
> interpretation after reading it is that, whenever a server encounters
an
> alias entry in the course of a search and dereferencing has been
> requested, the server should dereference the alias and carry on
searching

> from the entry that the alias points to. Under this interpretation,
a
> search for Jonny should return the same result as a search for
Jonathan -

> the Jonathan Adams entry.
> >
> >I don't claim to be an expert on the interpretation of the
> specifications - but I hope that experts in the IETF community can
shed
> light on this!
> >
> >Please send your comments to the ldapbis list. I will report the
> consensus (assuming that one is reached) to the DIF.
> >
> >Regards,
> >
> >Chris
> >+++++
> >
>
>========================================================================
> >           Dr. Christopher J. Harding
> >  T H E    Executive Director for the Directory Interoperability
Forum
> > O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
> >G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
> >           WWW: http://www.opengroup.org Mobile: +44 774 063 1520
>
>========================================================================
> >
> >            The Open Group's Consortia Services - Association
Management

> For I.T.:
> >            http://www.opengroup.org/consortia_services 
> >
>
>========================================================================


Regards,

Chris
+++++

========================================================================
            Dr. Christopher J. Harding
   T H E    Executive Director for the Directory Interoperability
Forum
  O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
            WWW: http://www.opengroup.org Mobile: +44 774 063 1520
========================================================================

             The Open Group's Consortia Services - Association
Management
For I.T.:
             http://www.opengroup.org/consortia_services 

========================================================================






From owner-ietf-ldapbis@OpenLDAP.org  Sun Mar 30 16:15:27 2003
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 QAA05666
	for <ldapbis-archive@lists.ietf.org>; Sun, 30 Mar 2003 16:15:27 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.9/8.12.9) with ESMTP id h2ULCmmr005631;
	Sun, 30 Mar 2003 21:16:43 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.9/8.12.9/Submit) with SMTP id h2UL9dAp005603;
	Sun, 30 Mar 2003 21:09:39 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Sun, 30 Mar 2003 21:09:39 +0000
Received: from he200war.uk.vianw.net (he200war.uk.vianw.net [195.102.244.148])
	by galois.openldap.org (8.12.9/8.12.9) with ESMTP id h2UL9VmV005575;
	Sun, 30 Mar 2003 21:09:32 GMT
	(envelope-from d.w.chadwick@salford.ac.uk)
Received: from [195.102.200.92] (helo=salford.ac.uk)
	by he200war.uk.vianw.net with esmtp (Exim 4.04)
	id 18zk3S-0004f7-00; Sun, 30 Mar 2003 22:09:26 +0100
Message-ID: <3E875C5B.737CE6C1@salford.ac.uk>
Date: Sun, 30 Mar 2003 13:06:35 -0800
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: Chris Harding <c.harding@opengroup.org>
CC: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>, ietf-ldapbis@OpenLDAP.org,
        a.thackrah@opengroup.org, dif-members@opengroup.org
Subject: Re: What Does De-Reference Mean?
References: <5.1.0.14.1.20030326191027.00a882f8@mailhome.rdg.opengroup. org> <5.1.0.14.1.20030328155129.00ae2118@mailhome.rdg.opengroup.org>
Content-Type: multipart/mixed;
 boundary="------------E1FC4D5422D02C245BDAAC9E"
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.
--------------E1FC4D5422D02C245BDAAC9E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Chris

I dont disagree with your interpretation, but it shows something that we
found out years ago in the Paradise project, that it is better to simply
search for surname rather than full name, as you are more likely to find
the person. This is because you dont know if the directory stores common
names as D.W.Chadwick, David Chadwick, Chadwick, D.W. etc. and all 3
were present in Paradise.

regards

david


Chris Harding wrote:
> 
> Hi, Kurt -
> 
> Thanks for this response. It clearly implies that if there is an entry
> "Jonathan Adams" and an alias entry "Jonny Adams" that points to it then:
> 
>     - a search for "Jonathan Adams" with alias dereferencing requested
>       should return the Jonathan Adams entry
> 
>     - a search for "Jonny Adams" with alias dereferencing requested
>       should not return either entry.
> 
> Does anyone disagree with this interpretation?
> 
> At 15:42 27/03/2003 -0800, Kurt D. Zeilenga wrote:
> >It should be clear that each and every entry returned in
> >response to a search request did match the search filter.  That
> >is, if the filter is (CN=foo) than each entry returned has "foo"
> >as a (not necessarily returned) value of an attribute whose
> >type is CN or a subtype of CN.
> >
> >When dereferencing during searching (by derefInSearching or
> >derefAlways), the filter should be matched against the entry which
> >the alias refers to, not the alias itself.
> >
> >If the client asks for all alias objects, e.g, (objectClass=alias)
> >with dereferencing during finding enabled, then no entries should
> >be returned.  Likewise, when requesting (objectClass=*) with
> >dereferencing during finding enabled, none of entries returned
> >should belong to the alias objectClass.
> >
> >So, to answer your specific question, it is not relevant to
> >the matching what values of CN the 'alias' has. The values
> >of the aliased entry are, however, quite relevant.
> >
> >Kurt
> >
> >
> >At 11:22 AM 3/26/2003, Chris Harding wrote:
> > >Hi -
> > >
> > >The interpretation of the LDAP RFCs as regards dereferencing has become
> > an issue for the new certification program that The Open Group plans to
> > launch for LDAP servers. We have discussed it in the Directory
> > Interoperability Forum, and agreed that we should ask the experts in the
> > ldapbis group. Accordingly, I would like to ask your help in clarifying
> > this issue.
> > >
> > >Here's the issue. The requirement in the specification is:
> > >
> > >       When a server receives a search request with the derefAliases field
> > >       set to derefInSearching then it will dereference aliases in
> > subordinates
> > >       of the base object in searching.
> > >
> > >We have a test suite for use in the certification program. The suite
> > includes a test of this requirement (which is in fact derived from a test
> > in BLITS). The test data includes two entries: Jonathan Adams and Jonny
> > Adams. The Jonny Adams entry is an alias for Jonathan Adams.
> > >
> > >The test should check that Jonny Adams is de-referenced and Jonathan
> > Adams is returned. The question is, should the test search for Jonny or
> > for Jonathan.
> > >
> > >RFC 2251 does not explain dereferencing but defers to X.501.
> > Unfortunately, X.501 does not seem to explain it very well. My personal
> > interpretation after reading it is that, whenever a server encounters an
> > alias entry in the course of a search and dereferencing has been
> > requested, the server should dereference the alias and carry on searching
> > from the entry that the alias points to. Under this interpretation, a
> > search for Jonny should return the same result as a search for Jonathan -
> > the Jonathan Adams entry.
> > >
> > >I don't claim to be an expert on the interpretation of the
> > specifications - but I hope that experts in the IETF community can shed
> > light on this!
> > >
> > >Please send your comments to the ldapbis list. I will report the
> > consensus (assuming that one is reached) to the DIF.
> > >
> > >Regards,
> > >
> > >Chris
> > >+++++
> > >
> > >========================================================================
> > >           Dr. Christopher J. Harding
> > >  T H E    Executive Director for the Directory Interoperability Forum
> > > O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
> > >G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
> > >           WWW: http://www.opengroup.org Mobile: +44 774 063 1520
> > >========================================================================
> > >
> > >            The Open Group's Consortia Services - Association Management
> > For I.T.:
> > >            http://www.opengroup.org/consortia_services
> > >
> > >========================================================================
> 
> Regards,
> 
> Chris
> +++++
> 
> ========================================================================
>             Dr. Christopher J. Harding
>    T H E    Executive Director for the Directory Interoperability Forum
>   O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
> G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
>             WWW: http://www.opengroup.org Mobile: +44 774 063 1520
> ========================================================================
> 
>              The Open Group's Consortia Services - Association Management
> For I.T.:
>              http://www.opengroup.org/consortia_services
> 
> ========================================================================

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

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 01484 532930
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
Seminars: http://www.salford.ac.uk/its024/seminars.htm
Entrust key validation string: MLJ9-DU5T-HV8J
PGP Key ID is 0xBC238DE5

*****************************************************************
--------------E1FC4D5422D02C245BDAAC9E
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

--------------E1FC4D5422D02C245BDAAC9E--




From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar 31 05:48:12 2003
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 FAA01303
	for <ldapbis-archive@lists.ietf.org>; Mon, 31 Mar 2003 05:48:11 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.9/8.12.9) with ESMTP id h2VAWooX041653;
	Mon, 31 Mar 2003 10:49:02 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.9/8.12.9/Submit) with SMTP id h2VAOoG3041220;
	Mon, 31 Mar 2003 10:24:50 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Mon, 31 Mar 2003 10:24:50 +0000
Received: from smtp.opengroup.org (smtp.opengroup.org [192.153.166.4])
	by galois.openldap.org (8.12.9/8.12.9) with ESMTP id h2VAOfmV041182;
	Mon, 31 Mar 2003 10:24:42 GMT
	(envelope-from c.harding@opengroup.org)
Received: from CHRIS-H.opengroup.org (dhcp192-153-166-41.rdg.opengroup.org [192.153.166.41])
	by smtp.opengroup.org (8.11.6/8.11.6) with ESMTP id h2VAOUf32301;
	Mon, 31 Mar 2003 11:24:30 +0100
Message-Id: <5.1.0.14.1.20030331112023.00a9db10@mailhome.rdg.opengroup.org>
X-Sender: cjh@mailhome.rdg.opengroup.org
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Mon, 31 Mar 2003 11:29:10 +0100
To: David Chadwick <d.w.chadwick@salford.ac.uk>
From: Chris Harding <c.harding@opengroup.org>
Subject: Re: What Does De-Reference Mean?
Cc: jmcmeek@us.ibm.com, "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>,
        ietf-ldapbis@OpenLDAP.org, a.thackrah@opengroup.org,
        dif-members@opengroup.org, ldap-bpg@opengroup.org
In-Reply-To: <3E875C5B.737CE6C1@salford.ac.uk>
References: <5.1.0.14.1.20030326191027.00a882f8@mailhome.rdg.opengroup. org>
 <5.1.0.14.1.20030328155129.00ae2118@mailhome.rdg.opengroup.org>
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>

Hi, David -

Thanks for your response!

What you point out is very relevant to directory usage guidelines. There is 
in fact a Directory Best Practice Guide activity that The Open Group 
supports and for which we host the web page and mail list, see 
http://www.opengroup.org/dif/bpg/. Certifying directory servers is however 
a different kind of activity. For this purpose we need to look at what the 
RFCs really say, rather than at what is the best way to use them.

At 13:06 30/03/2003 -0800, David Chadwick wrote:
>Chris
>
>I dont disagree with your interpretation, but it shows something that we
>found out years ago in the Paradise project, that it is better to simply
>search for surname rather than full name, as you are more likely to find
>the person. This is because you dont know if the directory stores common
>names as D.W.Chadwick, David Chadwick, Chadwick, D.W. etc. and all 3
>were present in Paradise.
>
>regards
>
>david
>
>
>Chris Harding wrote:
> >
> > Hi, Kurt -
> >
> > Thanks for this response. It clearly implies that if there is an entry
> > "Jonathan Adams" and an alias entry "Jonny Adams" that points to it then:
> >
> >     - a search for "Jonathan Adams" with alias dereferencing requested
> >       should return the Jonathan Adams entry
> >
> >     - a search for "Jonny Adams" with alias dereferencing requested
> >       should not return either entry.
> >
> > Does anyone disagree with this interpretation?
> >
> > At 15:42 27/03/2003 -0800, Kurt D. Zeilenga wrote:
> > >It should be clear that each and every entry returned in
> > >response to a search request did match the search filter.  That
> > >is, if the filter is (CN=foo) than each entry returned has "foo"
> > >as a (not necessarily returned) value of an attribute whose
> > >type is CN or a subtype of CN.
> > >
> > >When dereferencing during searching (by derefInSearching or
> > >derefAlways), the filter should be matched against the entry which
> > >the alias refers to, not the alias itself.
> > >
> > >If the client asks for all alias objects, e.g, (objectClass=alias)
> > >with dereferencing during finding enabled, then no entries should
> > >be returned.  Likewise, when requesting (objectClass=*) with
> > >dereferencing during finding enabled, none of entries returned
> > >should belong to the alias objectClass.
> > >
> > >So, to answer your specific question, it is not relevant to
> > >the matching what values of CN the 'alias' has. The values
> > >of the aliased entry are, however, quite relevant.
> > >
> > >Kurt
> > >
> > >
> > >At 11:22 AM 3/26/2003, Chris Harding wrote:
> > > >Hi -
> > > >
> > > >The interpretation of the LDAP RFCs as regards dereferencing has become
> > > an issue for the new certification program that The Open Group plans to
> > > launch for LDAP servers. We have discussed it in the Directory
> > > Interoperability Forum, and agreed that we should ask the experts in the
> > > ldapbis group. Accordingly, I would like to ask your help in clarifying
> > > this issue.
> > > >
> > > >Here's the issue. The requirement in the specification is:
> > > >
> > > >       When a server receives a search request with the derefAliases 
> field
> > > >       set to derefInSearching then it will dereference aliases in
> > > subordinates
> > > >       of the base object in searching.
> > > >
> > > >We have a test suite for use in the certification program. The suite
> > > includes a test of this requirement (which is in fact derived from a test
> > > in BLITS). The test data includes two entries: Jonathan Adams and Jonny
> > > Adams. The Jonny Adams entry is an alias for Jonathan Adams.
> > > >
> > > >The test should check that Jonny Adams is de-referenced and Jonathan
> > > Adams is returned. The question is, should the test search for Jonny or
> > > for Jonathan.
> > > >
> > > >RFC 2251 does not explain dereferencing but defers to X.501.
> > > Unfortunately, X.501 does not seem to explain it very well. My personal
> > > interpretation after reading it is that, whenever a server encounters an
> > > alias entry in the course of a search and dereferencing has been
> > > requested, the server should dereference the alias and carry on searching
> > > from the entry that the alias points to. Under this interpretation, a
> > > search for Jonny should return the same result as a search for Jonathan -
> > > the Jonathan Adams entry.
> > > >
> > > >I don't claim to be an expert on the interpretation of the
> > > specifications - but I hope that experts in the IETF community can shed
> > > light on this!
> > > >
> > > >Please send your comments to the ldapbis list. I will report the
> > > consensus (assuming that one is reached) to the DIF.
> > > >
> > > >Regards,
> > > >
> > > >Chris
> > > >+++++
> > > >
> > > >========================================================================
> > > >           Dr. Christopher J. Harding
> > > >  T H E    Executive Director for the Directory Interoperability Forum
> > > > O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
> > > >G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
> > > >           WWW: http://www.opengroup.org Mobile: +44 774 063 1520
> > > >========================================================================
> > > >
> > > >            The Open Group's Consortia Services - Association Management
> > > For I.T.:
> > > >            http://www.opengroup.org/consortia_services
> > > >
> > > >========================================================================
> >
> > Regards,
> >
> > Chris
> > +++++
> >
> > ========================================================================
> >             Dr. Christopher J. Harding
> >    T H E    Executive Director for the Directory Interoperability Forum
> >   O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
> > G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
> >             WWW: http://www.opengroup.org Mobile: +44 774 063 1520
> > ========================================================================
> >
> >              The Open Group's Consortia Services - Association Management
> > For I.T.:
> >              http://www.opengroup.org/consortia_services
> >
> > ========================================================================
>
>--
>*****************************************************************
>
>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 01484 532930
>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
>Seminars: http://www.salford.ac.uk/its024/seminars.htm
>Entrust key validation string: MLJ9-DU5T-HV8J
>PGP Key ID is 0xBC238DE5
>
>*****************************************************************


Regards,

Chris
+++++

========================================================================
            Dr. Christopher J. Harding
   T H E    Executive Director for the Directory Interoperability Forum
  O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
            WWW: http://www.opengroup.org Mobile: +44 774 063 1520
========================================================================

             The Open Group's Consortia Services - Association Management 
For I.T.:
             http://www.opengroup.org/consortia_services

========================================================================



From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar 31 06:37:10 2003
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 FAA01302
	for <ldapbis-archive@lists.ietf.org>; Mon, 31 Mar 2003 05:48:11 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.9/8.12.9) with ESMTP id h2VAWooV041653;
	Mon, 31 Mar 2003 10:49:01 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.9/8.12.9/Submit) with SMTP id h2VACnj4039637;
	Mon, 31 Mar 2003 10:12:49 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Mon, 31 Mar 2003 10:12:49 +0000
Received: from smtp.opengroup.org (smtp.opengroup.org [192.153.166.4])
	by galois.openldap.org (8.12.9/8.12.9) with ESMTP id h2VAChmV039616
	for <ietf-ldapbis@OpenLDAP.org>; Mon, 31 Mar 2003 10:12:44 GMT
	(envelope-from c.harding@opengroup.org)
Received: from CHRIS-H.opengroup.org (dhcp192-153-166-41.rdg.opengroup.org [192.153.166.41])
	by smtp.opengroup.org (8.11.6/8.11.6) with ESMTP id h2VACQf31843;
	Mon, 31 Mar 2003 11:12:28 +0100
Message-Id: <5.1.0.14.1.20030328181741.00ae2118@mailhome.rdg.opengroup.org>
X-Sender: cjh@mailhome.rdg.opengroup.org
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Fri, 28 Mar 2003 18:29:05 +0000
To: John McMeeking <jmcmeek@us.ibm.com>
From: Chris Harding <c.harding@opengroup.org>
Subject: Re: What Does De-Reference Mean?
Cc: ietf-ldapbis@OpenLDAP.org
In-Reply-To: <OF7B6F2DBA.ADF3B6A5-ON86256CF7.005E9935-86256CF7.005FA005@
 us.ibm.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>

Hi, John -

It's more than test cases. The test suite will support The Open Group's new 
certification programs - "LDAP Certified" and "LDAP Ready". Servers will 
have to behave correctly in order to be certified. This is why we are 
trying to establish what the correct behavior is!



>Is this discussion purely for the purpose of determining the correct
>behavior of test cases?  Or, are the test cases mentioned implementing some
>recommended approach to handling some issue (hopefully not defining
>nicknames for users)?
>
>I ask because in my experience, aliases are not well understood, which
>makes them easy to misuse, and there are often significant performance
>impacts.
>
>If this is just for a test case, fine.  But I'd like to know if this
>associated with some directory usage guidelines.
>
>
>John  McMeeking
>
>
>
> 
>
>                       Chris 
> Harding 
>
>                       <c.harding@opengroup        To:       "Kurt D. 
> Zeilenga" <Kurt@OpenLDAP.org>
>                       .org>                       cc: 
> ietf-ldapbis@OpenLDAP.org, a.thackrah@opengroup.org,
>                       Sent 
> by:                     dif-members@opengroup.org 
>
>                       owner-ietf-ldapbis@O        Subject:  Re: What Does 
> De-Reference Mean?
>                       penLDAP.org 
>
> 
>
> 
>
>                       03/28/2003 10:18 
> AM 
>
> 
>
> 
>
>
>
>
>
>Hi, Kurt -
>
>Thanks for this response. It clearly implies that if there is an entry
>"Jonathan Adams" and an alias entry "Jonny Adams" that points to it then:
>
>     - a search for "Jonathan Adams" with alias dereferencing requested
>       should return the Jonathan Adams entry
>
>     - a search for "Jonny Adams" with alias dereferencing requested
>       should not return either entry.
>
>Does anyone disagree with this interpretation?
>
>At 15:42 27/03/2003 -0800, Kurt D. Zeilenga wrote:
> >It should be clear that each and every entry returned in
> >response to a search request did match the search filter.  That
> >is, if the filter is (CN=foo) than each entry returned has "foo"
> >as a (not necessarily returned) value of an attribute whose
> >type is CN or a subtype of CN.
> >
> >When dereferencing during searching (by derefInSearching or
> >derefAlways), the filter should be matched against the entry which
> >the alias refers to, not the alias itself.
> >
> >If the client asks for all alias objects, e.g, (objectClass=alias)
> >with dereferencing during finding enabled, then no entries should
> >be returned.  Likewise, when requesting (objectClass=*) with
> >dereferencing during finding enabled, none of entries returned
> >should belong to the alias objectClass.
> >
> >So, to answer your specific question, it is not relevant to
> >the matching what values of CN the 'alias' has. The values
> >of the aliased entry are, however, quite relevant.
> >
> >Kurt
> >
> >
> >At 11:22 AM 3/26/2003, Chris Harding wrote:
> > >Hi -
> > >
> > >The interpretation of the LDAP RFCs as regards dereferencing has become
> > an issue for the new certification program that The Open Group plans to
> > launch for LDAP servers. We have discussed it in the Directory
> > Interoperability Forum, and agreed that we should ask the experts in the
> > ldapbis group. Accordingly, I would like to ask your help in clarifying
> > this issue.
> > >
> > >Here's the issue. The requirement in the specification is:
> > >
> > >       When a server receives a search request with the derefAliases
>field
> > >       set to derefInSearching then it will dereference aliases in
> > subordinates
> > >       of the base object in searching.
> > >
> > >We have a test suite for use in the certification program. The suite
> > includes a test of this requirement (which is in fact derived from a test
>
> > in BLITS). The test data includes two entries: Jonathan Adams and Jonny
> > Adams. The Jonny Adams entry is an alias for Jonathan Adams.
> > >
> > >The test should check that Jonny Adams is de-referenced and Jonathan
> > Adams is returned. The question is, should the test search for Jonny or
> > for Jonathan.
> > >
> > >RFC 2251 does not explain dereferencing but defers to X.501.
> > Unfortunately, X.501 does not seem to explain it very well. My personal
> > interpretation after reading it is that, whenever a server encounters an
> > alias entry in the course of a search and dereferencing has been
> > requested, the server should dereference the alias and carry on searching
>
> > from the entry that the alias points to. Under this interpretation, a
> > search for Jonny should return the same result as a search for Jonathan -
>
> > the Jonathan Adams entry.
> > >
> > >I don't claim to be an expert on the interpretation of the
> > specifications - but I hope that experts in the IETF community can shed
> > light on this!
> > >
> > >Please send your comments to the ldapbis list. I will report the
> > consensus (assuming that one is reached) to the DIF.
> > >
> > >Regards,
> > >
> > >Chris
> > >+++++
> > >
> > >========================================================================
> > >           Dr. Christopher J. Harding
> > >  T H E    Executive Director for the Directory Interoperability Forum
> > > O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
> > >G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
> > >           WWW: http://www.opengroup.org Mobile: +44 774 063 1520
> > >========================================================================
> > >
> > >            The Open Group's Consortia Services - Association Management
>
> > For I.T.:
> > >            http://www.opengroup.org/consortia_services
> > >
> > >========================================================================
>
>
>Regards,
>
>Chris
>+++++
>
>========================================================================
>             Dr. Christopher J. Harding
>    T H E    Executive Director for the Directory Interoperability Forum
>   O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
>G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
>             WWW: http://www.opengroup.org Mobile: +44 774 063 1520
>========================================================================
>
>              The Open Group's Consortia Services - Association Management
>For I.T.:
>              http://www.opengroup.org/consortia_services
>
>========================================================================


Regards,

Chris
+++++

========================================================================
            Dr. Christopher J. Harding
   T H E    Executive Director for the Directory Interoperability Forum
  O P E N   Apex Plaza, Forbury Road, Reading RG1 1AX, UK
G R O U P  Mailto:c.harding@opengroup.org Phone: +44 118 902 3018
            WWW: http://www.opengroup.org Mobile: +44 774 063 1520
========================================================================

             The Open Group's Consortia Services - Association Management 
For I.T.:
             http://www.opengroup.org/consortia_services

========================================================================



From owner-ietf-ldapbis@OpenLDAP.org  Mon Mar 31 20:47:55 2003
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 UAA06566
	for <ldapbis-archive@lists.ietf.org>; Mon, 31 Mar 2003 20:47:53 -0500 (EST)
Received: from galois.openldap.org (smmsp@localhost [IPv6:::1])
	by galois.openldap.org (8.12.9/8.12.9) with ESMTP id h311Cpmt042515;
	Tue, 1 Apr 2003 01:23:51 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: from localhost (majordomo@localhost)
	by galois.openldap.org (8.12.9/8.12.9/Submit) with SMTP id h3118BFj042305;
	Tue, 1 Apr 2003 01:08:11 GMT
	(envelope-from owner-ietf-ldapbis@OpenLDAP.org)
Received: by OpenLDAP.org (bulk_mailer v1.13); Tue, 1 Apr 2003 01:08:11 +0000
Received: from galois.openldap.org (kurt@localhost [IPv6:::1])
	by galois.openldap.org (8.12.9/8.12.9) with ESMTP id h3117xmV042289
	for <ietf-ldapbis@openldap.org>; Tue, 1 Apr 2003 01:07:59 GMT
	(envelope-from kurt@galois.openldap.org)
Received: (from kurt@localhost)
	by galois.openldap.org (8.12.9/8.12.9/Submit) id h3117xTJ042288
	for ietf-ldapbis@openldap.org; Tue, 1 Apr 2003 01:07:59 GMT
	(envelope-from kurt)
Received: from prv-mail20.provo.novell.com (prv-mail20.provo.novell.com [137.65.81.122])
	by galois.openldap.org (8.12.9/8.12.9) with ESMTP id h310vNmV041818
	for <ietf-ldapbis@OpenLDAP.org>; Tue, 1 Apr 2003 00:57:23 GMT
	(envelope-from jimse@novell.com)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Mon, 31 Mar 2003 17:57:02 -0700
Message-Id: <se88816e.030@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.0 
Date: Mon, 31 Mar 2003 17:56:20 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <ietf-ldapbis@OpenLDAP.org>
Subject: Extensibility of controlValue and Extended Operation values
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_F3AC48CE.7F1E7F68"
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 MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=_F3AC48CE.7F1E7F68
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

All,

There has been some recent activity on the ldapext list that is
relevant to the ldapbis list. Please see the following (and any
supporting messages in the attachment list for background) to voice your
opinion.

Jim

p.s. sorry, I should have just referenced the messages in the archive,
but I couldn't find the right archive.

<message>
Ok, it seems that group consensus is moving in favor of this kind of
wording, so let it be done. But.. my example used SHOULD, and this
example uses SHALL (MUST). MUST may break some existing
implementations.
I'm willin g to use MUST/SHALL wording if group consensus agrees.

Note also, that 5.1 in Protocol doesn't say anything about the
extensibility of the ASN.1. It only talks about the BER encoding.
Basically, I need to reconcile this between Sections 4 (Elements of
Protocol), 4.1.11 (Controls), 4.12 (Extended Operations), and 5.1
(Protocol Encoding).

Jim

>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 3/31/03 8:45:56 AM >>>
At 10:47 PM 3/28/2003, Jim Sermersheim wrote:
>I'd love to do this, but the fact is, values of controls and extended
>operations are OCTET STRING types.

Yes, but as LDAP extensions are defining "LDAP protocol elements",
I think it is reasonable to say that this SHALL apply to control and
extended operation values which are described in term of ASN.1 and
encoded using BER (as described in 5.1) unless the technical
specification defining the LDAP protocol element explicitly states
otherwise.

I encourage extension authors to include to define the
term BER-encoded as follows.
   Protocol elements are described using ASN.1 [X.680].  The term
   "BER-encoded" means the element is to be encoded using the Basic
   Encoding Rules [X.690] under the restrictions detailed in
   Section 5.1 of [RFC2251].

Kurt 

_______________________________________________
Ldapext mailing list
Ldapext@ietf.org 
https://www1.ietf.org/mailman/listinfo/ldapext
--=_F3AC48CE.7F1E7F68
Content-Type: message/rfc822

Return-path: <ldapext-admin@ietf.org>
Received: from prv-mx.provo.novell.com [192.233.80.8]
	by prv-mail10.provo.novell.com; Fri, 28 Mar 2003 07:35:05 -0700
Received: from www1.ietf.org
	(ietf.org [132.151.1.19])
	by prv-mx.provo.novell.com; Fri, 28 Mar 2003 07:34:50 -0700
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h2SErYO08763;
	Fri, 28 Mar 2003 09:53:34 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h2SEqFO08707
	for <ldapext@optimus.ietf.org>; Fri, 28 Mar 2003 09:52:15 -0500
Received: from netscape.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA29591
	for <ldapext@ietf.org>; Fri, 28 Mar 2003 09:29:55 -0500 (EST)
Received: from judge.mcom.com (judge.nscp.aoltw.net [10.169.8.47])
	by netscape.com (8.10.0/8.10.0) with ESMTP id h2SEWGR27751
	for <ldapext@ietf.org>; Fri, 28 Mar 2003 06:32:16 -0800 (PST)
Received: from netscape.com ([10.169.192.75]) by judge.mcom.com
          (Netscape Messaging Server 4.15) with ESMTP id HCGR1T02.S3R;
          Fri, 28 Mar 2003 06:32:17 -0800 
Message-ID: <3E845CF0.2090406@netscape.com>
Date: Fri, 28 Mar 2003 09:32:16 -0500
From: mcs@netscape.com (Mark C Smith)
Organization: Netscape Communications Corp.
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3b) Gecko/20030211
X-Accept-Language: English/United States [en-US],English [en]
MIME-Version: 1.0
To: steven.legg@adacel.com.au
CC: ldapext@ietf.org
Subject: Re: [ldapext] BER encoding of PasswordPolicyResponseValue?
References: <002b01c2f4c1$dc978c20$a518200a@osmium.mtwav.adacel.com.au>
In-Reply-To: <002b01c2f4c1$dc978c20$a518200a@osmium.mtwav.adacel.com.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Sender: ldapext-admin@ietf.org
Errors-To: ldapext-admin@ietf.org
X-BeenThere: ldapext@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>,
	<mailto:ldapext-request@ietf.org?subject=unsubscribe>
List-Id: LDAP Extension Working Group <ldapext.ietf.org>
List-Post: <mailto:ldapext@ietf.org>
List-Help: <mailto:ldapext-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>,
	<mailto:ldapext-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit

Thank you for your helpful response.

One follow up question: in the absence of any indication, the default in 
ASN.1 is EXPLICIT tagging, right? I suspect many LDAP extension 
documents intend to use IMPLICIT (which for example is specified in 
Appendix A of RFC 2251) but that fact may not be mentioned. One example:

http://www.ietf.org/internet-drafts/draft-ietf-ldapext-ldapv3-vlv-09.txt

-Mark


Steven Legg wrote:

>Mark,
>
>Mark C Smith wrote:
>  
>
>>Someone asked me this week what the correct BER encoding is for a
>>PasswordPolicyResponseValue (from
>>
>>    
>>
>http://www.ietf.org/internet-drafts/draft-behera-ldap-password-policy-06.txt
>).
>  
>
>>The ASN.1 from section 5.2 of the I-D is:
>>
>>    PasswordPolicyResponseValue ::= SEQUENCE {
>>       warning   [0] CHOICE OPTIONAL {
>>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
>>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) }
>>       error     [1] ENUMERATED OPTIONAL {
>>           passwordExpired       (0),
>>           accountLocked         (1),
>>           changeAfterReset      (2),
>>           passwordModNotAllowed (3),
>>           mustSupplyOldPassword (4),
>>           invalidPasswordSyntax (5),
>>           passwordTooShort      (6),
>>           passwordTooYoung      (7),
>>           passwordInHistory     (8) } }
>>    
>>
>
>First up, there are syntax errors in this type definition.
>It should read:
>
>    PasswordPolicyResponseValue ::= SEQUENCE {
>       warning   [0] CHOICE {
>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) } OPTIONAL,
>       error     [1] ENUMERATED {
>           passwordExpired       (0),
>           accountLocked         (1),
>           changeAfterReset      (2),
>           passwordModNotAllowed (3),
>           mustSupplyOldPassword (4),
>           invalidPasswordSyntax (5),
>           passwordTooShort      (6),
>           passwordTooYoung      (7),
>           passwordInHistory     (8) } OPTIONAL }
>
>
>  
>
>>Notice that the warning element is both OPTIONAL (with a context
>>specific tag of 0) and a CHOICE with embedded context specific tags (0
>>timeBeforeExpiration and 1 for graceLoginsRemaining).
>>Normally, a CHOICE
>>is encoded simply as whatever element as chosen, e.g., if
>>timeBeforeExpiration is chosen one would just encode an INTEGER with a
>>context specific primitive tag of 0. But the tag associated with the
>>outer element (warning) also needs to be included so the decoder can
>>tell that a warning element was included (remember, it is optional).
>>What is the right way to encode this?
>>    
>>
>
>If the tag default is IMPLICIT TAGS then the encoding is as
>you've stated above. The implicit tagging suppresses the universal tag
>of the INTEGER, but there is no universal tag (or length) for CHOICE
>and implicit tagging never applies to a CHOICE.
>
>With IMPLICIT tags the warning element, when present, is encoded as
>
>    [constructed 0] length [primitive 0] length integer-value-octets
>
>With EXPLICIT tags the warning element, when present, is encoded as
>
>    [constructed 0] length [constructed 0] length
>        [primitive UNIVERSAL 2] length integer-value-octets
>
>  
>
>>One ASN.1 compiler I used encoded the warning element as a constructed
>>element that contains one integer (which allows two tags to
>>be encoded,
>>one associated with the constructed/container element and one with the
>>integer itself). Is that the right thing to do?
>>    
>>
>
>Yes, if the tag default is IMPLICIT TAGS, though the draft doesn't say
>whether EXPLICIT or IMPLICIT tagging should apply.
>
>Regards,
>Steven
>

_______________________________________________
Ldapext mailing list
Ldapext@ietf.org
https://www1.ietf.org/mailman/listinfo/ldapext
--=_F3AC48CE.7F1E7F68
Content-Type: message/rfc822

Return-path: <ldapext-admin@ietf.org>
Received: from prv-mx.provo.novell.com [192.233.80.8]
	by prv-mail20.provo.novell.com; Fri, 28 Mar 2003 19:27:53 -0700
Received: from www1.ietf.org
	(ietf.org [132.151.1.19])
	by prv-mx.provo.novell.com; Fri, 28 Mar 2003 19:27:44 -0700
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h2T2jFO29260;
	Fri, 28 Mar 2003 21:45:15 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h2T2i6O29231
	for <ldapext@optimus.ietf.org>; Fri, 28 Mar 2003 21:44:06 -0500
Received: from prv-mail20.provo.novell.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA29090
	for <ldapext@ietf.org>; Fri, 28 Mar 2003 21:21:32 -0500 (EST)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Fri, 28 Mar 2003 19:23:55 -0700
Message-Id: <se84a14b.071@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.0 
Date: Fri, 28 Mar 2003 19:23:27 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <steven.legg@adacel.com.au>, <mcs@netscape.com>
Cc: <ldapext@ietf.org>
Subject: Re: [ldapext] BER encoding of PasswordPolicyResponseValue?
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Sender: ldapext-admin@ietf.org
Errors-To: ldapext-admin@ietf.org
X-BeenThere: ldapext@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>,
	<mailto:ldapext-request@ietf.org?subject=unsubscribe>
List-Id: LDAP Extension Working Group <ldapext.ietf.org>
List-Post: <mailto:ldapext@ietf.org>
List-Help: <mailto:ldapext-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>,
	<mailto:ldapext-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit

I bet you're right. (Now where is that LDAP extensions guidelines
document...?)

>>> Mark C Smith <mcs@netscape.com> 3/28/03 7:32:16 AM >>>
Thank you for your helpful response.

One follow up question: in the absence of any indication, the default
in 
ASN.1 is EXPLICIT tagging, right? I suspect many LDAP extension 
documents intend to use IMPLICIT (which for example is specified in 
Appendix A of RFC 2251) but that fact may not be mentioned. One
example:

http://www.ietf.org/internet-drafts/draft-ietf-ldapext-ldapv3-vlv-09.txt


-Mark


Steven Legg wrote:

>Mark,
>
>Mark C Smith wrote:
>  
>
>>Someone asked me this week what the correct BER encoding is for a
>>PasswordPolicyResponseValue (from
>>
>>    
>>
>http://www.ietf.org/internet-drafts/draft-behera-ldap-password-policy-06.txt

>).
>  
>
>>The ASN.1 from section 5.2 of the I-D is:
>>
>>    PasswordPolicyResponseValue ::= SEQUENCE {
>>       warning   [0] CHOICE OPTIONAL {
>>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
>>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) }
>>       error     [1] ENUMERATED OPTIONAL {
>>           passwordExpired       (0),
>>           accountLocked         (1),
>>           changeAfterReset      (2),
>>           passwordModNotAllowed (3),
>>           mustSupplyOldPassword (4),
>>           invalidPasswordSyntax (5),
>>           passwordTooShort      (6),
>>           passwordTooYoung      (7),
>>           passwordInHistory     (8) } }
>>    
>>
>
>First up, there are syntax errors in this type definition.
>It should read:
>
>    PasswordPolicyResponseValue ::= SEQUENCE {
>       warning   [0] CHOICE {
>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) }
OPTIONAL,
>       error     [1] ENUMERATED {
>           passwordExpired       (0),
>           accountLocked         (1),
>           changeAfterReset      (2),
>           passwordModNotAllowed (3),
>           mustSupplyOldPassword (4),
>           invalidPasswordSyntax (5),
>           passwordTooShort      (6),
>           passwordTooYoung      (7),
>           passwordInHistory     (8) } OPTIONAL }
>
>
>  
>
>>Notice that the warning element is both OPTIONAL (with a context
>>specific tag of 0) and a CHOICE with embedded context specific tags
(0
>>timeBeforeExpiration and 1 for graceLoginsRemaining).
>>Normally, a CHOICE
>>is encoded simply as whatever element as chosen, e.g., if
>>timeBeforeExpiration is chosen one would just encode an INTEGER with
a
>>context specific primitive tag of 0. But the tag associated with the
>>outer element (warning) also needs to be included so the decoder can
>>tell that a warning element was included (remember, it is optional).
>>What is the right way to encode this?
>>    
>>
>
>If the tag default is IMPLICIT TAGS then the encoding is as
>you've stated above. The implicit tagging suppresses the universal
tag
>of the INTEGER, but there is no universal tag (or length) for CHOICE
>and implicit tagging never applies to a CHOICE.
>
>With IMPLICIT tags the warning element, when present, is encoded as
>
>    [constructed 0] length [primitive 0] length integer-value-octets
>
>With EXPLICIT tags the warning element, when present, is encoded as
>
>    [constructed 0] length [constructed 0] length
>        [primitive UNIVERSAL 2] length integer-value-octets
>
>  
>
>>One ASN.1 compiler I used encoded the warning element as a
constructed
>>element that contains one integer (which allows two tags to
>>be encoded,
>>one associated with the constructed/container element and one with
the
>>integer itself). Is that the right thing to do?
>>    
>>
>
>Yes, if the tag default is IMPLICIT TAGS, though the draft doesn't
say
>whether EXPLICIT or IMPLICIT tagging should apply.
>
>Regards,
>Steven
>

_______________________________________________
Ldapext mailing list
Ldapext@ietf.org 
https://www1.ietf.org/mailman/listinfo/ldapext
_______________________________________________
Ldapext mailing list
Ldapext@ietf.org
https://www1.ietf.org/mailman/listinfo/ldapext
--=_F3AC48CE.7F1E7F68
Content-Type: message/rfc822

Return-path: <Kurt@OpenLDAP.org>
Received: from prv1-mx.provo.novell.com [192.233.80.9]
	by prv-mail10.provo.novell.com; Fri, 28 Mar 2003 19:41:54 -0700
Received: from pretender.boolean.net
	(router.boolean.net [198.144.206.49])
	by prv1-mx.provo.novell.com; Fri, 28 Mar 2003 19:41:48 -0700
Received: from nomad.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.8/8.12.8) with ESMTP id h2T2fYBT008306;
	Sat, 29 Mar 2003 02:41:34 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20030328182539.02a4b100@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Fri, 28 Mar 2003 18:39:30 -0800
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: [ldapext] BER encoding of PasswordPolicyResponseValue?
Cc: <steven.legg@adacel.com.au>, <mcs@netscape.com>, <ldapext@ietf.org>
In-Reply-To: <se84a14b.071@prv-mail20.provo.novell.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 06:23 PM 3/28/2003, Jim Sermersheim wrote:
>I bet you're right.  (Now where is that LDAP extensions guidelines
>document...?)

I can add something to draft-zeilenga-ldap-ext about this...
but maybe it *might* be appropriate to cover this in the
revision of Section 5.1 of RFC 2251.  Loosely speaking,
values of controls and extended operations are elements
of LDAP and hence subject to Section 5.1 requirements.

I suggest someone suggest some text to LDAPBIS.

Alternatively (or maybe, additionally), this can be covered
in draft-zeilenga-ldap-ext.  I'd welcome text suggestions.

Kurt


>>>> Mark C Smith <mcs@netscape.com> 3/28/03 7:32:16 AM >>>
>Thank you for your helpful response.
>
>One follow up question: in the absence of any indication, the default
>in 
>ASN.1 is EXPLICIT tagging, right? I suspect many LDAP extension 
>documents intend to use IMPLICIT (which for example is specified in 
>Appendix A of RFC 2251) but that fact may not be mentioned. One
>example:
>
>http://www.ietf.org/internet-drafts/draft-ietf-ldapext-ldapv3-vlv-09.txt
>
>
>-Mark
>
>
>Steven Legg wrote:
>
>>Mark,
>>
>>Mark C Smith wrote:
>>  
>>
>>>Someone asked me this week what the correct BER encoding is for a
>>>PasswordPolicyResponseValue (from
>>>
>>>    
>>>
>>http://www.ietf.org/internet-drafts/draft-behera-ldap-password-policy-06.txt
>
>>).
>>  
>>
>>>The ASN.1 from section 5.2 of the I-D is:
>>>
>>>    PasswordPolicyResponseValue ::= SEQUENCE {
>>>       warning   [0] CHOICE OPTIONAL {
>>>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
>>>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) }
>>>       error     [1] ENUMERATED OPTIONAL {
>>>           passwordExpired       (0),
>>>           accountLocked         (1),
>>>           changeAfterReset      (2),
>>>           passwordModNotAllowed (3),
>>>           mustSupplyOldPassword (4),
>>>           invalidPasswordSyntax (5),
>>>           passwordTooShort      (6),
>>>           passwordTooYoung      (7),
>>>           passwordInHistory     (8) } }
>>>    
>>>
>>
>>First up, there are syntax errors in this type definition.
>>It should read:
>>
>>    PasswordPolicyResponseValue ::= SEQUENCE {
>>       warning   [0] CHOICE {
>>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
>>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) }
>OPTIONAL,
>>       error     [1] ENUMERATED {
>>           passwordExpired       (0),
>>           accountLocked         (1),
>>           changeAfterReset      (2),
>>           passwordModNotAllowed (3),
>>           mustSupplyOldPassword (4),
>>           invalidPasswordSyntax (5),
>>           passwordTooShort      (6),
>>           passwordTooYoung      (7),
>>           passwordInHistory     (8) } OPTIONAL }
>>
>>
>>  
>>
>>>Notice that the warning element is both OPTIONAL (with a context
>>>specific tag of 0) and a CHOICE with embedded context specific tags
>(0
>>>timeBeforeExpiration and 1 for graceLoginsRemaining).
>>>Normally, a CHOICE
>>>is encoded simply as whatever element as chosen, e.g., if
>>>timeBeforeExpiration is chosen one would just encode an INTEGER with
>a
>>>context specific primitive tag of 0. But the tag associated with the
>>>outer element (warning) also needs to be included so the decoder can
>>>tell that a warning element was included (remember, it is optional).
>>>What is the right way to encode this?
>>>    
>>>
>>
>>If the tag default is IMPLICIT TAGS then the encoding is as
>>you've stated above. The implicit tagging suppresses the universal
>tag
>>of the INTEGER, but there is no universal tag (or length) for CHOICE
>>and implicit tagging never applies to a CHOICE.
>>
>>With IMPLICIT tags the warning element, when present, is encoded as
>>
>>    [constructed 0] length [primitive 0] length integer-value-octets
>>
>>With EXPLICIT tags the warning element, when present, is encoded as
>>
>>    [constructed 0] length [constructed 0] length
>>        [primitive UNIVERSAL 2] length integer-value-octets
>>
>>  
>>
>>>One ASN.1 compiler I used encoded the warning element as a
>constructed
>>>element that contains one integer (which allows two tags to
>>>be encoded,
>>>one associated with the constructed/container element and one with
>the
>>>integer itself). Is that the right thing to do?
>>>    
>>>
>>
>>Yes, if the tag default is IMPLICIT TAGS, though the draft doesn't
>say
>>whether EXPLICIT or IMPLICIT tagging should apply.
>>
>>Regards,
>>Steven
>>
>
>_______________________________________________
>Ldapext mailing list
>Ldapext@ietf.org 
>https://www1.ietf.org/mailman/listinfo/ldapext
>_______________________________________________
>Ldapext mailing list
>Ldapext@ietf.org
>https://www1.ietf.org/mailman/listinfo/ldapext

--=_F3AC48CE.7F1E7F68
Content-Type: message/rfc822

Return-path: <ldapext-admin@ietf.org>
Received: from prv2-mx.provo.novell.com [192.233.80.18]
	by prv-mail25.provo.novell.com; Fri, 28 Mar 2003 19:42:25 -0700
Received: from www1.ietf.org
	(ietf.org [132.151.1.19])
	by prv2-mx.provo.novell.com; Fri, 28 Mar 2003 19:42:00 -0700
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h2T321O29658;
	Fri, 28 Mar 2003 22:02:01 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h2T31pO29647
	for <ldapext@optimus.ietf.org>; Fri, 28 Mar 2003 22:01:51 -0500
Received: from pretender.boolean.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA29367
	for <ldapext@ietf.org>; Fri, 28 Mar 2003 21:39:16 -0500 (EST)
Received: from nomad.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.8/8.12.8) with ESMTP id h2T2fYBT008306;
	Sat, 29 Mar 2003 02:41:34 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20030328182539.02a4b100@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Fri, 28 Mar 2003 18:39:30 -0800
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: [ldapext] BER encoding of PasswordPolicyResponseValue?
Cc: <steven.legg@adacel.com.au>, <mcs@netscape.com>, <ldapext@ietf.org>
In-Reply-To: <se84a14b.071@prv-mail20.provo.novell.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: ldapext-admin@ietf.org
Errors-To: ldapext-admin@ietf.org
X-BeenThere: ldapext@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>,
	<mailto:ldapext-request@ietf.org?subject=unsubscribe>
List-Id: LDAP Extension Working Group <ldapext.ietf.org>
List-Post: <mailto:ldapext@ietf.org>
List-Help: <mailto:ldapext-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>,
	<mailto:ldapext-request@ietf.org?subject=subscribe>

At 06:23 PM 3/28/2003, Jim Sermersheim wrote:
>I bet you're right.  (Now where is that LDAP extensions guidelines
>document...?)

I can add something to draft-zeilenga-ldap-ext about this...
but maybe it *might* be appropriate to cover this in the
revision of Section 5.1 of RFC 2251.  Loosely speaking,
values of controls and extended operations are elements
of LDAP and hence subject to Section 5.1 requirements.

I suggest someone suggest some text to LDAPBIS.

Alternatively (or maybe, additionally), this can be covered
in draft-zeilenga-ldap-ext.  I'd welcome text suggestions.

Kurt


>>>> Mark C Smith <mcs@netscape.com> 3/28/03 7:32:16 AM >>>
>Thank you for your helpful response.
>
>One follow up question: in the absence of any indication, the default
>in 
>ASN.1 is EXPLICIT tagging, right? I suspect many LDAP extension 
>documents intend to use IMPLICIT (which for example is specified in 
>Appendix A of RFC 2251) but that fact may not be mentioned. One
>example:
>
>http://www.ietf.org/internet-drafts/draft-ietf-ldapext-ldapv3-vlv-09.txt
>
>
>-Mark
>
>
>Steven Legg wrote:
>
>>Mark,
>>
>>Mark C Smith wrote:
>>  
>>
>>>Someone asked me this week what the correct BER encoding is for a
>>>PasswordPolicyResponseValue (from
>>>
>>>    
>>>
>>http://www.ietf.org/internet-drafts/draft-behera-ldap-password-policy-06.txt
>
>>).
>>  
>>
>>>The ASN.1 from section 5.2 of the I-D is:
>>>
>>>    PasswordPolicyResponseValue ::= SEQUENCE {
>>>       warning   [0] CHOICE OPTIONAL {
>>>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
>>>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) }
>>>       error     [1] ENUMERATED OPTIONAL {
>>>           passwordExpired       (0),
>>>           accountLocked         (1),
>>>           changeAfterReset      (2),
>>>           passwordModNotAllowed (3),
>>>           mustSupplyOldPassword (4),
>>>           invalidPasswordSyntax (5),
>>>           passwordTooShort      (6),
>>>           passwordTooYoung      (7),
>>>           passwordInHistory     (8) } }
>>>    
>>>
>>
>>First up, there are syntax errors in this type definition.
>>It should read:
>>
>>    PasswordPolicyResponseValue ::= SEQUENCE {
>>       warning   [0] CHOICE {
>>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
>>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) }
>OPTIONAL,
>>       error     [1] ENUMERATED {
>>           passwordExpired       (0),
>>           accountLocked         (1),
>>           changeAfterReset      (2),
>>           passwordModNotAllowed (3),
>>           mustSupplyOldPassword (4),
>>           invalidPasswordSyntax (5),
>>           passwordTooShort      (6),
>>           passwordTooYoung      (7),
>>           passwordInHistory     (8) } OPTIONAL }
>>
>>
>>  
>>
>>>Notice that the warning element is both OPTIONAL (with a context
>>>specific tag of 0) and a CHOICE with embedded context specific tags
>(0
>>>timeBeforeExpiration and 1 for graceLoginsRemaining).
>>>Normally, a CHOICE
>>>is encoded simply as whatever element as chosen, e.g., if
>>>timeBeforeExpiration is chosen one would just encode an INTEGER with
>a
>>>context specific primitive tag of 0. But the tag associated with the
>>>outer element (warning) also needs to be included so the decoder can
>>>tell that a warning element was included (remember, it is optional).
>>>What is the right way to encode this?
>>>    
>>>
>>
>>If the tag default is IMPLICIT TAGS then the encoding is as
>>you've stated above. The implicit tagging suppresses the universal
>tag
>>of the INTEGER, but there is no universal tag (or length) for CHOICE
>>and implicit tagging never applies to a CHOICE.
>>
>>With IMPLICIT tags the warning element, when present, is encoded as
>>
>>    [constructed 0] length [primitive 0] length integer-value-octets
>>
>>With EXPLICIT tags the warning element, when present, is encoded as
>>
>>    [constructed 0] length [constructed 0] length
>>        [primitive UNIVERSAL 2] length integer-value-octets
>>
>>  
>>
>>>One ASN.1 compiler I used encoded the warning element as a
>constructed
>>>element that contains one integer (which allows two tags to
>>>be encoded,
>>>one associated with the constructed/container element and one with
>the
>>>integer itself). Is that the right thing to do?
>>>    
>>>
>>
>>Yes, if the tag default is IMPLICIT TAGS, though the draft doesn't
>say
>>whether EXPLICIT or IMPLICIT tagging should apply.
>>
>>Regards,
>>Steven
>>
>
>_______________________________________________
>Ldapext mailing list
>Ldapext@ietf.org 
>https://www1.ietf.org/mailman/listinfo/ldapext
>_______________________________________________
>Ldapext mailing list
>Ldapext@ietf.org
>https://www1.ietf.org/mailman/listinfo/ldapext

_______________________________________________
Ldapext mailing list
Ldapext@ietf.org
https://www1.ietf.org/mailman/listinfo/ldapext
--=_F3AC48CE.7F1E7F68
Content-Type: message/rfc822

Return-path: <ldapext-admin@ietf.org>
Received: from prv1-mx.provo.novell.com [192.233.80.9]
	by prv-mail10.provo.novell.com; Fri, 28 Mar 2003 23:52:45 -0700
Received: from www1.ietf.org
	(ietf.org [132.151.1.19])
	by prv1-mx.provo.novell.com; Fri, 28 Mar 2003 23:52:31 -0700
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h2T7C8O20778;
	Sat, 29 Mar 2003 02:12:08 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h2T78FO15338
	for <ldapext@optimus.ietf.org>; Sat, 29 Mar 2003 02:08:15 -0500
Received: from prv-mail20.provo.novell.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id BAA03230
	for <ldapext@ietf.org>; Sat, 29 Mar 2003 01:45:36 -0500 (EST)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Fri, 28 Mar 2003 23:47:58 -0700
Message-Id: <se84df2e.024@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.0 
Date: Fri, 28 Mar 2003 23:47:32 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <Kurt@OpenLDAP.org>
Cc: <steven.legg@adacel.com.au>, <ldapext@ietf.org>, <mcs@netscape.com>
Subject: Re: [ldapext] BER encoding of PasswordPolicyResponseValue?
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Sender: ldapext-admin@ietf.org
Errors-To: ldapext-admin@ietf.org
X-BeenThere: ldapext@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>,
	<mailto:ldapext-request@ietf.org?subject=unsubscribe>
List-Id: LDAP Extension Working Group <ldapext.ietf.org>
List-Post: <mailto:ldapext@ietf.org>
List-Help: <mailto:ldapext-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>,
	<mailto:ldapext-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit

I'd love to do this, but the fact is, values of controls and extended
operations are OCTET STRING types. It's entirely up to the control or
extended operation specification to define the format of the octets
(4.1.11 and 4.12). I believe it would be inappropriate to say anything
other than "if the control (or extended operation) specification defines
the format of the control value using ASN.1, it SHOULD also specify that
encoding be in accordance with the rules in 5.1". Even that, I feel is
stretching things a bit. Otherwise the protocol begins to take on
aspects of an extension guide.

Jim


>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 3/28/03 7:39:30 PM >>>
At 06:23 PM 3/28/2003, Jim Sermersheim wrote:
>I bet you're right.  (Now where is that LDAP extensions guidelines
>document...?)

I can add something to draft-zeilenga-ldap-ext about this...
but maybe it *might* be appropriate to cover this in the
revision of Section 5.1 of RFC 2251.  Loosely speaking,
values of controls and extended operations are elements
of LDAP and hence subject to Section 5.1 requirements.

I suggest someone suggest some text to LDAPBIS.

Alternatively (or maybe, additionally), this can be covered
in draft-zeilenga-ldap-ext.  I'd welcome text suggestions.

Kurt


>>>> Mark C Smith <mcs@netscape.com> 3/28/03 7:32:16 AM >>>
>Thank you for your helpful response.
>
>One follow up question: in the absence of any indication, the default
>in 
>ASN.1 is EXPLICIT tagging, right? I suspect many LDAP extension 
>documents intend to use IMPLICIT (which for example is specified in 
>Appendix A of RFC 2251) but that fact may not be mentioned. One
>example:
>
>http://www.ietf.org/internet-drafts/draft-ietf-ldapext-ldapv3-vlv-09.txt

>
>
>-Mark
>
>
>Steven Legg wrote:
>
>>Mark,
>>
>>Mark C Smith wrote:
>>  
>>
>>>Someone asked me this week what the correct BER encoding is for a
>>>PasswordPolicyResponseValue (from
>>>
>>>    
>>>
>>http://www.ietf.org/internet-drafts/draft-behera-ldap-password-policy-06.txt

>
>>).
>>  
>>
>>>The ASN.1 from section 5.2 of the I-D is:
>>>
>>>    PasswordPolicyResponseValue ::= SEQUENCE {
>>>       warning   [0] CHOICE OPTIONAL {
>>>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
>>>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) }
>>>       error     [1] ENUMERATED OPTIONAL {
>>>           passwordExpired       (0),
>>>           accountLocked         (1),
>>>           changeAfterReset      (2),
>>>           passwordModNotAllowed (3),
>>>           mustSupplyOldPassword (4),
>>>           invalidPasswordSyntax (5),
>>>           passwordTooShort      (6),
>>>           passwordTooYoung      (7),
>>>           passwordInHistory     (8) } }
>>>    
>>>
>>
>>First up, there are syntax errors in this type definition.
>>It should read:
>>
>>    PasswordPolicyResponseValue ::= SEQUENCE {
>>       warning   [0] CHOICE {
>>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
>>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) }
>OPTIONAL,
>>       error     [1] ENUMERATED {
>>           passwordExpired       (0),
>>           accountLocked         (1),
>>           changeAfterReset      (2),
>>           passwordModNotAllowed (3),
>>           mustSupplyOldPassword (4),
>>           invalidPasswordSyntax (5),
>>           passwordTooShort      (6),
>>           passwordTooYoung      (7),
>>           passwordInHistory     (8) } OPTIONAL }
>>
>>
>>  
>>
>>>Notice that the warning element is both OPTIONAL (with a context
>>>specific tag of 0) and a CHOICE with embedded context specific tags
>(0
>>>timeBeforeExpiration and 1 for graceLoginsRemaining).
>>>Normally, a CHOICE
>>>is encoded simply as whatever element as chosen, e.g., if
>>>timeBeforeExpiration is chosen one would just encode an INTEGER
with
>a
>>>context specific primitive tag of 0. But the tag associated with
the
>>>outer element (warning) also needs to be included so the decoder
can
>>>tell that a warning element was included (remember, it is
optional).
>>>What is the right way to encode this?
>>>    
>>>
>>
>>If the tag default is IMPLICIT TAGS then the encoding is as
>>you've stated above. The implicit tagging suppresses the universal
>tag
>>of the INTEGER, but there is no universal tag (or length) for CHOICE
>>and implicit tagging never applies to a CHOICE.
>>
>>With IMPLICIT tags the warning element, when present, is encoded as
>>
>>    [constructed 0] length [primitive 0] length integer-value-octets
>>
>>With EXPLICIT tags the warning element, when present, is encoded as
>>
>>    [constructed 0] length [constructed 0] length
>>        [primitive UNIVERSAL 2] length integer-value-octets
>>
>>  
>>
>>>One ASN.1 compiler I used encoded the warning element as a
>constructed
>>>element that contains one integer (which allows two tags to
>>>be encoded,
>>>one associated with the constructed/container element and one with
>the
>>>integer itself). Is that the right thing to do?
>>>    
>>>
>>
>>Yes, if the tag default is IMPLICIT TAGS, though the draft doesn't
>say
>>whether EXPLICIT or IMPLICIT tagging should apply.
>>
>>Regards,
>>Steven
>>
>
>_______________________________________________
>Ldapext mailing list
>Ldapext@ietf.org 
>https://www1.ietf.org/mailman/listinfo/ldapext 
>_______________________________________________
>Ldapext mailing list
>Ldapext@ietf.org 
>https://www1.ietf.org/mailman/listinfo/ldapext 

_______________________________________________
Ldapext mailing list
Ldapext@ietf.org
https://www1.ietf.org/mailman/listinfo/ldapext
--=_F3AC48CE.7F1E7F68
Content-Type: message/rfc822

Return-path: <Ron.Ramsay@ca.com>
Received: from prv-mx.provo.novell.com [192.233.80.8]
	by prv-mail25.provo.novell.com; Sun, 30 Mar 2003 21:14:11 -0700
Received: from ausyms50.ca.com
	([155.35.248.106])
	by prv-mx.provo.novell.com; Sun, 30 Mar 2003 21:13:59 -0700
content-class: urn:content-classes:message
Subject: RE: [ldapext] BER encoding of PasswordPolicyResponseValue?
Date: Mon, 31 Mar 2003 14:14:04 +1000
MIME-Version: 1.0
Message-ID: <A7E3A4B51615D511BCB6009027D0D18C0871E7D5@aspams01.ca.com>
Content-Type: text/plain;
	charset="iso-8859-1"
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
Thread-Topic: [ldapext] BER encoding of PasswordPolicyResponseValue?
Thread-Index: AcL1v8Df1lukIQp6QHa8htBBrtrDTgBe7yoA
From: "Ramsay, Ron" <Ron.Ramsay@ca.com>
To: "Jim Sermersheim" <jimse@novell.com>,
	<Kurt@OpenLDAP.org>
Cc: <steven.legg@adacel.com.au>,
	<ldapext@ietf.org>,
	<mcs@netscape.com>
Content-Transfer-Encoding: quoted-printable

I think all ASN.1 for a control should be in the form of an ASN.1 module =
instead of just snippets of ASN.1. RFC 2251 does just this in an =
appendix.

-----Original Message-----
From: Jim Sermersheim [mailto:jimse@novell.com]
Sent: Saturday, 29 March 2003 17:48
To: Kurt@OpenLDAP.org
Cc: steven.legg@adacel.com.au; ldapext@ietf.org; mcs@netscape.com
Subject: Re: [ldapext] BER encoding of PasswordPolicyResponseValue?


I'd love to do this, but the fact is, values of controls and extended
operations are OCTET STRING types. It's entirely up to the control or
extended operation specification to define the format of the octets
(4.1.11 and 4.12). I believe it would be inappropriate to say anything
other than "if the control (or extended operation) specification defines
the format of the control value using ASN.1, it SHOULD also specify that
encoding be in accordance with the rules in 5.1". Even that, I feel is
stretching things a bit. Otherwise the protocol begins to take on
aspects of an extension guide.

Jim


>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 3/28/03 7:39:30 PM >>>
At 06:23 PM 3/28/2003, Jim Sermersheim wrote:
>I bet you're right.  (Now where is that LDAP extensions guidelines
>document...?)

I can add something to draft-zeilenga-ldap-ext about this...
but maybe it *might* be appropriate to cover this in the
revision of Section 5.1 of RFC 2251.  Loosely speaking,
values of controls and extended operations are elements
of LDAP and hence subject to Section 5.1 requirements.

I suggest someone suggest some text to LDAPBIS.

Alternatively (or maybe, additionally), this can be covered
in draft-zeilenga-ldap-ext.  I'd welcome text suggestions.

Kurt


>>>> Mark C Smith <mcs@netscape.com> 3/28/03 7:32:16 AM >>>
>Thank you for your helpful response.
>
>One follow up question: in the absence of any indication, the default
>in=20
>ASN.1 is EXPLICIT tagging, right? I suspect many LDAP extension=20
>documents intend to use IMPLICIT (which for example is specified in=20
>Appendix A of RFC 2251) but that fact may not be mentioned. One
>example:
>
>http://www.ietf.org/internet-drafts/draft-ietf-ldapext-ldapv3-vlv-09.txt=


>
>
>-Mark
>
>
>Steven Legg wrote:
>
>>Mark,
>>
>>Mark C Smith wrote:
>> =20
>>
>>>Someone asked me this week what the correct BER encoding is for a
>>>PasswordPolicyResponseValue (from
>>>
>>>   =20
>>>
>>http://www.ietf.org/internet-drafts/draft-behera-ldap-password-policy-0=
6.txt

>
>>).
>> =20
>>
>>>The ASN.1 from section 5.2 of the I-D is:
>>>
>>>    PasswordPolicyResponseValue ::=3D SEQUENCE {
>>>       warning   [0] CHOICE OPTIONAL {
>>>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
>>>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) }
>>>       error     [1] ENUMERATED OPTIONAL {
>>>           passwordExpired       (0),
>>>           accountLocked         (1),
>>>           changeAfterReset      (2),
>>>           passwordModNotAllowed (3),
>>>           mustSupplyOldPassword (4),
>>>           invalidPasswordSyntax (5),
>>>           passwordTooShort      (6),
>>>           passwordTooYoung      (7),
>>>           passwordInHistory     (8) } }
>>>   =20
>>>
>>
>>First up, there are syntax errors in this type definition.
>>It should read:
>>
>>    PasswordPolicyResponseValue ::=3D SEQUENCE {
>>       warning   [0] CHOICE {
>>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
>>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) }
>OPTIONAL,
>>       error     [1] ENUMERATED {
>>           passwordExpired       (0),
>>           accountLocked         (1),
>>           changeAfterReset      (2),
>>           passwordModNotAllowed (3),
>>           mustSupplyOldPassword (4),
>>           invalidPasswordSyntax (5),
>>           passwordTooShort      (6),
>>           passwordTooYoung      (7),
>>           passwordInHistory     (8) } OPTIONAL }
>>
>>
>> =20
>>
>>>Notice that the warning element is both OPTIONAL (with a context
>>>specific tag of 0) and a CHOICE with embedded context specific tags
>(0
>>>timeBeforeExpiration and 1 for graceLoginsRemaining).
>>>Normally, a CHOICE
>>>is encoded simply as whatever element as chosen, e.g., if
>>>timeBeforeExpiration is chosen one would just encode an INTEGER
with
>a
>>>context specific primitive tag of 0. But the tag associated with
the
>>>outer element (warning) also needs to be included so the decoder
can
>>>tell that a warning element was included (remember, it is
optional).
>>>What is the right way to encode this?
>>>   =20
>>>
>>
>>If the tag default is IMPLICIT TAGS then the encoding is as
>>you've stated above. The implicit tagging suppresses the universal
>tag
>>of the INTEGER, but there is no universal tag (or length) for CHOICE
>>and implicit tagging never applies to a CHOICE.
>>
>>With IMPLICIT tags the warning element, when present, is encoded as
>>
>>    [constructed 0] length [primitive 0] length integer-value-octets
>>
>>With EXPLICIT tags the warning element, when present, is encoded as
>>
>>    [constructed 0] length [constructed 0] length
>>        [primitive UNIVERSAL 2] length integer-value-octets
>>
>> =20
>>
>>>One ASN.1 compiler I used encoded the warning element as a
>constructed
>>>element that contains one integer (which allows two tags to
>>>be encoded,
>>>one associated with the constructed/container element and one with
>the
>>>integer itself). Is that the right thing to do?
>>>   =20
>>>
>>
>>Yes, if the tag default is IMPLICIT TAGS, though the draft doesn't
>say
>>whether EXPLICIT or IMPLICIT tagging should apply.
>>
>>Regards,
>>Steven
>>
>
>_______________________________________________
>Ldapext mailing list
>Ldapext@ietf.org=20
>https://www1.ietf.org/mailman/listinfo/ldapext=20
>_______________________________________________
>Ldapext mailing list
>Ldapext@ietf.org=20
>https://www1.ietf.org/mailman/listinfo/ldapext=20

_______________________________________________
Ldapext mailing list
Ldapext@ietf.org
https://www1.ietf.org/mailman/listinfo/ldapext

--=_F3AC48CE.7F1E7F68
Content-Type: message/rfc822

Return-path: <ldapext-admin@ietf.org>
Received: from prv2-mx.provo.novell.com [192.233.80.18]
	by prv-mail20.provo.novell.com; Sun, 30 Mar 2003 22:19:43 -0700
Received: from www1.ietf.org
	(ietf.org [132.151.1.19])
	by prv2-mx.provo.novell.com; Sun, 30 Mar 2003 22:19:05 -0700
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h2V5d8O26284;
	Mon, 31 Mar 2003 00:39:08 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h2V5X7O25379
	for <ldapext@optimus.ietf.org>; Mon, 31 Mar 2003 00:33:07 -0500
Received: from prv-mail20.provo.novell.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA13684
	for <ldapext@ietf.org>; Mon, 31 Mar 2003 00:09:31 -0500 (EST)
Received: from INET-PRV-MTA by prv-mail20.provo.novell.com
	with Novell_GroupWise; Sun, 30 Mar 2003 22:11:55 -0700
Message-Id: <se876bab.066@prv-mail20.provo.novell.com>
X-Mailer: Novell GroupWise Internet Agent 6.5.0 
Date: Sun, 30 Mar 2003 22:11:20 -0700
From: "Jim Sermersheim" <jimse@novell.com>
To: <Ron.Ramsay@ca.com>, <Kurt@OpenLDAP.org>
Cc: <steven.legg@adacel.com.au>, <ldapext@ietf.org>, <mcs@netscape.com>
Subject: RE: [ldapext] BER encoding of PasswordPolicyResponseValue?
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Sender: ldapext-admin@ietf.org
Errors-To: ldapext-admin@ietf.org
X-BeenThere: ldapext@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>,
	<mailto:ldapext-request@ietf.org?subject=unsubscribe>
List-Id: LDAP Extension Working Group <ldapext.ietf.org>
List-Post: <mailto:ldapext@ietf.org>
List-Help: <mailto:ldapext-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>,
	<mailto:ldapext-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit

I agree, but I also note that there's not even a requirement for control
values to be described using ASN.1.

>>> "Ramsay, Ron" <Ron.Ramsay@ca.com> 3/30/03 9:14:04 PM >>>
I think all ASN.1 for a control should be in the form of an ASN.1
module instead of just snippets of ASN.1. RFC 2251 does just this in an
appendix.

-----Original Message-----
From: Jim Sermersheim [mailto:jimse@novell.com] 
Sent: Saturday, 29 March 2003 17:48
To: Kurt@OpenLDAP.org 
Cc: steven.legg@adacel.com.au; ldapext@ietf.org; mcs@netscape.com 
Subject: Re: [ldapext] BER encoding of PasswordPolicyResponseValue?


I'd love to do this, but the fact is, values of controls and extended
operations are OCTET STRING types. It's entirely up to the control or
extended operation specification to define the format of the octets
(4.1.11 and 4.12). I believe it would be inappropriate to say anything
other than "if the control (or extended operation) specification
defines
the format of the control value using ASN.1, it SHOULD also specify
that
encoding be in accordance with the rules in 5.1". Even that, I feel is
stretching things a bit. Otherwise the protocol begins to take on
aspects of an extension guide.

Jim


>>> "Kurt D. Zeilenga" <Kurt@OpenLDAP.org> 3/28/03 7:39:30 PM >>>
At 06:23 PM 3/28/2003, Jim Sermersheim wrote:
>I bet you're right.  (Now where is that LDAP extensions guidelines
>document...?)

I can add something to draft-zeilenga-ldap-ext about this...
but maybe it *might* be appropriate to cover this in the
revision of Section 5.1 of RFC 2251.  Loosely speaking,
values of controls and extended operations are elements
of LDAP and hence subject to Section 5.1 requirements.

I suggest someone suggest some text to LDAPBIS.

Alternatively (or maybe, additionally), this can be covered
in draft-zeilenga-ldap-ext.  I'd welcome text suggestions.

Kurt


>>>> Mark C Smith <mcs@netscape.com> 3/28/03 7:32:16 AM >>>
>Thank you for your helpful response.
>
>One follow up question: in the absence of any indication, the default
>in 
>ASN.1 is EXPLICIT tagging, right? I suspect many LDAP extension 
>documents intend to use IMPLICIT (which for example is specified in 
>Appendix A of RFC 2251) but that fact may not be mentioned. One
>example:
>
>http://www.ietf.org/internet-drafts/draft-ietf-ldapext-ldapv3-vlv-09.txt


>
>
>-Mark
>
>
>Steven Legg wrote:
>
>>Mark,
>>
>>Mark C Smith wrote:
>>  
>>
>>>Someone asked me this week what the correct BER encoding is for a
>>>PasswordPolicyResponseValue (from
>>>
>>>    
>>>
>>http://www.ietf.org/internet-drafts/draft-behera-ldap-password-policy-06.txt


>
>>).
>>  
>>
>>>The ASN.1 from section 5.2 of the I-D is:
>>>
>>>    PasswordPolicyResponseValue ::= SEQUENCE {
>>>       warning   [0] CHOICE OPTIONAL {
>>>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
>>>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) }
>>>       error     [1] ENUMERATED OPTIONAL {
>>>           passwordExpired       (0),
>>>           accountLocked         (1),
>>>           changeAfterReset      (2),
>>>           passwordModNotAllowed (3),
>>>           mustSupplyOldPassword (4),
>>>           invalidPasswordSyntax (5),
>>>           passwordTooShort      (6),
>>>           passwordTooYoung      (7),
>>>           passwordInHistory     (8) } }
>>>    
>>>
>>
>>First up, there are syntax errors in this type definition.
>>It should read:
>>
>>    PasswordPolicyResponseValue ::= SEQUENCE {
>>       warning   [0] CHOICE {
>>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
>>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) }
>OPTIONAL,
>>       error     [1] ENUMERATED {
>>           passwordExpired       (0),
>>           accountLocked         (1),
>>           changeAfterReset      (2),
>>           passwordModNotAllowed (3),
>>           mustSupplyOldPassword (4),
>>           invalidPasswordSyntax (5),
>>           passwordTooShort      (6),
>>           passwordTooYoung      (7),
>>           passwordInHistory     (8) } OPTIONAL }
>>
>>
>>  
>>
>>>Notice that the warning element is both OPTIONAL (with a context
>>>specific tag of 0) and a CHOICE with embedded context specific tags
>(0
>>>timeBeforeExpiration and 1 for graceLoginsRemaining).
>>>Normally, a CHOICE
>>>is encoded simply as whatever element as chosen, e.g., if
>>>timeBeforeExpiration is chosen one would just encode an INTEGER
with
>a
>>>context specific primitive tag of 0. But the tag associated with
the
>>>outer element (warning) also needs to be included so the decoder
can
>>>tell that a warning element was included (remember, it is
optional).
>>>What is the right way to encode this?
>>>    
>>>
>>
>>If the tag default is IMPLICIT TAGS then the encoding is as
>>you've stated above. The implicit tagging suppresses the universal
>tag
>>of the INTEGER, but there is no universal tag (or length) for CHOICE
>>and implicit tagging never applies to a CHOICE.
>>
>>With IMPLICIT tags the warning element, when present, is encoded as
>>
>>    [constructed 0] length [primitive 0] length integer-value-octets
>>
>>With EXPLICIT tags the warning element, when present, is encoded as
>>
>>    [constructed 0] length [constructed 0] length
>>        [primitive UNIVERSAL 2] length integer-value-octets
>>
>>  
>>
>>>One ASN.1 compiler I used encoded the warning element as a
>constructed
>>>element that contains one integer (which allows two tags to
>>>be encoded,
>>>one associated with the constructed/container element and one with
>the
>>>integer itself). Is that the right thing to do?
>>>    
>>>
>>
>>Yes, if the tag default is IMPLICIT TAGS, though the draft doesn't
>say
>>whether EXPLICIT or IMPLICIT tagging should apply.
>>
>>Regards,
>>Steven
>>
>
>_______________________________________________
>Ldapext mailing list
>Ldapext@ietf.org 
>https://www1.ietf.org/mailman/listinfo/ldapext 
>_______________________________________________
>Ldapext mailing list
>Ldapext@ietf.org 
>https://www1.ietf.org/mailman/listinfo/ldapext 

_______________________________________________
Ldapext mailing list
Ldapext@ietf.org 
https://www1.ietf.org/mailman/listinfo/ldapext 

_______________________________________________
Ldapext mailing list
Ldapext@ietf.org
https://www1.ietf.org/mailman/listinfo/ldapext
--=_F3AC48CE.7F1E7F68
Content-Type: message/rfc822

Return-path: <ldapext-admin@ietf.org>
Received: from prv2-mx.provo.novell.com [192.233.80.18]
	by prv-mail25.provo.novell.com; Sun, 30 Mar 2003 22:26:58 -0700
Received: from www1.ietf.org
	(ietf.org [132.151.1.19])
	by prv2-mx.provo.novell.com; Sun, 30 Mar 2003 22:26:35 -0700
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h2V5lgO26624;
	Mon, 31 Mar 2003 00:47:42 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h2V5fsO26430
	for <ldapext@optimus.ietf.org>; Mon, 31 Mar 2003 00:41:54 -0500
Received: from adacel.com (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA13849
	for <ldapext@ietf.org>; Mon, 31 Mar 2003 00:18:17 -0500 (EST)
Received: from nexus.adacel.com (Not Verified[10.32.240.1]) by adacel.com with MailMarshal (v5,0,3,91)
	id <B00002a8bc>; Mon, 31 Mar 2003 15:19:12 +1000
Received: (qmail 27089 invoked from network); 31 Mar 2003 05:17:08 -0000
Received: from unknown (HELO osmium) (10.32.24.165)
  by nexus.adacel.com with SMTP; 31 Mar 2003 05:17:08 -0000
Reply-To: <steven.legg@adacel.com.au>
From: "Steven Legg" <steven.legg@adacel.com.au>
To: "'Mark C Smith'" <mcs@netscape.com>
Cc: <ldapext@ietf.org>
Subject: RE: [ldapext] BER encoding of PasswordPolicyResponseValue?
Date: Mon, 31 Mar 2003 15:20:38 +1000
Message-ID: <002601c2f745$44c8ce50$a518200a@osmium.mtwav.adacel.com.au>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
Importance: Normal
In-Reply-To: <3E845CF0.2090406@netscape.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0
Sender: ldapext-admin@ietf.org
Errors-To: ldapext-admin@ietf.org
X-BeenThere: ldapext@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>,
	<mailto:ldapext-request@ietf.org?subject=unsubscribe>
List-Id: LDAP Extension Working Group <ldapext.ietf.org>
List-Post: <mailto:ldapext@ietf.org>
List-Help: <mailto:ldapext-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>,
	<mailto:ldapext-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit


Mark,

Mark C Smith wrote:
> One follow up question: in the absence of any indication, the 
> default in 
> ASN.1 is EXPLICIT tagging, right?

The default for a module definition with an empty TagDefault is
EXPLICIT tagging, but for a fragment of ASN.1 that is not wrapped
in a module definition no particular kind of tagging can be assumed.
The ASN.1 standards don't recognize a standalone type definition
as valid use of the notation.

The tagging issue needs to be addressed by either providing a
module definition, perhaps as a normative annex, or by an explicit
statement in the specification.

In theory we should also be saying something about the extensibility
of any standalone ASN.1 type definition, but this only becomes a critical
concern if PER is being used. X.500 has long had a presumption of
extensibility.

Regards,
Steven 

> I suspect many LDAP extension 
> documents intend to use IMPLICIT (which for example is specified in 
> Appendix A of RFC 2251) but that fact may not be mentioned. 
> One example:
> 
> http://www.ietf.org/internet-drafts/draft-ietf-ldapext-ldapv3-
> vlv-09.txt
> 
> -Mark
> 
> 
> Steven Legg wrote:
> 
> >Mark,
> >
> >Mark C Smith wrote:
> >  
> >
> >>Someone asked me this week what the correct BER encoding is for a
> >>PasswordPolicyResponseValue (from
> >>
> >>    
> >>
> >http://www.ietf.org/internet-drafts/draft-behera-ldap-passwor
> d-policy-06.txt
> >).
> >  
> >
> >>The ASN.1 from section 5.2 of the I-D is:
> >>
> >>    PasswordPolicyResponseValue ::= SEQUENCE {
> >>       warning   [0] CHOICE OPTIONAL {
> >>           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
> >>           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) }
> >>       error     [1] ENUMERATED OPTIONAL {
> >>           passwordExpired       (0),
> >>           accountLocked         (1),
> >>           changeAfterReset      (2),
> >>           passwordModNotAllowed (3),
> >>           mustSupplyOldPassword (4),
> >>           invalidPasswordSyntax (5),
> >>           passwordTooShort      (6),
> >>           passwordTooYoung      (7),
> >>           passwordInHistory     (8) } }
> >>    
> >>
> >
> >First up, there are syntax errors in this type definition.
> >It should read:
> >
> >    PasswordPolicyResponseValue ::= SEQUENCE {
> >       warning   [0] CHOICE {
> >           timeBeforeExpiration  [0] INTEGER (0 .. maxInt),
> >           graceLoginsRemaining  [1] INTEGER (0 .. maxInt) } 
> OPTIONAL,
> >       error     [1] ENUMERATED {
> >           passwordExpired       (0),
> >           accountLocked         (1),
> >           changeAfterReset      (2),
> >           passwordModNotAllowed (3),
> >           mustSupplyOldPassword (4),
> >           invalidPasswordSyntax (5),
> >           passwordTooShort      (6),
> >           passwordTooYoung      (7),
> >           passwordInHistory     (8) } OPTIONAL }
> >
> >
> >  
> >
> >>Notice that the warning element is both OPTIONAL (with a context
> >>specific tag of 0) and a CHOICE with embedded context 
> specific tags (0
> >>timeBeforeExpiration and 1 for graceLoginsRemaining).
> >>Normally, a CHOICE
> >>is encoded simply as whatever element as chosen, e.g., if
> >>timeBeforeExpiration is chosen one would just encode an 
> INTEGER with a
> >>context specific primitive tag of 0. But the tag associated with the
> >>outer element (warning) also needs to be included so the decoder can
> >>tell that a warning element was included (remember, it is optional).
> >>What is the right way to encode this?
> >>    
> >>
> >
> >If the tag default is IMPLICIT TAGS then the encoding is as
> >you've stated above. The implicit tagging suppresses the 
> universal tag
> >of the INTEGER, but there is no universal tag (or length) for CHOICE
> >and implicit tagging never applies to a CHOICE.
> >
> >With IMPLICIT tags the warning element, when present, is encoded as
> >
> >    [constructed 0] length [primitive 0] length integer-value-octets
> >
> >With EXPLICIT tags the warning element, when present, is encoded as
> >
> >    [constructed 0] length [constructed 0] length
> >        [primitive UNIVERSAL 2] length integer-value-octets
> >
> >  
> >
> >>One ASN.1 compiler I used encoded the warning element as a 
> constructed
> >>element that contains one integer (which allows two tags to
> >>be encoded,
> >>one associated with the constructed/container element and 
> one with the
> >>integer itself). Is that the right thing to do?
> >>    
> >>
> >
> >Yes, if the tag default is IMPLICIT TAGS, though the draft 
> doesn't say
> >whether EXPLICIT or IMPLICIT tagging should apply.
> >
> >Regards,
> >Steven
> >
> 
> _______________________________________________
> Ldapext mailing list
> Ldapext@ietf.org
> https://www1.ietf.org/mailman/listinfo/ldapext
> 
_______________________________________________
Ldapext mailing list
Ldapext@ietf.org
https://www1.ietf.org/mailman/listinfo/ldapext
--=_F3AC48CE.7F1E7F68
Content-Type: message/rfc822

Return-path: <mcs@netscape.com>
Received: from prv1-mx.provo.novell.com [192.233.80.9]
	by prv-mail25.provo.novell.com; Mon, 31 Mar 2003 08:28:50 -0700
Received: from netscape.com
	(r2d2.aoltw.net [64.236.137.26])
	by prv1-mx.provo.novell.com; Mon, 31 Mar 2003 08:28:36 -0700
Received: from judge.mcom.com (judge.nscp.aoltw.net [10.169.8.47])
	by netscape.com (8.10.0/8.10.0) with ESMTP id h2VFSeR02836
	for <jimse@novell.com>; Mon, 31 Mar 2003 07:28:40 -0800 (PST)
Received: from netscape.com ([10.178.168.45]) by judge.mcom.com
          (Netscape Messaging Server 4.15) with ESMTP id HCMDNT00.XA8;
          Mon, 31 Mar 2003 07:28:41 -0800 
Message-ID: <3E885EA9.9010007@netscape.com>
Date: Mon, 31 Mar 2003 10:28:41 -0500
From: mcs@netscape.com (Mark C Smith)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Jim Sermersheim <jimse@novell.com>
CC: Kurt@OpenLDAP.org, steven.legg@adacel.com.au, ldapext@ietf.org
Subject: Re: [ldapext] BER encoding of PasswordPolicyResponseValue?
References: <se84df2e.024@prv-mail20.provo.novell.com>
In-Reply-To: <se84df2e.024@prv-mail20.provo.novell.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Jim Sermersheim wrote:

>I'd love to do this, but the fact is, values of controls and extended
>operations are OCTET STRING types. It's entirely up to the control or
>extended operation specification to define the format of the octets
>(4.1.11 and 4.12). I believe it would be inappropriate to say anything
>other than "if the control (or extended operation) specification defines
>the format of the control value using ASN.1, it SHOULD also specify that
>encoding be in accordance with the rules in 5.1". Even that, I feel is
>stretching things a bit. Otherwise the protocol begins to take on
>aspects of an extension guide.
>
I think a statement like you suggest that references section 5.1 would 
be a reasonable thing to add to the protocol document. I think it will 
do more harm than good to allow control authors to use different 
encoding approaches (but if someone can come up with a real world 
example where following 5.1 is unacceptable in a control, I will change 
my mind). I think current practice is to follow 5.1, but we just don't 
have that requirement written down anywhere.

-Mark

--=_F3AC48CE.7F1E7F68
Content-Type: message/rfc822

Return-path: <Kurt@OpenLDAP.org>
Received: from prv2-mx.provo.novell.com [192.233.80.18]
	by prv-mail20.provo.novell.com; Mon, 31 Mar 2003 08:48:53 -0700
Received: from pretender.boolean.net
	(router.boolean.net [198.144.206.49])
	by prv2-mx.provo.novell.com; Mon, 31 Mar 2003 08:48:39 -0700
Received: from nomad.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.8/8.12.8) with ESMTP id h2VFmbBT028693;
	Mon, 31 Mar 2003 15:48:37 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20030331073512.01a49ff0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Mon, 31 Mar 2003 07:45:56 -0800
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: [ldapext] BER encoding of PasswordPolicyResponseValue?
Cc: <steven.legg@adacel.com.au>, <ldapext@ietf.org>, <mcs@netscape.com>
In-Reply-To: <se84df2e.024@prv-mail20.provo.novell.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

At 10:47 PM 3/28/2003, Jim Sermersheim wrote:
>I'd love to do this, but the fact is, values of controls and extended
>operations are OCTET STRING types.

Yes, but as LDAP extensions are defining "LDAP protocol elements",
I think it is reasonable to say that this SHALL apply to control and
extended operation values which are described in term of ASN.1 and
encoded using BER (as described in 5.1) unless the technical
specification defining the LDAP protocol element explicitly states
otherwise.

I encourage extension authors to include to define the
term BER-encoded as follows.
   Protocol elements are described using ASN.1 [X.680].  The term
   "BER-encoded" means the element is to be encoded using the Basic
   Encoding Rules [X.690] under the restrictions detailed in
   Section 5.1 of [RFC2251].

Kurt 

--=_F3AC48CE.7F1E7F68
Content-Type: message/rfc822

Return-path: <ldapext-admin@ietf.org>
Received: from prv1-mx.provo.novell.com [192.233.80.9]
	by prv-mail10.provo.novell.com; Mon, 31 Mar 2003 08:50:39 -0700
Received: from www1.ietf.org
	(ietf.org [132.151.1.19])
	by prv1-mx.provo.novell.com; Mon, 31 Mar 2003 08:50:31 -0700
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h2VGB1O14810;
	Mon, 31 Mar 2003 11:11:01 -0500
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h2VGA5O14726
	for <ldapext@optimus.ietf.org>; Mon, 31 Mar 2003 11:10:05 -0500
Received: from pretender.boolean.net (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA11860
	for <ldapext@ietf.org>; Mon, 31 Mar 2003 10:46:15 -0500 (EST)
Received: from nomad.OpenLDAP.org (kurt@localhost [127.0.0.1])
	by pretender.boolean.net (8.12.8/8.12.8) with ESMTP id h2VFmbBT028693;
	Mon, 31 Mar 2003 15:48:37 GMT
	(envelope-from Kurt@OpenLDAP.org)
Message-Id: <5.2.0.9.0.20030331073512.01a49ff0@127.0.0.1>
X-Sender: kurt@127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
Date: Mon, 31 Mar 2003 07:45:56 -0800
To: "Jim Sermersheim" <jimse@novell.com>
From: "Kurt D. Zeilenga" <Kurt@OpenLDAP.org>
Subject: Re: [ldapext] BER encoding of PasswordPolicyResponseValue?
Cc: <steven.legg@adacel.com.au>, <ldapext@ietf.org>, <mcs@netscape.com>
In-Reply-To: <se84df2e.024@prv-mail20.provo.novell.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: ldapext-admin@ietf.org
Errors-To: ldapext-admin@ietf.org
X-BeenThere: ldapext@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>,
	<mailto:ldapext-request@ietf.org?subject=unsubscribe>
List-Id: LDAP Extension Working Group <ldapext.ietf.org>
List-Post: <mailto:ldapext@ietf.org>
List-Help: <mailto:ldapext-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ldapext>,
	<mailto:ldapext-request@ietf.org?subject=subscribe>

At 10:47 PM 3/28/2003, Jim Sermersheim wrote:
>I'd love to do this, but the fact is, values of controls and extended
>operations are OCTET STRING types.

Yes, but as LDAP extensions are defining "LDAP protocol elements",
I think it is reasonable to say that this SHALL apply to control and
extended operation values which are described in term of ASN.1 and
encoded using BER (as described in 5.1) unless the technical
specification defining the LDAP protocol element explicitly states
otherwise.

I encourage extension authors to include to define the
term BER-encoded as follows.
   Protocol elements are described using ASN.1 [X.680].  The term
   "BER-encoded" means the element is to be encoded using the Basic
   Encoding Rules [X.690] under the restrictions detailed in
   Section 5.1 of [RFC2251].

Kurt 

_______________________________________________
Ldapext mailing list
Ldapext@ietf.org
https://www1.ietf.org/mailman/listinfo/ldapext

--=_F3AC48CE.7F1E7F68--


