view Side-By-Side changes
INTERNET-DRAFT Editor: R. Harrisondraft-ietf-ldapbis-authmeth-08.txtdraft-ietf-ldapbis-authmeth-09.txt Novell, Inc. Obsoletes: 2251, 2829, 283026 October5 December 2003 Intended Category: Draft Standard LDAP: Authentication Methods and Connection Level Security Mechanisms Status of this Memo This document is an Internet-Draft and is in full conformance with all provisions of Section 10 of RFC2026. This document is intended to be, after appropriate review and revision, submitted to the RFC Editor as a Standard Track document. Distribution of this memo is unlimited. Technical discussion of this document will take place on the IETF LDAP Extension Working Group mailing list <ietf-ldapbis@OpenLDAP.org>. Please send editorial comments directly to the author <roger_harrison@novell.com>. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet- Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt The list of Internet- Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. Copyright Notice Copyright (C) The Internet Society (2003). All Rights Reserved. Abstract This document describes authentication methods and connection level security mechanisms of the Lightweight Directory Access Protocol (LDAP). This document details the simple Bind authentication method including anonymous, unauthenticated, and plain-text password methods and the SASL (Simple Authentication and Security Layer) Bind authentication method including the use of DIGEST-MD5 and EXTERNAL mechanisms. Harrison ExpiresAprilJune 2004 [Page 1] Internet-Draft LDAP Authentication Methods7 October5 December 2003 This document also details establishment of TLS (Transport Layer Security) using the Start TLS operation. This document describes various authentication and authorization states through which a connection to an LDAP server may pass and the actions that trigger these state changes.This document also prescribes DIGEST-MD5 as LDAP's mandatory-to- implement strong authentication mechanism.1. Introduction The Lightweight Directory Access Protocol (LDAP) [Protocol] is a powerful access protocol for directories. It offers means of searching, retrieving and manipulating directory content, and ways to access a rich set of security functions. It is vital that these security functions be interoperable among all LDAP clients and servers on the Internet; therefore there has to be a minimum subset of security functions that is common to all implementations that claim LDAP conformance. Basic threats to an LDAP directory service include: (1) Unauthorized access to directory data via data-retrieval operations, (2) Unauthorized access to reusable client authentication information by monitoring others' access, (3) Unauthorized access to directory data by monitoring others' access, (4) Unauthorized modification of directory data, (5) Unauthorized modification of configuration information, (6) Unauthorized or excessive use of resources (denial of service), and (7) Spoofing of directory: Tricking a client into believing that information came from the directory when in fact it did not, either by modifying data in transit or misdirecting the client's connection. Also, tricking a client into sending privileged information to a hostile entity that appears to be the directory but is not. Threats (1), (4), (5) and (6) are due to hostile clients. Threats (2), (3) and (7) are due to hostile agents on the path between client and server or hostile agents posing as a server. LDAP can be protected with the following security mechanisms:Harrison Expires April 2004 [Page 2] Internet-Draft LDAP Authentication Methods 7 October 2003(1) Client authentication by means of the Secure Authentication and Security Layer (SASL) [SASL] mechanism set, possibly backed by the Transport Layer Security (TLS) [TLS] credentials exchange mechanism, Harrison Expires June 2004 [Page 2] Internet-Draft LDAP Authentication Methods 5 December 2003 (2) Client authorization by means of access control based on the requestor's authenticated identity, (3) Data integrity protection by means of TLS or SASL mechanisms with security layers that provide data integrity services, (4) Data confidentiality protection against snooping by means of the TLS protocol or SASL mechanisms that provide data confidentiality services, (5) Server resource usage limitation by means of administrative service limits configured on the server, and (6) Server authentication by means of the TLS protocol or SASL mechanism. At the moment, imposition of access controls is done by means outside the scope of LDAP. It seems clear that allowing any implementation, faced with the above requirements, to simply pick and choose among the possible alternatives is not a strategy that is likely to lead to interoperability. In the absence of mandates, clients will be written that do not support any security function supported by the server, or worse, they will support only mechanisms like the LDAP simple bind using clear text passwords that provide inadequate security for most circumstances. Given the presence of the Directory, there is a strong desire to see mechanisms where identities take the form of an LDAP distinguished name [LDAPDN] and authentication data can be stored in the directory. This means that this data must be updated outside the protocol or only updated in sessions well protected against snooping. It is also desirable to allow authentication methods to carryauthorizationidentitiesbased on existing--non-LDAP DN--forms ofnot represented as LDAP DNs that are familiar to the useridentities for backwards compatibility with non-LDAP-based authentication services.or that are used in other systems. The set of security mechanisms provided in LDAP and described in this document is intended to meet the security needs for a wide range of deployment scenarios and still provide a high degree of interoperability among various LDAP implementations and deployments. Appendix A contains example deployment scenarios that list the mechanisms that might be used to achieve a reasonable level of security in various circumstances. 1.1. Relationship to Other Documents This document is an integral part of the LDAP Technical Specification [Roadmap]. This documentreplaces RFC 2829 and portions of RFC 2830 andobsoletes RFC2251.2829. Harrison ExpiresAprilJune 2004 [Page 3] Internet-Draft LDAP Authentication Methods7 October5 December 2003 Sections 2 and 4 of RFC 2830 are obsoleted by [Protocol]. The remainder of RFC 2830 is obsoleted by this document. 2. Conventions Used in this Document 2.1. Glossary of Terms The following terms are used in this document. To aid the reader, these terms are defined here. - "user" represents any human or application entity which is accessing the directory using a directory client. A directory client (or client) is also known as a directory user agent (DUA). - "connection" and "LDAP connection" both refer to the underlying transport protocol connection between two protocol peers. - "TLS connection" refers to a TLS-protected LDAP connection. - "association" and "LDAP association" both refer to the association of the LDAP connection and its current authentication and authorization state. 2.2. Security Terms and Concepts In general, security terms in this document are used consistently with the definitions provided in [RFC2828]. In addition, several terms and concepts relating to security, authentication, and authorization are presented in Appendix B of this document. While the formal definition of these terms and concepts is outside the scope of this document, an understanding of them is prerequisite to understanding much of the material in this document. Readers who are unfamiliar with security-related concepts are encouraged to review Appendix B before reading the remainder of this document. 2.3. Keywords The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 [RFC2119]. 3. Bind Operation The Bind operation defined in section 4.2 of [Protocol] allows authentication information to be exchanged between the client and server to establish a new LDAP association. The new LDAP association is established upon successful completion of the authentication exchange. 3.1. Implied Anonymous Bind on LDAP Association Prior to the successful completion of a Bind operation and during any subsequent authentication exchange, the session has an anonymous Harrison ExpiresAprilJune 2004 [Page 4] Internet-Draft LDAP Authentication Methods7 October5 December 2003 LDAP association. Among other things this implies that the client need not send a Bind Request in the first PDU of the connection. The client may send any operation request prior to binding, and the server MUST treat it as if it had been performed after an anonymous bind operation. This authentication state on an LDAP association is sometimes referred to as an implied anonymous bind. 3.2. Simple Authentication The simple authentication choice provides minimal facilities for establishing an anonymous association or for establishing an LDAP association based upon credentials consisting of a name (in the form of an [LDAPDN] and a password. The simple authentication choice provides two different methods for establishing an anonymous association: anonymous bind and unauthenticated bind (see section6.1).5.1). The simple authentication choice provides one method for establishing a non-anonymous association: simple password bind. 3.3. SASL Authentication Profile LDAP allows authentication via any SASL mechanism [SASL]. As LDAP includes native anonymous and plaintext authentication methods, the"ANONYMOUS"ANONYMOUS [ANONYMOUS] and"PLAIN"PLAIN [PLAIN] SASL mechanisms are typically not used with LDAP. Each protocol that utilizes SASL services is required to supply certain information profiling the way they are exposed through the protocol ([SASL] section 5). This section explains how each of these profiling requirements are met by LDAP. 3.3.1. SASL Service Name for LDAP The SASL service name for LDAP is "ldap", which has been registered with the IANA as a GSSAPI service name. 3.3.2. SASL authentication initiation and protocol exchange SASL authentication is initiated via an LDAP bind request ([Protocol] section 4.2) with the following parameters: - The version is 3. - The AuthenticationChoice is sasl. - The mechanism element of the SaslCredentials sequence contains the value of the desired SASL mechanism. - The optional credentials field of the SaslCredentials sequence may be used to provide an initial client response for mechanisms that are defined to have the client send data first (see [SASL] sections 5 and6.1).5.1). In general, a SASL authentication protocol exchange consists of a series of server challenges and client responses, the contents of Harrison ExpiresAprilJune 2004 [Page 5] Internet-Draft LDAP Authentication Methods7 October5 December 2003 which are specific to and defined by the SASL mechanism. Thus for some SASL authentication mechanisms, it may be necessary for the client to respond to one or more server challenges by invoking the BindRequest multiple times. A challenge is indicated by the server sending a BindResponse with the resultCode set to saslBindInProgress. This indicates that the server requires the client to send a new bind request, with the same sasl mechanism to continue the authentication process. To the encapsulating protocol, these challenges and responses are opaque binary tokens of arbitrary length. LDAP servers use the serverSaslCreds field, an OCTET STRING, in a bind response message to transmit each challenge. LDAP clients use the credentials field, an OCTET STRING, in the SaslCredentials sequence of a bind request message to transmit each response. Note that unlike some Internetapplicationprotocols where SASL is used, LDAP is not text-based, thus no Base64 transformations are performed on these challenge and response values. Clients sending a bind request with the sasl choice selected SHOULD NOT send a value in the name field. Servers receiving a bind request with the sasl choice selected SHALL ignore any value in the name field. A client may abort a SASL bind negotiation by sending a BindRequest with a different value in the mechanism field of SaslCredentials, or an AuthenticationChoice other than sasl. If the client sends a BindRequest with the sasl mechanism field as an empty string, the server MUST return a BindResponse with authMethodNotSupported as the resultCode. This will allow clients to abort a negotiation if it wishes to try again with the same SASL mechanism. The server indicates completion of the SASL challenge-response exchange by responding with a bind response in which the resultCode is either success, or an error indication. The serverSaslCreds field in the bind response can be used to include an optional challenge with a success notification for mechanisms which are defined to have the server send additional data along with the indication of successful completion. 3.3.3. Octet where negotiated security mechanisms take effect When negotiated, SASL security layers take effect following the transmission by the server and reception by the client of the final BindResponse in the exchange. Once a SASL security layer providing integrity or confidentiality services takes effect, the layer remains in effect until a new layer is installed (i.e. at the first octet following the final BindResponse of the bind operation that caused the new layer to take effect). Harrison ExpiresAprilJune 2004 [Page 6] Internet-Draft LDAP Authentication Methods7 October5 December 2003 3.3.4. Determination of supported SASL mechanisms An LDAP client may determine the SASL mechanisms a server supports by performing a search request on the root DSE, requesting the supportedSASLMechanisms attribute. The values of this attribute, if any, list the mechanisms the server supports. 3.3.5. Rules for using SASL security layers If a SASL security layer is negotiated, the client SHOULD discard information about the serverfetchedit obtained prior to the initiation of the SASL negotiation and not obtained through secure mechanisms. Ifthe client is configured to support multiple SASL mechanisms, it SHOULD fetch the supportedSASLmechanisms list both before and after the SASL security layer is negotiated. This allows the client to detect active attacks that remove supported SASL mechanisms from the supportedSASLMechanisms list and allows the client to ensure that it is using the best mechanism supported by both client and server. (In particular, this allows for environments where the supportedSASLMechanisms list is provided to the client through a different trusted source, e.g. as part of a digitally signed object.) Ifa lower level security layer (such as TLS) is negotiated, any SASL security services SHALL be layered on top of such security layers regardless of the order of their negotiation. In all other respects, SASL security services and other security layers act independently, e.g. if both TLS and SASL security service are in effect removing the SASL security service does not affect the continuing service of TLS and vice versa. Because SASL mechanisms provide critical security functions, clients and servers should allow the user to specify what mechanisms are acceptable and allow only those mechanisms to be used. 3.3.6. Use of EXTERNAL SASL Mechanism A client can use the"EXTERNAL"EXTERNAL SASL [SASL] mechanism to request the LDAP server to make use of security credentials exchanged by a lowerlayer.security layer (such as by TLS authentication or IP-level security [RFC2401]). If the client's authentication credentials have not been established at a lowerlevel (such as by TLS authentication or IP-levelsecurity[RFC2401]),layer, the SASL EXTERNAL bind MUST fail with a resultCode of inappropriateAuthentication. Any client authentication and authorization state of the LDAP association is lost, so the LDAP association is in an anonymous state after the failure (see [Protocol] section 4.2.1).3.4. SASL Authorization Identity When the "EXTERNAL" SASL mechanism is being negotiated, ifIn such a situation, theSaslCredentials credentials fieldstate of any established security layer ispresent,unaffected. A client may either implicitly request that its LDAP authorization identity be derived from a lower layer or itcontainsmay explicitly provide an authorizationidentity. Other mechanisms define the location of the authorizationidentity and assert that it be used in combination with its authenticated TLS credentials. The former is known as an implicit assertion, and thecredentials field. In either case, thelatter as an explicit assertion. 3.3.6.1. Implicit Assertion An implicit authorization identity assertion isrepresented inperformed by invoking a Bind request of theauthzIdSASL formdescribed below. 3.4.1. Authorization Identity Syntaxusing the EXTERNAL mechanism name that SHALL NOT include the optional credentials octet string (found within the SaslCredentials sequence in the Bind Request). The server will derive the client's authorization identityis a string of [UTF-8] encoded [Unicode] characters corresponding to the following ABNF grammar [RFC2234]:Harrison ExpiresAprilJune 2004 [Page 7] Internet-Draft LDAP Authentication Methods7 October5 December 2003; Specific predefined authorization (authz) id schemesfrom the authentication identity supplied by the security layer (e.g., a public key certificate used during TLS establishment) according to local policy. The underlying mechanics of how this is accomplished are; defined below -- new schemes mayimplementation specific. 3.3.6.2. Explicit Assertion An explicit authorization identity assertion is performed by invoking a Bind request of the SASL form using the EXTERNAL mechanism name that SHALL include the credentials octet string. This string MUST bedefinedconstructed as documented inthe future. authzId = dnAuthzIdsection 3.4.1. The server MUST that the client's authentication identity as supplied in its TLS credentials is permitted to be mapped to the asserted authorization identity. The server MUST reject the Bind operation with an invalidCredentials resultCode in the Bind response if the client is not so authorized. 3.3.6.3. SASL Authorization Identity When the EXTERNAL SASL mechanism is being negotiated, if the SaslCredentials credentials field is present, it contains an authorization identity. Other mechanisms define the location of the authorization identity in the credentials field. In either case, the authorization identity is represented in the authzId form described below. 3.3.6.4 Authorization Identity Syntax The authorization identity is a string of [UTF-8] encoded [Unicode] characters corresponding to the following [ABNF] grammar: authzId = dnAuthzId / uAuthzId DNCOLON = %x64 %x6e %x3a ; "dn:" UCOLON = %x75 %x3a ; "u:" ; distinguished-name-based authz id. dnAuthzId = DNCOLONdn dn = utf8string ; with syntax defined in [LDAPDN] section 3.distinguishedName ; unspecified authorization id, UTF-8 encoded. uAuthzId = UCOLON userid userid =utf8string*UTF8 ; syntax unspecified where the <distinguishedName> production is defined in section 3 of [LDAPDN] and <UTF8> production is defined in section 1.3 of [Models]. In order to support additional specific authorization identity forms, future updates to this specification may add new choices supporting other forms may be added to the authzId production. The dnAuthzId choice allowsclient applicationsclients to assert authorization identities in the form of a distinguished name to be matched in Harrison Expires June 2004 [Page 8] Internet-Draft LDAP Authentication Methods 5 December 2003 accordance with the distinguishedName matching rule [Syntaxes]. The decision to allow or disallow an authentication identity to have access to the requested authorization identity is a matter of local policy ([SASL] section 4.2). For this reason there is no requirement that the asserted dn be that of an entry in directory. The uAuthzId choice allows for compatibility withclient applicationsclients that wish to assert an authorization identity to a local directory but do not have that identity in distinguished name form. The value contained within a uAuthzId MUST be prepared usingSASLprep[SASLPrep] before being compared octet-wise. The format of utf8string is defined as only a sequence ofof[UTF-8] encoded [Unicode] characters, and further interpretation is subject to prior agreement between the client and server. For example, the userid could identify a user of a specific directory service or be a login name or the local-part of an RFC 822 email address. A uAuthzId SHOULD NOT be assumed to be globally unique.Additional authorization identity schemes may be defined in future versions of this document.4. Start TLS Operation The Start Transport Layer Security(StartTLS)(Start TLS) operation defined in section 4.13 of [Protocol] provides the ability to establish [TLS] on an LDAP association. 4.1. Sequencing of the Start TLS Operation This section describes the overall procedures clients and servers must follow for TLS establishment. These procedures take intoHarrison Expires April 2004 [Page 8] Internet-Draft LDAP Authentication Methods 7 October 2003consideration various aspects of the overall security of the LDAP association including discovery of resultant security level and assertion of the client's authorization identity. Note that the precise effects, on a client's authorization identity, of establishing TLS on an LDAP association are described in detail in section 4.2. 4.1.1.Requesting toStart TLSon an LDAP ConnectionRequest The client MAY send the Start TLS extended request at any time after establishing an LDAP connection, except: - when TLS is currently established on the connection, - when a multi-stage SASL negotiation is in progress on the connection, or - when there are one or more outstanding LDAP operations on the connection. The result of violating any of these requirements is a resultCode of operationsError, as described in [Protocol] section 4.13.2.2. Client implementers should note that it is possible to receive a resultCode of success for a Start TLS operation that is sent on a connection with outstanding LDAP operations and the server has sufficient time Harrison Expires June 2004 [Page 9] Internet-Draft LDAP Authentication Methods 5 December 2003 to process them prior to its receiving the Start TLS request. Implementors of clients should ensure that they do not inadvertently depend upon this racecondition for proper functioning of their applications.condition. In particular, there is no requirement that the client have or have not already performed a Bind operation before sending a Start TLS operation request. The client may have already performed a Bind operation when it sends a Start TLS request, or the client might have not yet bound. If the client did not establish a TLS connection before sending any other requests, and the server requires the client to establish a TLS connection before performing a particular request, the server MUST reject that request by sending a resultCode of confidentialityRequired or strongAuthRequired. 4.1.2.StartingStart TLS Response The server will return an extended response with the resultCode of success if it is willing and able to negotiate TLS. It will return otherresultCodesresultCode values (documented in [Protocol] section 4.13.2.2) if it is unwilling or unable to do so. In the successful case, the client (which has ceased to transfer LDAP requests on the connection) MUST either begin a TLS negotiation or close the connection. The client will send PDUs in the TLS Record Protocol directly over the underlying transport connection to the server to initiate [TLS] negotiation.Harrison Expires April 2004 [Page 9] Internet-Draft LDAP Authentication Methods 7 October 20034.1.3. TLS Version Negotiation Negotiating the version of TLS or SSL to be used is a part of the [TLS] Handshake Protocol. Please refer to that document for details. 4.1.4. Discovery of Resultant Security Level After a TLS connection is established on an LDAP association, both partiesMUSTmust individually decide whether or not to continue based on the security level achieved. Ascertaining the TLS connection's security level is implementation dependent and accomplished by communicating with one's respective local TLS implementation. If the client or server decides that the level of authentication or security is not high enough for it to continue, it SHOULD gracefully close the TLS connection immediately after the TLS negotiation has completed (see [Protocol] section 4.13.3.1 and section 4.2.3 below). If the client decides to continue, it may gracefully close the TLS connection and attempt to Start TLS again, it may send an unbind request, or it may send any other LDAP request. 4.1.5. Server Identity Check Harrison Expires June 2004 [Page 10] Internet-Draft LDAP Authentication Methods 5 December 2003 The client MUST check its understanding of the server's hostname against the server's identity as presented in the server's Certificate message in order to prevent man-in-the-middle attacks. Matching is performed according to these rules: - The client MUST use the server provided by the user (or other trusted entity) as the value to compare against the server name as expressed in the server's certificate. A hostname derived from the user input is to be considered provided by the user only if derived in a secure fashion (e.g., DNSSEC). - If a subjectAltName extension of type dNSName is present in the certificate, it SHOULD be used as the source of the server's identity. - Matching is case-insensitive. - The "*" wildcard character is allowed. If present, it applies only to the left-most name component. For example, *.bar.com would match a.bar.com and b.bar.com, but it would not match a.x.bar.com nor would it match bar.com. If more than one identity of a given type is present in the certificate (e.g. more than one dNSName name), a match in any one of the set is considered acceptable. If the hostname does not match the dNSName-based identity in the certificate per the above check, user-oriented clients SHOULD either notify the user (clients may give the user the opportunity to continue with the connection in any case) or terminate theHarrison Expires April 2004 [Page 10] Internet-Draft LDAP Authentication Methods 7 October 2003connection and indicate that the server's identity is suspect. Automated clients SHOULD close the connection, returning and/or logging an error indicating that the server's identity is suspect. Beyond the server identity checks described in this section, clients SHOULD be prepared to do further checking to ensure that the server is authorized to provide the service it is observed to provide. The client may need to make use of local policy information in making this determination. 4.1.6. Refresh of Server Capabilities Information Upon TLS session establishment, the client SHOULD discard or refresh all information about the serverfetchedit obtained prior to the initiation of the TLS negotiation and not obtained through secure mechanisms. This protects against active-intermediary attacks that may have altered any server capabilities information retrieved prior to TLS establishment. The server may advertise different capabilities after TLS establishment. In particular, the value of supportedSASLMechanisms may be different after TLS has been negotiated (specifically, the Harrison Expires June 2004 [Page 11] Internet-Draft LDAP Authentication Methods 5 December 2003 EXTERNAL and PLAIN [PLAIN] mechanisms are likely to be listed only after a TLS negotiation has been performed). 4.2. Effects of TLS on a Client's Authorization Identity This section describes the effects on a client's authorization identity brought about by establishing TLS on an LDAP association. The default effects are described first, and next the facilities for client assertion of authorization identity are discussed including error conditions. Finally, the effects of closing the TLS connection are described. Authorization identities and related concepts are described in Appendix B. 4.2.1.Default Effects Upon establishment of theTLSsession ontoConnection Establishment Effects The decision to keep or invalidate theLDAP association, any previouslyestablished authentication and authorization identitiesMUST remain in force, including anonymous state. This holds eveninthe case where theplace after TLS is negotiated is a matter of local serverrequests clientpolicy. If a server chooses to invalidate established authenticationviaand authorization identities after TLS-- e.g.is negotiated, it MUST reply to subsequent valid operation requests until the next TLS closure or successful bind request with a resultCode of strongAuthRequired to indicate that the client needs tosupplybind to reestablish itscertificate during TLS negotiation.authentication. If the client attempts to bind using a method the server is unwilling to support, it responds to the with a resultCode of authMethodNotSupported (per [Protocol]) to indicate that a different authentication method should be used. 4.2.2. Client Assertion of Authorization IdentityThe client MAY, upon receipt ofAfter successfully establishing aStartTLSresponse indicating success, assert thatsession, aspecific authorization identityclient may request that its credentials exchanged during the TLS establishment be utilizedin determiningto determine the client's authorization status. The client accomplishes this via an LDAP Bind request specifying a SASL mechanism of"EXTERNAL"EXTERNAL [SASL].A client may either implicitly request that its LDAP authorization identity be derived from its Harrison Expires April 2004 [Page 11] Internet-Draft LDAP Authentication Methods 7 October 2003 authenticatedSee section 3.3.6 for additional details. 4.2.3. TLScredentialsConnection Closure Effects The decision to keep orit may explicitly provide an authorization identityinvalidate the established authentication andassert that it be usedauthorization identities incombination with its authenticatedplace after TLScredentials. The formerclosure isknown as an implicit assertion,a matter of local server policy. If a server chooses to invalidate established authentication andthe latter as an explicit assertion. 4.2.2.1. Implicit Assertion An implicitauthorizationidentity assertion is accomplishedidentities after TLSestablishment by invoking a Bindis negotiated, it MUST reply to subsequent valid operation requests until the next TLS closure or successful bind request with a resultCode ofthe SASL form using the "EXTERNAL" mechanism name [SASL] [Protocol]strongAuthRequired to indicate thatSHALL NOT includetheoptional credentials octet string (found withinclient needs to bind to reestablish its authentication. If theSaslCredentials sequence inclient attempts to bind using a method theBind Request). Theserverwill derive the client's authorization identity from the authentication identity supplied inis unwilling to support, it responds to theclient's TLS credentials (typicallywith apublic key certificate) according to local policy. The underlying mechanicsresultCode ofhow this is accomplished are implementation specific. 4.2.2.2. Explicit Assertion An explicit authorization identity assertion is accomplished after TLS establishment by invokingauthMethodNotSupported (per [Protocol]) to indicate that aBind request of the SASL form using the "EXTERNAL" mechanism name [SASL] [Protocol]different authentication method should be used. 5. Anonymous Authentication Harrison Expires June 2004 [Page 12] Internet-Draft LDAP Authentication Methods 5 December 2003 Directory operations thatSHALL include the credentials octet string. This stringmodify entries or access protected attributes or entries generally require client authentication. Clients that do not intend to perform any of these operations typically use anonymous authentication. LDAP implementations MUSTbe constructedsupport anonymous authentication, asdocumenteddefined in section3.4.1. The server MUST verify that the client's5.1. LDAP implementations MAY support anonymous authenticationidentitywith TLS, assupplieddefined inits TLS credentials is permitted tosection 5.2. While there may bemappedaccess control restrictions tothe asserted authorization identity. Theprevent access to directory entries, an LDAP serverMUST reject the Bind operation withSHOULD allow aninvalidCredentials resultCode in the Bind response if the client is not so authorized. 4.2.2.3. Error Conditions Additionally, with either form of assertion, if a TLS session has not been established between theanonymously-bound clientand server priortomaking the SASL EXTERNAL Bind request and there is no other external source of authentication credentials (e.g. IP-level security [RFC2401]), or if duringretrieve theprocesssupportedSASLMechanisms attribute ofestablishing the TLS session,the root DSE. An LDAP serverdid not requestmay use other information about theclient's authentication credentials,client provided by theSASL EXTERNAL bind MUST fail withlower layers or external means to grant or deny access even to anonymously authenticated clients. 5.1. Anonymous Authentication Procedure Prior to successfully completing aresultCode of inappropriateAuthentication. After the aboveBindoperation failures, any client authentication and authorization state ofoperation, the LDAP association islost (see [Protocol]anonymous. See section4.2.1), so the3.1. An LDAPassociation is inclient may also explicitly establish an anonymousstate after the failure. The TLS session state is unaffected, thoughassociation by sending aserver MAY endBind Request with theTLS session, viasimple authentication option and aTLS close_notify message, based on the Bind failure (as it MAY at any time). 4.2.3. TLS Connection Closure Effects Closurepassword of zero length. A bind request where both theTLS session MUST cause the LDAP association to movename and password are of zero length is said to be an anonymousauthentication and authorization state regardless of Harrison Expires April 2004 [Page 12] Internet-Draft LDAP Authentication Methods 7 October 2003bind. A bind request where thestate established over TLS and regardlessname, a DN, is ofthe authenticationnon-zero length, andauthorization state prior to TLS session establishment. 5. LDAP Association State Transition Tables To comprehensively diagramthevarious authentication and TLS states through whichpassword is of zero length is said to be anLDAP association may pass, thisunauthenticated bind. Both variations produce an anonymous association. Unauthenticated binds can have significant security issues (see sectionprovides10). Servers SHOULD by default reject unauthenticated bind requests with astate transition tableresultCode of invalidCredentials, and clients may need torepresent a state diagram for the various states through whichactively detect situations where they would make an unauthenticated bind request. 5.2. Anonymous Authentication and TLS An LDAPassociationclient maypass duringuse thecourseStart TLS operation (section 5) to negotiate the use ofits existence and[TLS] security. If theactions that cause these changes in state. 5.1. LDAP Association States The following table listsclient has not bound beforehand, then until thevalid LDAP association states and provides a descriptionclient uses the EXTERNAL SASL mechanism to negotiate the recognition ofeach state. The ID for each state is used inthestate transition table in section 5.4. ID State Description -- -------------------------------------------------------------- S1 Anonymous no Authentication ID is associated withclient's certificate, theLDAP connection no Authorization ID is in force No security layerclient is anonymously authenticated. Recommendations on TLS ciphersuites are given ineffect. Nosection 9. An LDAP server which requests that clients provide their certificate during TLScredentials have been provided TLS: no Creds, OFF] S2 no Auth ID no AuthZ ID [TLS: no Creds, ON] S3 no Auth ID no AuthZ ID [TLS: Creds Auth ID "I", ON] S4 Auth ID = Xn AuthZ ID= Y [TLS: no Creds, OFF] S5 Auth ID = Xn AuthZ ID= Yn [TLS: no Creds, ON] S6 Auth ID = Xn AuthZ ID= Yn [TLS: Creds Auth ID "I", ON] S7 Auth ID = I AuthZ ID= J [TLS: Creds Auth ID "I", ON] S8 Auth ID = I AuthZ ID= K [TLS: Creds Auth ID "I", ON] 5.2. Actions that Affect LDAP Association State The following table lists the actions that can affect the state of an LDAP association. The ID for each action is used innegotiation MAY use a local security policy to determine whether to successfully complete TLS negotiation if thestate transition table in section 5.4.client did not present a certificate which could be validated. Harrison ExpiresAprilJune 2004 [Page 13] Internet-Draft LDAP Authentication Methods7 October5 December 2003ID Action -- ------------------------------------------------ A1 Client binds anonymously A2 Inappropriate authentication: client attempts an anonymous bind6. Password-based Authentication This section discusses various options for performing password-based authentication to LDAP compliant servers and the environments suitable for their use. The transmission of passwords in the clear--typically for authentication or modification--poses a significant security risk. This risk can be avoided by using SASL bindwithout supplying credentials to[SASL] mechanisms that do not transmit passwords in the clear and by negotiating transport or session layer confidentiality services before transmitting password values. To mitigate the security risks associated with the use of passwords, a server implementation MUST implement a configuration thatrequiresat theclient to provide some formtime ofcredentials. A3 Client Start TLS request Server: client auth NOT required A4 Client: Start TLS request Server: client creds requested Client: [TLS creds: Auth ID "I"] A5 Clientauthentication orServer: send TLS closure alert ([Protocol] section X) A6 Client: Bind w/simplepasswordor SASLmodification, requires: 1) A Start TLS encryption layer has been successfully negotiated. OR 2) Some other confidentiality mechanism(e.g. DIGEST- MD5 password, Kerberos, etc., except EXTERNAL [Auth ID "X" maps to AuthZ ID "Y"] A7 Client Binds SASL EXTERNAL with credentials: AuthZ ID "J" [Explicit Assertion (section 4.2.1.2.2)] A8 Client Bind SASL EXTERNAL without credentials [Implicit Assertion (section 4.2.1.2.1)] A9 Client abandons a bind operation or bind operation fails 5.3. Decisions Used in Making LDAP Association State Changes Certain changes in the state of an LDAP association are only allowed ifthat protects the password value from snooping has been provided. OR 3) The servercan affirmatively answerreturns aquestion. These questions are applied as partresultCode ofthe criteriaconfidentialityRequired forallowing or disallowingthe operation (i.e. simple bind with password value, SASL bind transmitting astate changepassword value in thestate transition table in section 5.4. ID Decision Question -- -------------------------------------------------------------- D1 Can TLS Credentials Auth ID "I" be mapped to AuthZ ID "J"? D2 Canclear, add or modify including avalid AuthZ ID "K" be derived from TLS Credentials Auth ID "I"? 5.4. LDAP Association State Transition TableuserPassword value, etc.), even if the password value is correct. 6.1. Simple Authentication The LDAPAssociation table below lists the valid states"simple" authentication choice is not suitable foran LDAP association and the actions that could affect them. For any given rowauthentication inthe table, the Current State column gives the state of anenvironments where there is no network or transport layer confidentiality. LDAPassociation,implementations SHOULD support authentication with theAction column gives an action that could affect"simple" authentication choice when thestate of anconnection is protected against eavesdropping using TLS, as defined in section 4. LDAPassocation, and the Next State column givesimplementations SHOULD NOT support authentication with theresulting state of an LDAP association after"simple" authentication choice unless theaction occurs. The initial state fordata on thestate machine described in this tableconnection isS1. Current Next State Action State Comment ------- ------------- ----- ----------------------------------- S1 A1 S1protected using TLS or other data confidentiality and data integrity protection. 6.2. Digest Authentication LDAP servers that implement any authentication method or mechanism (other than simple anonymous bind) MUST implement the SASL DIGEST-MD5 mechanism [DIGEST-MD5]. This provides client authentication with protection against passive eavesdropping attacks, but does not provide protection against active intermediary attacks. DIGEST-MD5 also provides data integrity and data confidentiality capabilities. Harrison ExpiresAprilJune 2004 [Page 14] Internet-Draft LDAP Authentication Methods7 October5 December 2003S1 A2 S1 Error: InappropriateSupport for subsequent authenticationS1 A3 S2 S1 A4 S3 S1 A6 S4 S1 A7 ? identity could be provided by another underlying mechanism such as IPSec. S1 A8 ? identity could be provided by another underlying mechanism such as IPSec. S2 A1 S2 S2 A2 S2 Error: Inappropriateis OPTIONAL in clients and servers. Implementors must take care to ensure that they maintain the semantics of the DIGEST-MD5 specification even when handling data that has different semantics in the LDAP protocol. For example, the SASL DIGEST-MD5 authenticationS2 A5 S1 S2 A6 S5 S2 A7 ? identity could be provided by another underlying mechanism such as IPSec. S2 A8 ? identity could be provided by another underlyingmechanismsuch as IPSec. S3 A1 S3 S3 A2 S3 Error: Inappropriate authentication S3 A5 S1 S3 A6 S6 S3 A7utilizes realm andD1=NO S3 Error: InvalidCredentials S3 A7username values ([DigestAuth section 2.1) which are syntactically simple strings andD1=YES S7 S3 A8semsantically simple realm andD2=NO S3 Error: InvalidCredentials S3 A8username values. These values are not LDAP DNs, andD2=YES S8 S4 A1 S1 S4 A2 S1 Error: Inappropriate Authentication S4 A3 S5 S4 A4 S6 S4 A5 S1 S4 A6 S4 S4 A7 ? identity could be provided by another underlying mechanism such as IPSec. S4 A8 ? identity could be provided by another underlying mechanism such as IPSec. S5 A1 S2 S5 A2 S2 Error: Inappropriate Authentication S5 A5 S1 S5 A6 S5 S5 A7 ? identity could be provided by another underlying mechanism such as IPSec. S5 A8 ? identity could be provided by another underlying mechanism such as IPSec. S6 A1 S3 S6 A2 S2 Error: Inappropriate Authentication Harrison Expires April 2004 [Page 15] Internet-Draft LDAP Authentication Methods 7 October 2003 S6 A5 S1 S6 A6 S6 S6 A7 and D1=NO S6 Error: InvalidCredentials S6 A7 and D1=YES S7 S6 A8 and D2=NO S3 Error: InvalidCredentials S6 A8 and D2=YES S8 S7 A1 S3 S7 A2 S2 Error: Inappropriate Authentication S7 A5 S1 S7 A6 S6 S7 A7 S7 S7 A8 and D2=NO S3 Error: InvalidCredentials S7 A8 and D2=YES S8 S8 A1 S3 S8 A2 S2 Error: Inappropriate Authentication S8 A5 S1 S8 A6 S6 S8 A7 and D1=NO S6 Error: InvalidCredentials S8 A7 and D1=YES S7 S8 A8 S8 Any A9 S1 See [Protocol] section 4.2.1. 6. Anonymous Authentication Directory operations that modify entries or access protected attributes or entries generally require client authentication. Clients that do not intend to perform any of these operations typically use anonymous authentication. Servers SHOULD NOT allow clients with anonymous authentication to modify directory entries or access sensitive information in directory entries. LDAP implementations MUST support anonymous authentication, as defined in section 6.1. LDAP implementations MAY support anonymous authentication with TLS, as defined in section 6.2. WhilethereMAY be access control restrictions to prevent access to directory entries, an LDAP server SHOULD allow an anonymously-bound client to retrieve the supportedSASLMechanisms attribute of the root DSE. An LDAP server MAY use other information about the client provided by the lower layers or external means to grant or deny access even to anonymously authenticated clients. 6.1. Anonymous Authentication Procedure Prior to successfully completing a Bind operation, the LDAP associationisanonymous. See section 3.1. Harrison Expires April 2004 [Page 16] Internet-Draft LDAP Authentication Methods 7 October 2003 An LDAP client may also explicitly establish an anonymous association. A clientno requirement thatwishes to do so MUST choose the simple authentication option in the Bind Request and set the password tothey beof zero length. (This is often done by LDAPv2 clients.) Typically the name is also of zero length. A bind request where bothrepresented or treated as such. Username and realm values that look like LDAP DNs in form, e.g. <cn=bob, dc=example,dc=com>, are syntactically allowed, however DIGEST-MD5 treats them as simple strings for comparison purposes. To illustrate further, thenametwo DNs <cn=Bob,dc=example,dc=com> (upper case "B") andpassword<cn=bob,dc=example,dc=com> (lower case "b") areof zero lengthequivalent when being compared semantically as LDAP DNs because the cn attribute issaiddefined to bean anonymous bind. A bind request wherecase insensitive, however thename, a DN, is of non-zero length, andtwo values are not equivalent if they represent username values in DIGEST-MD5 because [SASLPrep] semantics are used by DIGEST-MD5. 6.3. simple authentication choice under TLS encryption Following thepassword isnegotiation ofzero length is said to be an unauthenticated bind. Both variations produceananonymous association. 6.2. Anonymous Authentication andappropriate TLSAn LDAPciphersuite providing connection confidentiality, a client MAY authenticate to a directory that supports the simple authentication choice by performing a simple bind operation Simple authentication with TLS encryption protection is performed as follows: 1. The client will use the Start TLS operation(section 5)[Protocol] to negotiate the use of TLS security [TLS]security. Ifon the connection to the LDAP server. The clienthasneed not have boundbeforehand, then until the client uses the EXTERNAL SASL mechanismtonegotiatetherecognition ofdirectory beforehand. For theclient's certificate,subsequent authentication procedure to be performed securely, the clientis anonymously authenticated.and server MUST negotiate a ciphersuite which contains a bulk encryption algorithm of appropriate strength. Recommendations onTLS ciphersuitescipher suites are given in section 9.An LDAP server which requests that clients provide their certificate during TLS negotiation MAY use a local security policy to determine whether to successfully complete2. Following the successful completion of TLSnegotiation ifnegotiation, the clientdid not present a certificate which could be validated. 7. Password-based Authentication This section discusses various options for performing password-based authentication to LDAP compliant servers and the environments suitable for their use. 7.1. Simple Authentication The LDAP "simple" authentication choice is not suitable for authentication in environments where there is no network or transport layer confidentiality.MUST send an LDAPimplementations SHOULD support authenticationbind request with the"simple" authentication choice whenversion number of 3, theconnection is protected against eavesdropping using TLS, as defined in section 4. LDAP implementations SHOULD NOT support authentication withname field containing a DN, and the"simple"simple authenticationchoice unlesschoice, containing a password. 6.3.1. simple Authentication Choice DSAs that map thedata onDN sent in theconnection is protected using TLSbind request to a directory entry with an associated set of one orother data confidentiality and data integrity protection. 7.2. Digest Authentication LDAP serversmore passwords will compare the presented password to the set of passwords associated with thatimplemententry. If the presented password matches anyauthentication method or mechanism (other than simple anonymous bind) MUST implementmember of that set, Harrison Expires June 2004 [Page 15] Internet-Draft LDAP Authentication Methods 5 December 2003 then theSASL DIGEST-MD5 mechanism [DigestAuth]. Support for subsequentserver will respond with a success resultCode, otherwise the server will respond with an invalidCredentials resultCode. 6.4. Other authentication choices with TLS It isOPTIONAL in clients and servers. Harrison Expires April 2004 [Page 17] Internet-Draft LDAP Authentication Methods 7 October 2003 Implementors must take carealso possible, following the negotiation of TLS, toensureperform a SASL authentication thatthey maintaindoes not involve thesemanticsexchange of plaintext reusable passwords. In this case theDIGEST-MD5 specification even when handling dataclient and server need not negotiate a ciphersuite thathas different semantics inprovides confidentiality if the only service required is data integrity. 7. Certificate-based authentication LDAPprotocol. For example, the SASL DIGEST-MD5server implementations SHOULD support authenticationmechanism utilizes realm and username values ([DigestAuthvia a client certificate in TLS, as defined in section2.1)7.1. 7.1. Certificate-based authentication with TLS A user who has a public/private key pair in whichare syntactically simple strings and semsantically simple realm and username values. These values are not LDAP DNs, and therethe public key has been signed by a Certification Authority may use this key pair to authenticate to the directory server if the user's certificate isno requirement that theyrequested by the server. The user's certificate subject field SHOULD berepresented or treated as such. Usernamethe name of the user's directory entry, andrealm valuesthe Certification Authority thatlook like LDAP DNs in form, e.g. "cn=bob, o=Ace Industry ", are syntactically allowed, however DIGEST-MD5 treats them as simple strings for comparison purposes. To illustrate further,issued thetwo DNs "cn=bob, o=Ace Industry" (space between RDNs) and "cn=bob,o=Ace Industry" (no space between RDNs) woulduser's certificate must beequivalent when being compared semantically as LDAP DNs, however they are not equivalent if they were used to represent username valuessufficiently trusted by the directory server inDIGEST-MD5 because simple octet-wise comparision semantics are usedorder for the server to process the certificate. The means byDIGEST-MD5. 7.3. "simple" authentication choice under TLS encryption Followingwhich servers validate certificate paths is outside thenegotiationscope ofan appropriate TLS ciphersuite providing connection confidentiality, a clientthis document. A server MAYauthenticate to asupport mappings for certificates in which the subject field name is different from the name of the user's directorythatentry. A server which supportsthe simple authentication choice by performing a simple bind operation Simple authentication with TLS encryption protectionmappings of names MUST be capable of being configured to support certificates for which no mapping isperformed as follows: 1.required. The client will use the Start TLS operation [Protocol] to negotiate the use of TLS security [TLS] on the connection to the LDAP server. The client need not have bound to the directory beforehand.For the subsequent authentication procedure to be performed securely, the client and server MUST negotiate a ciphersuite which contains a bulk encryption algorithm of appropriate strength. Recommendations on cipher suites are given in section 9. 2. FollowingIn thesuccessful completion ofTLS negotiation, theclientserver MUSTsend an LDAP bindrequestwith the version number of 3, the name field containingaDN,certificate. The client will provide its certificate to the server, and the"simple" authentication choice, containingserver MUST perform apassword. 7.3.1. "simple" Authentication Choice DSAs that map the DN sent inprivate key-based encryption, proving it has thebind request to a directory entry with anprivate key associatedset of one or more passwords will compare the presented password towith thesetcertificate. In deployments that require protection ofpasswords associated withsensitive data in transit, the client and server MUST negotiate a ciphersuite thatentry. If the presented password matches any membercontains a bulk encryption algorithm of appropriate strength. Recommendations of cipher suites are given in section 9. The server MUST verify thatset, thenthe client's certificate is valid. The server willrespond withnormally check that the certificate is issued by asuccess resultCode, otherwiseknown certification authority (CA), and that none of the certificates on the client's certificate chain are invalid or revoked. There are several procedures by which the serverwill respond with an invalidCredentials resultCode.can perform these checks. Harrison ExpiresAprilJune 2004 [Page18]16] Internet-Draft LDAP Authentication Methods7 October5 December 20037.4. Other authentication choices with TLS It is also possible, following the negotiation of TLS, to perform a SASL authentication that does not involveFollowing theexchangesuccessful completion ofplaintext reusable passwords. In this caseTLS negotiation, the clientand server need not negotiate a ciphersuite that provides confidentiality ifwill send an LDAP bind request with theonly service required is data integrity.SASL EXTERNAL mechanism. 8.Certificate-based authenticationLDAPserver implementations SHOULD support authentication via a client certificate in TLS, as defined in section 8.1. 8.1. Certificate-basedAssociation State Transition Tables To comprehensively diagram the various authenticationwithand TLSA user who has a public/private key pair in which the public key has been signed by a Certification Authoritystates through hich an LDAP association mayusepass, thiskey pair to authenticatesection provides a state transition table to represent a state diagram for thedirectory server if the user's certificate is requested by the server. The user's certificate subject field SHOULD be the name ofvarious states through which an LDAP association may pass during theuser's directory entry,course of its existence and theCertification Authorityactions thatissued the user's certificate must be sufficiently trusted by the directory servercause these changes inorder for the server to process the certificate.state. 8.1. LDAP Association States Themeans by which servers validate certificate paths is outsidefollowing table lists thescopevalid LDAP association states and provides a description ofthis document. A server MAY support mappingseach state. The ID forcertificateseach state is used inwhichthesubject field namestate transition table in section 8.4. ID State Description -- -------------------------------------------------------------- S1 Anonymous no Authentication ID isdifferent fromassociated with thename ofLDAP connection no Authorization ID is in force S2 Authenticated Authentication ID = I Authorization ID = X S3 Authenticated SASL EXTERNAL, implicit authorization ID Authentication ID = J Authorization ID = Y S4 Authenticated SASL EXTERNAL, explicit authorization ID Authentication ID = J Authorization ID = Z 8.2. Actions that Affect LDAP Association State The following table lists theuser's directory entry. A server which supports mappings of names MUST be capableactions that can affect the authentication and authorization state ofbeing configured to support certificatesan LDAP association. The ID forwhich no mappingeach action isrequired.used in the state transition table in section 8.4. ID Action -- -------------------------------------------------------------- A1 Client bind request fails A2 Client successfully performs anonymous simple bind A3 Client successfully performs unauthenticated simple bind A4 Client successfully performs simple bind with name and password OR SASL bind with any mechanism except EXTERNAL using an authentication ID = I that maps to authorization ID X A5 Client Binds SASL EXTERNAL with implicit assertion of authorization ID (section 3.3.6.1)]. Theclient will use the Start TLS operation [Protocol]current authentication ID maps tonegotiate the useauthorization ID = Y. A6 Client Binds SASL EXTERNAL with explicit assertion ofTLS security [TLS] on the connection to theauthorization ID = Z (section 3.3.6.2)] Harrison Expires June 2004 [Page 17] Internet-Draft LDAPserver. The client need not have bound toAuthentication Methods 5 December 2003 A7 Client abandons a bind operation, and server processes thedirectory beforehand. Inabandon A8 Client abandons a bind operation, and server does not process the abandon A9 Client Start TLSnegotiation, the server MUSTrequesta certificate. The client will provide its certificate tofails A10 Client Start TLS request succeeds A11 Client or Server: graceful TLS closure ([Protocol] section 4.13.3.1.) 8.3. Decisions Used in Making LDAP Association State Changes Certain changes in theserver,authentication and authorization state of an LDAP association are only allowed if the serverMUST performcan affirmatively answer aprivate key-based encryption, proving it has the private key associated with the certificate. In deployments that require protectionquestion. These questions are applied as part ofsensitive data in transit,theclient and server MUST negotiate a ciphersuite that containscriteria for allowing or disallowing abulk encryption algorithm of appropriate strength. Recommendations of cipher suites are givenstate transition insection 9. The server MUST verify thattheclient's certificate is valid.state transition table in section 8.4. ID Decision Question -- -------------------------------------------------------------- D1 Are lower-layer credentials available? D2 Can lower-layer credentials for Auth ID "K" be mapped asserted AuthZID "L"? 8.4. LDAP Association State Transition Table Theserver will normally check thatLDAP Association table below lists thecertificate is issued by a known certification authority (CA),valid authentication and authorization states for an LDAP association and the actions thatnone ofcould affect them. For any given row in thecertificates ontable, theclient's certificate chain are invalid or revoked. There are several procedures by whichCurrent State column gives theserver can perform these checks. Followingstate of an LDAP association, thesuccessful completionAction column gives an action that could affect the state ofTLS negotiation,an LDAP assocation, and theclient will sendNext State column gives the resulting state of an LDAPbind request withassociation after theSASL "EXTERNAL" mechanism. 9. TLS Ciphersuitesaction occurs. S1, the initial state for the state machine described in this table, is the authentication state when an LDAP connection is initially established. Current Next State Action State Comment ------- ------- ----- --------------------------------------- Any A1 S1 [Protocol] section 4.2.1 Any A2 S1 Section 6 Any A3 S1 Section 6 Any A4 S2 Sections 6.1, 6.2 Any A5, S1 Failed bind, section 3.3.6 D1=no Any A5, S3 D1=yes Any A6, S1 failed bind, section 3.3.6 D1=no Any A6, S1 failed bind, section 3.3.6.2 D1=yes, D2=no Harrison ExpiresAprilJune 2004 [Page19]18] Internet-Draft LDAP Authentication Methods7 October5 December 2003 Any A6, S4 D1=yes, D2=yes Any A7 S1 [Protocol] section 4.2.1. Clients cannot detect this state. Any A8 no [Protocol] section 4.2.1. Clients change cannot detect this state. Any A9 no [Protocol] section 4.13.2.2 change Any A10 no Section 4.2.1 change Any A11 S1 Section 4.2.3 9. TLS Ciphersuites A client or server that supports TLS MUST support TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA and MAY support other ciphersuites offering equivalent or better protection. Several issues should be considered when selecting TLS ciphersuites that are appropriate for use in a given circumstance. These issues include the following: - The ciphersuite's ability to provide adequate confidentiality protection for passwords and other data sent over the LDAP connection. Client and server implementers should recognize that some TLS ciphersuites provide no confidentiality protection while other ciphersuites that do provide confidentiality protection may be vulnerable to being cracked using brute force methods, especially in light of ever-increasing CPU speeds that reduce the time needed to successfully mount such attacks. Client and server implementers SHOULD carefully consider the value of the password or data being protected versus the level of confidentially protection provided by the ciphersuite to ensure that the level of protection afforded by the ciphersuite is appropriate. - The ciphersuite's vulnerability (or lack thereof) to man-in-the- middle attacks. Ciphersuites vulnerable to man-in-the-middle attacks SHOULD NOT be used to protect passwords or sensitive data, unless the network configuration is such that the danger of a man-in-the-middle attack is tolerable. 9.1. TLS Ciphersuites Recommendations As of the writing of this document, the following recommendations regarding TLS ciphersuites are applicable. Because circumstances are constantly changing, this list must not be considered exhaustive, but is hoped that it will serve as a useful starting point for implementers. Harrison Expires June 2004 [Page 19] Internet-Draft LDAP Authentication Methods 5 December 2003 The following ciphersuites defined in [TLS] MUST NOT be used for confidentiality protection of passwords or data: TLS_NULL_WITH_NULL_NULL TLS_RSA_WITH_NULL_MD5 TLS_RSA_WITH_NULL_SHA The following ciphersuites defined in [TLS] can be cracked easily (less than a day of CPU time on a standard CPU in 2000) and are NOT RECOMMENDED for use in confidentiality protection of passwords or data. TLS_RSA_EXPORT_WITH_RC4_40_MD5 TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5 TLS_RSA_EXPORT_WITH_DES40_CBC_SHA TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHAHarrison Expires April 2004 [Page 20] Internet-Draft LDAP Authentication Methods 7 October 2003TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA TLS_DH_anon_EXPORT_WITH_RC4_40_MD5 TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA The following ciphersuites are vulnerable to man-in-the-middle attacks: TLS_DH_anon_EXPORT_WITH_RC4_40_MD5 TLS_DH_anon_WITH_RC4_128_MD5 TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA TLS_DH_anon_WITH_DES_CBC_SHA TLS_DH_anon_WITH_3DES_EDE_CBC_SHA 10. Security Considerations Security issues are discussed throughout this memo; the (unsurprising) conclusion is that mandatory security is important and that session confidentiality protection is required when snooping is a problem. Servers are encouraged to prevent modifications by anonymous users. Serversmay also wish tocan minimize denial of service attacks by timing out idle connections, and returning the unwillingToPerform resultCode rather than performing computationally expensive operations requested by unauthorized clients. The use of cleartext passwords and other unprotected authentication credentials is strongly discouraged over open networks when the underlying transport service cannot guarantee confidentiality. Operational experience shows that clients can (and frequently do) misuse unauthenticatedaccess (simplebindwith name but no password).(see section 5.1). For example, a client programmight authenticate a user via LDAP and thenmight make a decision to grant access toinformation not stored in thenon- Harrison Expires June 2004 [Page 20] Internet-Draft LDAP Authentication Methods 5 December 2003 directory information on the basis of completing a successfulbind.bind operation. Some LDAP server implementations will return a success response toa simple bind that consists of a user name andanempty passwordunauthenticated bind thus leaving the client with the impression that theclientserver has successfully authenticated the identity represented by the user name, when inreality, the directory server has simply performedeffect, an anonymousbind. For this reason, servers SHOULD by default reject authentication requestsLDAP association has been created. Clients thathaveuse the results from aDN with ansimple bind operation to make authorization decisions should actively detect unauthenticated bind requests (via the empty passwordwith an error of invalidCredentials.value) and react appropriately. Access control SHOULD always be applied when reading sensitive information or updating directory information. A connection on which the client has not performed the Start TLS operation or negotiated a suitable SASL mechanism for connectionHarrison Expires April 2004 [Page 21] Internet-Draft LDAP Authentication Methods 7 October 2003integrity and encryption services is subject to man-in-the-middle attacks to view and modify information in transit. 10.1. Start TLS Security Considerations The goals of using the TLS protocol with LDAP are to ensure connection confidentiality and integrity, and to optionally provide for authentication. [TLS] expressly provides these capabilities. All security gained via use of the Start TLS operation is gained by the use of TLS itself. The Start TLS operation, on its own, does not provide any additional security. Once established, TLS only provides for and ensures confidentiality and integrity of the operations and data in transit over the LDAP association--and only if the implementations on the client and server support and negotiate it. The use of TLS does not provide or ensure for confidentiality and/or non-repudiation of the data housed by an LDAP-based directory server. Nor does it secure the data from inspection by the server administrators. The level of security provided though the use of TLS depends directly on both the quality of the TLS implementation used and the style of usage of that implementation. Additionally, an active- intermediary attacker can remove the Start TLS extended operation from the supportedExtension attribute of the root DSE. Therefore, both parties SHOULD independently ascertain and consent to the security level achieved once TLS is established and before beginning use of the TLS connection. For example, the security level of the TLS connection might have been negotiated down to plaintext. Clients SHOULD either warn the user when the security level achieved does not provide confidentiality and/or integrity protection, or be configurable to refuse to proceed without an acceptable level of security. Client and server implementors SHOULD take measures to ensure proper protection of credentials and other confidential data where such measures are not otherwise provided by the TLS implementation. Harrison Expires June 2004 [Page 21] Internet-Draft LDAP Authentication Methods 5 December 2003 Server implementors SHOULD allow for server administrators to elect whether and when connection confidentiality and/or integrity is required, as well as elect whether and when client authentication via TLS is required. Additional security considerations relating to the EXTERNAL mechanism to negotiate TLS can be found in [SASL] and [TLS]. 11. IANA Considerations The following IANA considerations apply to this document: Please update the GSSAPI service name registry to point to [Roadmap] and this document.Harrison Expires April 2004 [Page 22] Internet-Draft LDAP Authentication Methods 7 October 2003[To be completed]ContributorsAcknowledgements This document combines information originally contained in RFC 2829 and RFC 2830. The editor acknowledges the work of Harald Tveit Alvestrand, Jeff Hodges, Tim Howes, Steve Kille, RL "Bob" Morgan , and Mark Wahl, each of whom authored one or more of these documents.AcknowledgementsThis document is based upon input of the IETF LDAP Revision working group. The contributions and suggestions made by its members in shaping the contents and technical accuracy of this document is greatly appreciated. Normative References [RFC2119] Bradner, S., "Key Words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.[RFC2234][ABNF] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", RFC 2234, November 1997.[DigestAuth][DIGEST-MD5] Leach, P. C. Newman, and A. Melnikov, "Using Digest Authentication as a SASL Mechanism", draft-ietf-sasl-rfc2831bis- xx.txt, a work in progress. [LDAPDN] Zeilenga, Kurt D. (editor), "LDAP: String Representation of Distinguished Names", draft-ietf-ldapbis-dn-xx.txt, a work in progress.[Model][Models] Zeilenga, Kurt D. (editor), "LDAP: Directory Information Models", draft-ietf-ldapbis-models-xx.txt, a work in progress. [Protocol] Sermersheim, J., "LDAP: The Protocol", draft-ietf- ldapbis-protocol-xx.txt, a work in progress. [Roadmap] K. Zeilenga, "LDAP: Technical Specification Road Map", draft-ietf-ldapbis-roadmap-xx.txt, a work in progress. Harrison Expires June 2004 [Page 22] Internet-Draft LDAP Authentication Methods 5 December 2003 [SASL] Melnikov, A. (editor), "Simple Authentication and Security Layer (SASL)", draft-ietf-sasl-rfc2222bis-xx.txt, a work in progress. [SASLPrep] Zeilenga, K., "Stringprep profile for user names and passwords", draft-ietf-sasl-saslprep-xx.txt, (a work in progress). [StringPrep] Hoffman P. and M. Blanchet, "Preparation of Internationalized Strings ('stringprep')", draft-hoffman- rfc3454bis-xx.txt, a work in progress. [Syntaxes] Legg, S. (editor), "LDAP: Syntaxes and Matching Rules", draft-ietf-ldapbis-syntaxes-xx.txt, a work in progress. [TLS] Dierks, T. and C. Allen. "The TLS Protocol Version 1.1", draft-ietf-tls-rfc2246-bis-xx.txt, a work in progress. [UTF-8] Yergeau, F., "UTF-8, a transformation format of ISO 10646", RFC2279, January 1998. Harrison Expires April 2004 [Page 23] Internet-Draft LDAP Authentication Methods 7 October 20033629, STD 63, November 2003. [Unicode]International Organization for Standardization, "Universal Multiple-Octet Coded Character Set (UCS) - ArchitectureThe Unicode Consortium, "The Unicode Standard, Version 3.2.0" is defined by "The Unicode Standard, Version 3.0" (Reading, MA, Addison-Wesley, 2000. ISBN 0-201-61633-5), as amended by the "Unicode Standard Annex #27: Unicode 3.1" (http://www.unicode.org/reports/tr27/) andBasic Multilingual Plane", ISO/IEC 10646-1 : 1993.by the öUnicode Standard Annex #28: Unicode 3.2" (http://www.unicode.org/reports/tr28/). Informative References [ANONYMOUS] Zeilenga, K.,"Anonymous SASL Mechanism", draft-zeilenga- sasl-anon-xx.txt, a work in progress. [PLAIN] Zeilenga, K.,"Plain SASL Mechanism", draft-zeilenga-sasl- plain-xx.txt, a work in progress. [RFC2828] Shirey, R., "Internet Security Glossary", RFC 2828, May 2000. [RFC2401] Kent, S. and R. Atkinson, "Security Architecture for the Internet Protocol", RFC 2401, November 1998. Author's Address Roger Harrison Novell, Inc. 1800 S. Novell Place Provo, UT 84606 +1 801 861 2642 roger_harrison@novell.comFull Copyright Statement Copyright (C)Harrison Expires June 2004 [Page 23] Internet-Draft LDAP Authentication Methods 5 December 2003 Appendix A. Example Deployment Scenarios TheInternet Society (2003). All Rights Reserved. This document and translations of it may be copiedfollowing scenarios are typical for LDAP directories on the Internet, andfurnishedhave different security requirements. (In the following discussion, "sensitive data" refers toothers, and derivative works that comment oninformation whose disclosure, alteration, destruction, orotherwise explain itloss would adversely affect the interests orassist inbusiness of itsimplementationowner or user. Also note that there may beprepared, copied, publisheddata that is protected but not sensitive.) This is not intended to be a comprehensive list; other scenarios are possible, especially on physically protected networks. (1) A read-only directory, containing no sensitive data, accessible to "anyone", anddistributed, in wholeTCP connection hijacking or IP spoofing is not a problem. Anonymous authentication, described inpart, without restrictionsection 7, is suitable for this type ofany kind, provideddeployment, and requires no additional security functions except administrative service limits. (2) A read-only directory containing no sensitive data; read access is granted based on identity. TCP connection hijacking is not currently a problem. This scenario requires data confidentiality for sensitive authentication information AND data integrity for all authentication information. (3) A read-only directory containing no sensitive data; and the client needs to ensure the identity of the directory server and that theabove copyright noticedirectory data is not modified while being returned from the server. A data origin authentication service AND data integrity service are required. (4) A read-write directory, containing no sensitive data; read access is available to "anyone", update access to properly authorized persons. TCP connection hijacking is not currently a problem. This scenario requires data confidentiality for sensitive authentication information AND data integrity for all authentication information. (5) A directory containing sensitive data. This scenario requires data confidentiality protection AND secure authentication. Appendix B. Authentication and Authorization: Definitions and Concepts This appendix defines basic terms, concepts, andthis paragraph are included on all such copiesinterrelationships regarding authentication, authorization, credentials, andderivative works. However, this document itself may not be modifiedidentity. These concepts are used inany way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standardsdescribing how various security approaches are utilized inwhich caseclient authentication and authorization. B.1. Access Control Policy An access control policy is a set of rules defining theprocedures for copyrights definedprotection of resources, generally in terms of theInternet Standards process must be followed,capabilities of persons oras required to translate it into languagesotherthan English. The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns. This document and the information contained hereinentities accessing those resources. A common expression of an access control policy isprovided onan"AS IS" basisaccess control list. Security objects andTHE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATIONmechanisms, such as those described here, enable the expression of access control policies and their enforcement. Access control Harrison ExpiresAprilJune 2004 [Page 24] Internet-Draft LDAP Authentication Methods7 October5 December 2003HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FORpolicies are typically expressed in terms of access control factors as described below. B.2. Access Control Factors APARTICULAR PURPOSE. Appendix A. Example Deployment Scenariosrequest, when it is being processed by a server, may be associated with a wide variety of security-related factors (section 4.2 of [Protocol]). Thefollowing scenarios are typical for LDAP directories on the Internet,server uses these factors to determine whether andhave different security requirements. (In the following discussion, "sensitive data" refershow toinformation whose disclosure, alteration, destruction, or loss would adversely affectprocess theinterests or businessrequest. These are called access control factors (ACFs). They might include source IP address, encryption strength, the type ofits owner or user. Also note that thereoperation being requested, time of day, etc. Some factors may bedata that is protected but not sensitive.) This is not intendedspecific to the request itself, others may bea comprehensive list; other scenarios are possible, especially on physically protected networks. (1) A read-only directory, containing no sensitive data, accessible to "anyone", and TCPassociated with the connectionhijacking or IP spoofingvia which the request isnot a problem. Anonymous authentication, describedtransmitted, others (e.g. time of day) may be "environmental". Access control policies are expressed insection 7, is suitable for this typeterms ofdeployment, and requires no additional security functions except administrative service limits. (2) A read-only directory containing no sensitive data; readaccessis granted basedcontrol factors. E.g., a request having ACFs i,j,k can perform operation Y onidentity. TCP connection hijacking is not currentlyresource Z. The set of ACFs that aproblem. This scenario requires data confidentiality for sensitive authentication information AND data integrityserver makes available forall authentication information. (3) A read-only directory containing no sensitive data;such expressions is implementation-specific. B.3. Authentication, Credentials, Identity Authentication credentials are the evidence supplied by one party to another, asserting the identity of the supplying party (e.g. a user) who is attempting to establish an association with the other party (typically a server). Authentication is the process of generating, transmitting, and verifying these credentials and thus theclient needs to ensure theidentity they assert. An authentication identity is the name presented in a credential. There are many forms of authentication credentials -- thedirectory serverform used depends upon the particular authentication mechanism negotiated by the parties. For example: X.509 certificates, Kerberos tickets, simple identity and password pairs. Note that an authentication mechanism may constrain thedirectory data is not modified while being returned from the server. A data originform of authenticationservice AND data integrity service are required. (4) A read-write directory, containing no sensitive data; read accessidentities used with it. B.4. Authorization Identity An authorization identity isavailable to "anyone", updateone kind of access control factor. It is the name of the user or other entity that requests that operations be performed. Access control policies are often expressed in terms of authorization identities; e.g., entity X can perform operation Y on resource Z. The authorization identity bound toproperly authorized persons. TCP connection hijackingan association isnot currently a problem. This scenario requires data confidentiality for sensitiveoften exactly the same as the authenticationinformation AND data integrity for allidentity presented by the client, but it may be different. SASL allows clients to specify an authorization identity distinct from the authenticationinformation. (5) A directory containing sensitive data. This scenario requires data confidentiality protection AND secure authentication. Appendix B. Authentication and Authorization: Definitions and Conceptsidentity asserted by the client's credentials. Thisappendix defines basic terms, concepts, and interrelationships regarding authentication, authorization,permits agents such as proxy servers to authenticate using their own credentials,and identity. These concepts are used in describing how various security approachesyet request the access privileges of the identity for which they areutilized in clientproxying [SASL]. Also, the form of authenticationand authorization. B.1. Access Control Policy Anidentity supplied by a service like TLS may not correspond to the authorization identities used to express a Harrison Expires June 2004 [Page 25] Internet-Draft LDAP Authentication Methods 5 December 2003 server's access controlpolicy ispolicy, requiring aset of rules definingserver-specific mapping to be done. The method by which a server composes and validates an authorization identity from theprotectionauthentication credentials supplied by a client is implementation-specific. Appendix C. RFC 2829 Change History This appendix lists the changes made to the text ofresources, generallyRFC 2829 intermspreparing this document. C.0. General Editorial Changes Version -00 - Changed other instances of thecapabilitiesterm LDAP to LDAP where v3 ofpersons or other entities accessing those resources. A common expressionthe protocol is implied. Also made all references to LDAP use the same wording. - Miscellaneous grammatical changes to improve readability. - Made capitalization in section headings consistent. Version -01 - Changed title to reflect inclusion of material from RFC 2830 and 2251. C.1. Changes to Section 1 Version -01 - Moved conventions used in document to a separate section. C.2. Changes to Section 2 Version -01 - Moved section to an appendix. C.3. Changes to Section 3 Version -01 - Moved section to an appendix. C.4 Changes to Section 4 Version -00 - Changed "Distinguished Name" to "LDAP distinguished name". C.5. Changes to Section 5 Version -00 Harrison ExpiresAprilJune 2004 [Page25]26] Internet-Draft LDAP Authentication Methods7 October5 December 2003access control policy is an access control list. Security objects and mechanisms, such as those described here, enable- Added theexpression of access control policies and their enforcement. Access control policies are typically expressed in terms of access control factors as described below. B.2. Access Control Factors A request, when it is being processed by a server, may be associatedfollowing sentence: "Servers SHOULD NOT allow clients witha wide variety of security-related factors (section 4.2 of [Protocol]). The server uses these factors to determine whether and howanonymous authentication toprocess the request. These are calledmodify directory entries or accesscontrol factors (ACFs). They might include source IP address, encryption strength, the type of operation being requested, time of day, etc. Some factors may be specific to the request itself, others may be associated with the connection via which the request is transmitted, others (e.g. time of day) may be "environmental". Access control policies are expressedsensitive information interms of access control factors. E.g., a request having ACFs i,j,k can perform operation Y on resource Z. The set of ACFs that a server makes available for such expressions is implementation-specific. B.3. Authentication, Credentials, Identity Authentication credentials are the evidence supplied by one partydirectory entries." C.5.1. Changes toanother, assertingSection 5.1 Version -00 - Replaced theidentity oftext describing thesupplying party (e.g.procedure for performing an anonymous bind (protocol) with auser) who is attemptingreference toestablishsection 4.2 of RFC 2251 (the protocol spec). Version -01 - Brought text describing procedure for performing anassociation with the other party (typically a server). Authentication is the processanonymous bind from section 4.2 ofgenerating, transmitting, and verifying these credentials and thus the identity they assert. An authentication identity isRFC 2251 bis. This text will be removed from thename presenteddraft standard version of that document. C.6. Changes to Section 6. Version -00 Reorganized text in section 6.1 as follows: 1. Added acredential. There are many formsnew section (6.1) titled "Simple Authentication" and moved one ofauthentication credentials -- the form used depends upon the particular authentication mechanism negotiated bytwo introductory paragraphs for section 6 into section 6.1. Added sentences to theparties. For example: X.509 certificates, Kerberos tickets,paragraph indicating: a. simpleidentity and password pairs. Note that an authentication mechanism may constrain the form ofauthenticationidentities used with it. B.4. Authorization Identity An authorization identityisone kind of access control factor. Itnot suitable for environments where confidentiality isthe name of the user or other entity that requests that operations be performed. Access control policiesnot available. b. LDAP implementations SHOULD NOT support simple authentication unless confidentiality and data integrity mechanisms areoften expressedintermsforce. 2. Moved first paragraph ofauthorization identities; e.g., entity X can perform operation Y on resource Z. The authorization identity bound to an association is often exactly the same as thesection 6 (beginning with "LDAP implementations MUST support authenticationidentity presented by the client, but it may be different. SASL allows clientswith a password...") to section on Digest Authentication (Now section 6.2). C.6.1. Changes tospecify an authorization identity distinctSection 6.1. Version -00 Renamed section to 6.2 - Added sentence from original section 6 indicating that theauthentication identity asserted by the client's credentials. This permits agents such as proxy serversDIGEST-MD5 SASL mechanism is required for all conforming LDAP implementations C.6.2. Changes toauthenticate using their own credentials, yet request the accessSection 6.2 Version -00 - Renamed section to 6.3 Harrison ExpiresAprilJune 2004 [Page26]27] Internet-Draft LDAP Authentication Methods7 October5 December 2003privileges of- Reworded first paragraph to remove reference to user and theidentity for which they are proxying [SASL]. Also,userPassword password attribute Made theform of authentication identity suppliedfirst paragraph more general by simply saying that if a directory supports simple authentication that the simple bind operation MAY performed following negotiation of aservice likeTLSmayciphersuite that supports confidentiality. - Replaced "the name of the user's entry" with "a DN" since notcorrespondall bind operations are performed on behalf of a "user." - Added Section 6.3.1 heading just prior to paragraph 5. - Paragraph 5: replaced "The server" with "DSAs that map theauthorization identities usedDN sent in the bind request toexpressaserver's access control policy, requiringdirectory entry with aserver-specific mappinguserPassword attribute." C.6.3. Changes tobe done. The method by which a server composes and validates an authorization identity from the authentication credentials supplied by a client is implementation-specific. Appendix C. RFC 2829 Change History This appendix lists the changes madesection 6.3. Version -00 - Renamed tothe text of RFC 2829 in preparing this document. C.0. General Editorialsection 6.4. C.7. Changes to section 7. none C.7.1. Changes to section 7.1. Version -00 -Changed other instances ofClarified theterm LDAP to LDAP where v3 ofentity issuing a certificate by moving theprotocol is implied. Also made all references to LDAP usephrase "to have issued thesame wording. - Miscellaneous grammatical changescertificate" immediately after "Certification Authority." C.8. Changes toimprove readability.section 8. Version -00 -Made capitalizationRemoved the first paragraph because simple authentication is covered explicitly in sectionheadings consistent. Version -016. -Changed title to reflect inclusion of material from RFC 2830 and 2251. C.1. ChangesAdded section 8.1. heading just prior toSection 1 Version -01second paragraph. -Moved conventions used in document to a separate section. C.2. ChangesAdded section 8.2. heading just prior toSection 2 Version -01third paragraph. -MovedAdded section 8.3. heading just prior toan appendix. C.3. Changes to Section 3fourth paragraph. Version -01 - Moved entire section 8 of RFC 2829 into section 3.4 (Using SASL for Other Security Services) toan appendix. C.4 Changes to Section 4 Version -00 - Changed "Distinguished Name" to "LDAP distinguished name". C.5.bring material on SASL mechanisms together into one location. C.9. Changes toSection 5section 9. Harrison ExpiresAprilJune 2004 [Page27]28] Internet-Draft LDAP Authentication Methods7 October5 December 2003 Version -00 - Paragraph 2: changed "EXTERNAL mechanism" to "EXTERNAL SASL mechanism." - Added section 9.1. heading. - Modified a comment in thefollowing sentence: "Servers SHOULD NOT allow clients with anonymous authenticationABNF from "unspecified userid" to "unspecified authz id". - Deleted sentence, "A utf8string is defined to be the UTF-8 encoding of one or more ISO 10646 characters," because it is redundant. - Added section 9.1.1. heading. - Added section 9.1.2. heading. Version -01 - Moved entire section 9 tomodify directory entries or access sensitive information in directory entries." C.5.1.become section 3.5 so that it would be with other SASL material. C.10. Changes to Section5.110. Version -00 -Replaced the text describing the procedure for performing an anonymous bind (protocol) with aUpdated reference tosection 4.2 of RFC 2251 (the protocol spec). Version -01 - Brought text describing procedure for performing an anonymous bindcracking fromsection 4.2a week ofRFC 2251 bis. This text willCPU time in 1997 to beremoved from the draft standard versiona day ofthat document. C.6. Changes to Section 6. Version -00 Reorganized textCPU time insection 6.1 as follows: 1.2000. - Addeda new section (6.1) titled "Simple Authentication"text: "These ciphersuites are NOT RECOMMENDED for use... andmoved oneserver implementers SHOULD" to sentence just prior the second list oftwo introductory paragraphs for section 6 into section 6.1.ciphersuites. - Addedsentencestext: "and MAY support other ciphersuites offering equivalent or better protection," to theparagraph indicating: a. simple authentication is not suitable for environments where confidentiality is not available. b. LDAP implementations SHOULD NOT support simple authentication unless confidentiality and data integrity mechanisms are in force. 2. Moved firstlast paragraph ofsection 6 (beginning with "LDAP implementations MUST support authentication with a password...") to section on Digest Authentication (Now section 6.2). C.6.1.the section. C.11. Changes to Section6.1.11. Version-00 Renamed section to 6.2-01 -Added sentence from originalMoved to section6 indicating that the DIGEST-MD5 SASL mechanism is required for all conforming LDAP implementations C.6.2.3.6 to be with other SASL material. C.12. Changes to Section6.212. Version -00 - Inserted new section 12 that specifies when SASL protections begin following SASL negotiation, etc. The original section 12 is renumbered to become section 13. Version -01 Harrison ExpiresAprilJune 2004 [Page28]29] Internet-Draft LDAP Authentication Methods7 October5 December 2003 -RenamedMoved to section 3.7 to6.3 - Reworded first paragraphbe with other SASL material. C.13. Changes toremove referenceSection 13 (original section 12). None Appendix D. RFC 2830 Change History This appendix lists the changes made touser andtheuserPassword password attribute Madetext of RFC 2830 in preparing this document. D.0. General Editorial Changes - Material showing thefirst paragraph more general by simply saying that if a directory supports simple authentication thatPDUs for thesimple bind operation MAY performed following negotiation of aStart TLSciphersuite that supports confidentiality.response was broken out into a new section. -Replaced "the nameThe wording of theuser's entry" with "a DN" since not all bind operations are performed on behalfdefinition ofa "user." - Added Section 6.3.1 heading just prior to paragraph 5. - Paragraph 5: replaced "The server" with "DSAs that map the DN sent inthebindStart TLS request and Start TLS response was changed toa directory entry with a userPassword attribute." C.6.3. Changes to section 6.3. Version -00 - Renamed to section 6.4. C.7. Changes to section 7. none C.7.1. Changesmake them parallel. NO changes were made tosection 7.1. Version -00 - Clarified the entity issuing a certificate by movingthephrase "to have issuedASN.1 definition or thecertificate" immediately after "Certification Authority." C.8. Changes to section 8. Version -00 - Removedassociated values of thefirst paragraph because simple authentication is covered explicitly in section 6.parameters. -AddedA separate section8.1.headingjust prior to second paragraph. - Addedfor graceful TLS closure was added for parallelism with section8.2. heading just prioron abrupt TLS closure. Appendix E. RFC 2251 Change History This appendix lists the changes made tothird paragraph.the text of RFC 2251 in preparing this document. E.0. General Editorial Changes -AddedAll material from section8.3. heading just prior to fourth paragraph. Version -014.2 of RFC 2251 was moved into this document. -Moved entireA new section8was created for the Bind Request - Section 4.2.1 of RFC2829 into2251 (Sequencing Bind Request) was moved after the section3.4 (Using SASLon the Bind Response forOther Security Services)parallelism with the presentation of the Start TLS operations. The section was also subdivided tobring material onexplicitly call out the various effects being described within it. - All SASLmechanisms together into one location.profile information from RFC 2829 was brought within the discussion of the Bind operation (primarily sections 4.4 - 4.7). Appendix F. Change History to Combined Document F.1. Changes for draft-ldap-bis-authmeth-02 General Harrison ExpiresAprilJune 2004 [Page29]30] Internet-Draft LDAP Authentication Methods7 October5 December 2003C.9. Changes to section 9. Version -00 - Paragraph 2: changed "EXTERNAL mechanism" to "EXTERNAL SASL mechanism."- Addedsection 9.1. heading. - Modified a comment in the ABNF from "unspecified userid"references to"unspecified authz id". - Deleted sentence, "A utf8string is definedother LDAP standard documents, tobesections within theUTF-8 encoding of one or more ISO 10646 characters," because it is redundant.document, and fixed broken references. -Added section 9.1.1. heading.General editorial changes--punctuation, spelling, formatting, etc. Section 1. - Addedsection 9.1.2. heading. Version -01glossary of terms and added sub-section headings Section 2. -Moved entire section 9 to become section 3.5 so that it would beClarified security mechanisms 3, 4, & 5 and brought language in line withother SASL material. C.10. Changes toIETF security glossary. Section10. Version -003. -Updated reference to cracking from a week of CPU timeBrought language in1997 to be a day of CPU timerequirement (3) in2000.line with security glossary. -Added text: "These ciphersuites are NOT RECOMMENDED for use... and server implementers SHOULD" to sentence justClarified that information fetched priorthe second list of ciphersuites. - Added text: "and MAY support other ciphersuites offering equivalent or better protection,"tothe last paragraphinitiation ofthe section. C.11. Changes to Section 11. Version -01 - Moved to section 3.6TLS negotiation must be discarded -Clarified that information fetched prior to initiation of SASL negotiation must bewith otherdiscarded - Rewrote paragraph on SASLmaterial. C.12. Changesnegotiation requirements to clarify intent Section12. Version -004.4. -Inserted new section 12Added stipulation thatspecifies whensasl choice allows for any SASLprotections begin followingmechanism not prohibited by this document. (Resolved conflict between this statement and one that prohibited use of ANONYMOUS and PLAIN SASLnegotiation, etc. The original section 12 is renumberedmechanisms.) Section 5.3.6 - Added a.x.bar.com to wildcard matching example on hostname check. Section 6 - Added LDAP Association State Transition Tables to show the various states through which an LDAP association may pass along with the actions and decisions required tobecome section 13.traverse from state to state. Appendix A - Brought security terminology in line with IETF security glossary throughout the appendix. F.2. Changes for draft-ldap-bis-authmeth-03 Harrison ExpiresAprilJune 2004 [Page30]31] Internet-Draft LDAP Authentication Methods7 October5 December 2003Version -01General -Moved to section 3.7Added introductory notes and changed title of document and references tobe with other SASL material. C.13. Changesconform toSection 13 (original section 12). None Appendix D. RFC 2830 Change History This appendix listsWG chair suggestions for the overall technical specification. - Several issues--G.13, G.14, G.16, G.17--were resolved without requiring changesmadeto thetext of RFC 2830 in preparing thisdocument.D.0. General Editorial ChangesSection 3 -Material showing the PDUs for the Start TLS response was broken out into a new section.Removed reference to /etc/passwd file and associated text. Section 4 -The wording of the definitionRemoved sections 4.1, 4.2 and parts of section 4.3. This information was being duplicated in theStart TLS requestprotocol specification andStart TLS response waswill now reside there permanently. Section 4.2 - changed words, "not recommended" tomake them parallel. NO changes were made to the ASN.1 definition or the associated values of the parameters."strongly discouraged" Section 4.3 -A separate section heading for graceful TLS closure wasBased on ldapbis WG discussion at IETF52 two sentences were addedfor parallelismindicating that clients SHOULD NOT send a DN value when binding withsection on abrupt TLS closure. Appendix E. RFC 2251 Change History This appendix lists the changes made tothetext of RFC 2251sasl choice and servers SHALL ignore any value received inpreparing this document. E.0. General Editorial Changes - All material from section 4.2 of RFC 2251 was moved intothisdocument. - A new section was created for the Bind Requestcircumstance. - Section4.2.1 of RFC 2251 (Sequencing Bind Request) was moved after the section on the Bind Response for parallelism with8.3.1 - Generalized thepresentationlanguage ofthe Start TLS operations. Thethis sectionwas also subdividedtoexplicitly call outnot refer to any specific password attribute or to refer to thevarious effects being described within it.directory entry as a "user" entry. Section 11 -All SASL profile information from RFC 2829 was brought within the discussionAdded security consideration regarding misuse ofthe Bind operation (primarily sections 4.4unauthenticated access. -4.7). Appendix F. Change HistoryAdded security consideration requiring access control toCombined Document F.1.be applied only to authenticated users and recommending it be applied when reading sensitive information or updating directory information. F.3. Changes fordraft-ldap-bis-authmeth-02draft-ldap-bis-authmeth-04 General - Changed references to use [RFCnnnn] format wherever possible. (References to works in progress still use [name] format.) Harrison ExpiresAprilJune 2004 [Page31]32] Internet-Draft LDAP Authentication Methods7 October5 December 2003 -Added referencesVarious edits toothercorrect typos and bring field names, etc. in line with specification in [Protocol] draft. - Several issues--G.13, G.14, G.16, G.17--were resolved without requiring changes to the document. Section 4.4.1. - Changed ABNF grammar to use productions that are like those in the model draft. Section 5 - Removed sections 5.1, 5.2, and 5.4 that will be added to [Protocol]. Renumbered sections to accommodate this change. - Section 6 - Reviewed LDAPstandard documents,Association State table for completeness and accuracy. Renumbered actions A3, A4, and A5 tosections withinbe A5, A3, and A4 respectively. Re-ordered several lines in thedocument,table to ensure that actions are in ascending order (makes analyzing the table much more logical). Added action A2 to several states where it was missing andfixed broken references. - General editorial changes--punctuation, spelling, formatting, etc. Section 1. -valid. Addedglossary of termsactions A7 andadded sub-section headings Section 2. - Clarified security mechanisms 3, 4, & 5A8 placeholders to states S1, S2, S4 andbrought language in line with IETF security glossary.S5 pending resolution of issue G.28. Section3.11 -Brought language in requirement (3) in line withModified securityglossary. - Clarified that information fetched priorconsideration (originally added in -03) requiring access control toinitiation of TLS negotiation mustbediscarded -Clarified that information fetched priorapplied only toinitiation of SASL negotiation must be discarded - Rewrote paragraph on SASL negotiation requirementsauthenticated users. This seems nonsensical because anonymous users may have access control applied toclarify intentlimit permissible actions. - Section4.4.13 -Added stipulation that sasl choice allowsVerified all normative references and moved informative references to a new section 14. F.4. Changes forany SASL mechanism not prohibited by this document. (Resolved conflict between this statementdraft-ldap-bis-authmeth-05 General - General editory changes to fix punctuation, spelling, line length issues, etc. - Verified andone that prohibited use of ANONYMOUSupdated intra- andPLAIN SASL mechanisms.) Section 5.3.6inter-document references throughout. -Added a.x.bar.comDocument-wide review for proper usage of RFC 2119 keywords with several changes towildcard matching example on hostname check. Section 6correct improper usage. Abstract -Added LDAP Association State Transition TablesUpdated toshow the various states through which an LDAP association may pass along with the actions and decisions requiredmatch current contents of documents. This was needed due totraverse from statemovement of material on Bind and Start TLS operations tostate. Appendix A - Brought security terminology[Protocol] inline with IETF security glossary throughout the appendix.this revision. Harrison ExpiresAprilJune 2004 [Page32]33] Internet-Draft LDAP Authentication Methods7 October5 December 2003F.2. Changes for draft-ldap-bis-authmeth-03 GeneralSection 3. -Added introductory notes and changed title of document and references to conformRenamed section toWG chair suggestions"Rationale for LDAP Security Mechanisms" and removed text that did not support this theme. Part of theoverall technical specification. - Several issues--G.13, G.14, G.16, G.17--were resolved without requiring changesmotivation for this change was to remove thedocument. Section 3 - Removed reference to /etc/passwd file and associated text. Section 4 - Removed sections 4.1, 4.2 and partsimplication of the previous section title, "Required Security Mechanisms", and other text found in the section that everything in the section4.3. This informationwasbeing duplicateda requirement - Information from several removed paragraphs that describe deployment scenarios will be added Appendix A in theprotocol specificationnext revision of the draft. - Paragraph beginning, " If TLS is negotiated, the client MUST discard all information..." was moved to section 5.1.7 andwill now reside there permanently. Sectionintegrated with related material there. - Paragraph beginning, "If a SASL security layer is negotiated..." was moved to section 4.2 Section 4.l. -changed words, "not recommended"Changed wording of first paragraph to"strongly discouraged"clarify meaning. Section4.34.2. -Based on ldapbis WG discussion at IETF52 two sentences were added indicating that clients SHOULD NOT sendAdded paragraph from section 3 of -04 beginning, "If aDN value when binding with the sasl choice and servers SHALL ignore any value received in this circumstance. -SASL security layer is negotiated..." Section8.3.14.3.3. -GeneralizedRenamed to "Other SASL Mechanisms" and completely rewrote thelanguage of thissection (one sentence) tonot refer to any specific password attribute or to refer togeneralize thedirectory entry as a "user" entry. Section 11 - Added security consideration regarding misusetreatment ofunauthenticated access.SASL mechanisms not explicitly mentioned in this document. Section 4.4.1. - Addedsecurity consideration requiring access controlparagraph beginning, "The dnAuthzID choice allows client applications..." tobe applied onlyclarify whether DN form authorization identities have toauthenticated users and recommending it be applied when reading sensitive information or updatingalso have a corresponding directoryinformation. F.3. Changesentry. This change was based on editor's perception of WG consensus. - Made minor clarifying edits in the paragraph beginning, "The uAuthzID choice allows fordraft-ldap-bis-authmeth-04 Generalcompatibility..." Section 5.1.1. - Made minor clarifying edits in the last paragraph of the section. Section 5.1.7. Harrison ExpiresAprilJune 2004 [Page33]34] Internet-Draft LDAP Authentication Methods7 October5 December 2003 -Changed references to use [RFCnnnn] format wherever possible. (References to works in progress still use [name] format.) - Various edits to correct typosWording from section 3 paragraph beginning " If TLS is negotiated, the client MUST discard all information..." was moved to this section andbring field names, etc. in lineintegrated withspecification in [Protocol] draft. - Several issues--G.13, G.14, G.16, G.17--were resolved without requiring changes to the document.existing text. Section4.4.1.5.2. - ChangedABNF grammarusage of "TLS connection" touse productions that are like those in the model draft. Section 5"TLS session" throughout. - Removedsections 5.1, 5.2,empty section 5.2.1 and5.4 that will be added to [Protocol]. Renumberedrenumbered sectionsto accommodate this change.it had previously contained. Section 8. - Added introductory paragraph at beginning of section. Section68.1. -Reviewed LDAP Association State table for completeness and accuracy. Renumbered actions A3, A4, and A5Changed term "data privacy" to "data confidentiality" to beA5, A3, and A4 respectively. Re-ordered several linesconsistent with usage inthe tablerest of document. Section 8.2. - Changed first paragraph toensurerequire implementations thatactions are in ascending order (makes analyzing the table much more logical). Added action A2 to several states where it was missing and valid. Added actions A7 and A8 placeholdersimplement *password-based* authentication tostates S1, S2, S4implement andS5 pending resolution of issue G.28.support DIGEST-MD5 SASL authentication. Section1111. -Modified security consideration (originally added in -03) requiring access controlFirst paragraph: changed "session encryption" tobe applied only"session confidentiality protection" toauthenticated users. This seems nonsensical because anonymous users may have access control appliedbe consistent with usage in rest of document. Appendix A. - Began changes tolimit permissible actions.incorporate information on deployment scenarios removed from section 3. F.5. Changes for draft-ldap-bis-authmeth-06 General - Combined Section13 - Verified all normative references2 (Introduction) and Section 3 (Motivation) and movedinformative referencesIntroduction toa newsection14. F.4. Changes for draft-ldap-bis-authmeth-05 General1. All following sections numbers were decremented by one as result. -General editory changesEdits to fixpunctuation, spelling, line length issues,typos, I-D nits, etc. -Verified and updated intra- and inter-document references throughout. - Document-wide review for proper usage of RFC 2119 keywords withOpened severalchanges to correct improper usage. Abstractnew issues in Appendix G based on feedback from WG. Some of these have been resolved. Others require further discussion. Section 1 Harrison ExpiresAprilJune 2004 [Page34]35] Internet-Draft LDAP Authentication Methods7 October5 December 2003 -Updated to match current contentsAdded additional example ofdocuments. This was needed due to movementspoofing under threat (7). Section 2.1 - Changed definition ofmaterial on Bind"LDAP association" andStart TLS operationsadded terms, "connection" and "TLS connection" to[Protocol]bring usage inthis revision.line with [Protocol]. Section3.4.1.6 -Renamed section to "Rationale for LDAP Security Mechanisms" and removed textClarified sentence stating thatdid not support this theme. Part of the motivation for this change was to removetheimplicationclient MUST NOT use derived forms ofthe previous section title, "Required Security Mechanisms", and other text found in the section that everything in the section was a requirementDNS names. Section 5.1 -Information from several removed paragraphs that describe deployment scenarios will be added Appendix A in the next revisionBegan edits to LDAP Association state table to clarify meaning ofthe draft.various states and actions. -Paragraph beginning, " If TLS is negotiated, the client MUST discard all information..." was movedAdded action A9 tosection 5.1.7cover abandoned bind operation andintegrated with related material there. - Paragraph beginning, "If a SASL security layer is negotiated..." was movedadded appropriate transitions tosection 4.2the state transition table to accommodate it. Section4.l.7.2 -Changed wording ofReplaced first paragraph to clarifymeaning. Section 4.2. - Added paragraph from section 3 of -04 beginning, "If athat the "DIGEST-MD5" SASLsecurity layermechanism isnegotiated..."required to implement. Section4.3.3.9 -Renamed to "Other SASL Mechanisms" and completely rewroteRewrote the section(one sentence)togeneralizemake thetreatmentadvice more applicable over the long term, i.e. more "timeless." The intent ofSASL mechanisms not explicitly mentionedcontent inthis document.the original section was preserved. Section4.4.1.10 - Addedparagraph beginning, "The dnAuthzID choice allows client applications..." to clarify whether DN form authorization identities have to also haveacorresponding directory entry. This change was based on editor's perception of WG consensus. - Made minor clarifying edits in the paragraph beginning, "The uAuthzID choice allows for compatibility..." Section 5.1.1. - Made minorclarifyingedits inexample to thelast paragraphconsideration regarding misuse ofthe section. Section 5.1.7. Harrison Expires April 2004 [Page 35] Internet-Draft LDAP Authentication Methods 7 October 2003unauthenticated access. F.6. Changes for draft-ldap-bis-authmeth-07 General -Wording from section 3 paragraph beginning " If TLS is negotiated, the client MUST discard all information..." was moved to this sectionUpdated external andintegrated with existing text. Section 5.2. - Changed usage of "TLS connection"internal references to"TLS session" throughout.accommodate changes in recent drafts. -Removed empty section 5.2.1 and renumbered sections it had previously contained.Opened several new issues in Appendix G based on feedback from WG. Some of these have been resolved. Others require further discussion. Section8.3 -Added introductory paragraph at beginningRewrote much ofsection. Section 8.1.section 3.3 to meet the SASL profile requirements of draft-ietf-sasl-rfc2222bis-xx.txt section 5. Harrison Expires June 2004 [Page 36] Internet-Draft LDAP Authentication Methods 5 December 2003 - Changedterm "data privacy" to "data confidentiality"treatement of SASL ANONYMOUS and PLAIN mechanisms tobe consistent with usagebring inrest of document.line with WG consensus. Section8.2.4 -Changed first paragraphNote torequire implementations that implement *password-based*implementers in section 4.1.1 based on operational experience. - Clarification on client continuing by performing a Start TLS with TLS already established in section 4.1.4. - Moved verification of mapping of client's authentication ID toimplement and support DIGEST-MD5 SASL authentication. Section 11. - First paragraph: changed "session encryption"asserted authorization ID to"session confidentiality protection"apply only tobe consistent with usageexplicit assertion. The local policy inrest of document. Appendix A.place for implicit assertion is adequate. Section 7 -Began changes to incorporateRemoved most of section 7.2 as the informationon deployment scenarios removed fromis now covered adequately via the new SASL profile in section3. F.5. Changes for draft-ldap-bis-authmeth-06 General3.3. Added note to implementors regarding the treatment of username and realm values in DIGEST-MD5. -CombinedSection2 (Introduction) and7.3. Minor clarifications in wording. - Section3 (Motivation) and moved Introduction7.3.1. Clarification that a match of the presented value tosection 1. All following sections numbers were decremented by one as result.any member of the set of stored passwords constitutes a successful authentication. F.6. Changes for draft-ldap-bis-authmeth-08 General -EditsChanged usage from LDAPv3 tofix typos, I-D nits, etc.LDAP for usage consistency across LDAP technical specification. -Opened several new issuesFixed a number of usage nits for consistency and to bring doc inAppendix Gconformance with publication guidelines. Abstract - Significant cleanup and rewording of abstract based onfeedback from WG. SomeWG feedback. Section 2.1 - New definition ofthese have been resolved. Others require further discussion.user. Section13 - Added 1.5 sentences at end of introductory paragraph indicating the effect of the Bind op on the LDAP association. Harrison ExpiresAprilJune 2004 [Page36]37] Internet-Draft LDAP Authentication Methods7 October5 December 2003- Added additional example of spoofing under threat (7).Section2.13.1 -Changed definition of "LDAP association" and added terms, "connection"Retitled section and"TLS connection" to bring usage in line with [Protocol].clarified wording Section4.1.63.2 - Clarifiedsentence statingthatthe client MUST NOT use derived formssimple authentication choice provides three types ofDNS names.authentication: anonymous, unauthenticated, and simple password. Section5.13.3.3 -Began edits to LDAP Association state table to clarify meaning of various states and actions.New wording clarifying when negotiated security mechanisms take effect. Section 3.3.5 -Added action A9Changed requirement tocover abandoned bind operation and added appropriate transitionsdiscard information about server fetched prior tothe state transition tableSASL negotiation from MUST toaccommodate it.SHOULD to allow for information obtained through secure mechanisms. Section7.23.3.6 -ReplacedSimplified wording of first paragraphto clarifybased on suggestion from WG. Section 3.4 - Minor clarifications in wording. Section 3.4.1 - Minor clarifications in wording in first sentence. - Explicitly called out that the"DIGEST-MD5" SASL mechanismDN value in the dnAuthzID form isrequiredtoimplement. Section 9be matched using DN matching rules. -RewroteCalled out that thesectionuAuthzID MUST be prepared using SASLprep rules before being compared. - Clarified requirement on assuming global uniqueness by changing a "generally... MUST" wording tomake the advice more applicable over the long term, i.e. more "timeless." The intent of content in the original section was preserved."SHOULD". Section104.1.1 -Added a clarifying exampleSimplified wording describing conditions when Start TLS cannot be sent. - Simplified wording in note tothe considerationimplementers regardingmisuse of unauthenticated access. F.6. Changes for draft-ldap-bis-authmeth-07 Generalrace condition with outstanding LDAP operations on connection. Section 4.1.5 -Updated externalRemoved section andinternal referencesmoved relevant text toaccommodate changes in recent drafts. - Opened several new issues in Appendix G based on feedback from WG. Some of these have been resolved. Others require further discussion.section 4.2.2. Section34.1.6 - Renumbered to 4.1.5. Harrison ExpiresAprilJune 2004 [Page37]38] Internet-Draft LDAP Authentication Methods7 October5 December 2003 -Rewrote much of section 3.3Updated server identity check rules for server's name based on WG list discussion. Section 4.1.7 - Renumbered tomee the SASL profile requirements4.1.6 - Changed requirement to discard information about server fetched prior to TLS negotion from MUST to SHOULD to allow for information obtained through secure mechanisms. Section 6.1 - Clarified wording. - Added definition ofdraft-ietf-sasl-rfc2222bis-xx.txtanonymous and unauthenticated binds. Section 10 - Added security consideration (moved from elsewhere) discouraging use of cleartext passwords on unprotected communication channels. Section 11 - Added an IANA consideration to update GSSAPI service name registry to point to [Roadmap] and [Authmeth] F.7. Changes for draft-ldap-bis-authmeth-09 General - Updated section5.references within document - Changedtreatement of SASL ANONYMOUS and PLAIN mechanismsreference tags tobringmatch other docs inline with WG consensus. Section 4LDAP TS -Note to implementers in section 4.1.1 based on operational experience.Used non-quoted names for all SAL mechanisms Abstract -Clarification on client continuing by performing a Start TLS with TLS already establishedInspected keyword usage and removed several improper usages. - Removed sentence saying DIGEST-MD5 is LDAP's mandatory-to- implement mechanism. This is covered elsewhere insection 4.1.4.document. - Movedverificationsection 5, authentication state table, ofmapping-08 draft to section 8 ofclient's authentication ID-09 and completely rewrote it. Section 1 - Reworded sentence beginning, "It is also desireable toasserted authorization IDallow authentication methods toapply onlycarry identities based on existingù non-LDAP DNùforms..." - Clarified relationship of this document toexplicit assertion. The local policyother documents inplace for implicit assertion is adequate.the LDAP TS. Section73.3.5 Harrison Expires June 2004 [Page 39] Internet-Draft LDAP Authentication Methods 5 December 2003 - Removedmost of section 7.2 asparagraph beginning,"If theinformationclient isnow covered adequately via the newconfigured to support multiple SASLprofilemechanisms..." because the actions specified insection 3.3. Added note to implementors regardingthetreatmentparagraph do not provide the protections indicated. Added a new paragraph indicating that clients and server should allow specification ofusernameacceptable mechanisms andrealm values in DIGEST-MD5.only allow those mechanisms to be used. -Section 7.3. Minor clarificationsClarified independent behavior when TLS and SASL security layers are both inwording. - Section 7.3.1. Clarification that a match offorce (e.g. one being removed doesn't affect thepresented value to any memberother). Section 3.3.6 - Moved most ofthe setsection 4.2.2, Client Assertion ofstored passwords constitutes a successful authentication. F.6. Changes for draft-ldap-bis-authmeth-08 GeneralAuthorization Identity, to sections 3.3.6, 3.3.6.1, and 3.3.6.2. Section 3.3.6.4 -Changed usage from LDAPv3Moved some normative comments into text body. Section 4.1.2 - Non success resultCode values are valid if server is *unwilling* or unable toLDAP for usage consistency across LDAP technical specification.negotiate TLS. Section 4.2.1 -Fixed a numberRewrote entire section based on WG feedback. Section 4.2.2 - Moved most ofusage nits for consistency andthis section tobring doc in conformance with publication guidelines. Abstract3.3.6 for better document flow. Section 4.2.3 -Significant cleanup and rewording of abstractRewrote entire section based on WG feedback. Section2.15.1 -New definition of user.Moved imperative language regarding unauthenticated access from security considerations to here. Section36 - Added1.5 sentences at end of introductory paragraph indicatingseveral paragraphs regarding theeffectrisks of transmitting passwords in theBind op on the LDAP association.clear and requiring server implementations to provide a specific configuration that reduces these risks. Section 6.2 - Added sentence describing protections provided by DIGEST-MD5 method. - Changed DNs in exmple to be dc=example,dc=com. Harrison ExpiresAprilJune 2004 [Page38]40] Internet-Draft LDAP Authentication Methods7 October5 December 2003 Section3.1 - Retitled section and clarified wording Section 3.210 -Clarified that simpleUpdated consideration on use of cleartext passwords to include other unprotected authenticationchoice provides three typescredentials - Substantial rework ofauthentication: anonymous, unauthenticated,consideration on misuse of unauthenticated bind. Appendix G. Issues to be Resolved This appendix lists open questions andsimple password.issues that need to be resolved before work on this document is deemed complete. G.1. Section3.3.3 - New wording clarifying when negotiated1 lists 6 security mechanismstake effect. Section 3.3.5 -that can be used by LDAP servers. I'm not sure what mechanism 5, "Resource limitation by means of administrative limits on service controls" means. Status: resolved. Changedrequirement to discard information about server fetched prior to SASL negotion from MUSTwording toSHOULD"administrative service limits" toallow for information obtained through secure mechanisms.clarify meaning. G.2. Section3.3.6 - Simplified wording of first2 paragraphbased on suggestion from WG. Section 3.4 - Minor clarifications in wording. Section 3.4.1 - Minor larifications in wording in first sentence. - Explicitly called out that1 defines theDN valueterm, "sensitive." Do we want to bring this term and other security-related terms in alignment with usage with thednAuthzID form is to be matched using DN matching rules. - Called outIETF security glossary (RFC 2828)? Status: resolved. WG input at IETF 51 was that we should do this, so theuAuthzID MUST be prepared using SASLprep rules before being compared. - Clarified requirement on assuming global uniquenessappropriate changes have been made. G.3. Section 2, deployment scenario 2: What is meant bychangingthe term "secure authentication function?" Status: resolved. Based on the idea that a"generally... MUST" wording to "SHOULD". Section 4.1.1 - Simplified wording describing conditions when Start TLS cannot"secure authentication function" could besent. - Simplifiedprovided by TLS, I changed the wordingin notetoimplementers regarding race condition with outstanding LDAP operations on connection.require data confidentiality for sensitive authentication information and data integrity for all authentication information. G.4. Section4.1.5 - Removed section3, deployment scenario 3: What is meant by the phrase, "directory data is authenticated by the server?" Status: resolved. I interpreted this to mean the ability to ensure the identity of the directory server andmoved relevant textthe integrity of the data sent from that server tosection 4.2.2. Section 4.1.6the client, and explictly stated such. G.5. Harrison ExpiresAprilJune 2004 [Page39]41] Internet-Draft LDAP Authentication Methods7 October5 December 2003- Renumbered to 4.1.5. - Updated server identity check rules for server's name based on WG list discussion.Section4.1.7 - Renumbered to 4.1.6 - Changed requirement to discard information about server fetched prior to TLS negotion from MUST to SHOULD to allow4 paragraph 3: What is meant by the phrase, "this means that either this data is useless forinformation obtained through secure mechanisms. Section 6.1 - Clarified wording. - Added definition of anonymous and unauthenticated binds. Section 10 - Added security consideration (moved from elsewhere) discouraging use of cleartext passwords on unprotected communication channels. Section 11 - Added an IANA consideration to update GSSAPI service name registry to point to [Roadmap] and [Authmeth] Appendix G. Issuesfaking authentication (like the Unix "/etc/passwd" file format used tobe Resolved This appendix lists open questions and issuesbe)?" Status: resolved. Discussion at IETF 52 along with discussions with the original authors of this material have convinced us thatneed to be resolved before work onthisdocumentreference isdeemed complete. G.1. Section 1 lists 6 security mechanisms that cansimply too arcane to beused by LDAP servers. I'm not sure what mechanism 5, "Resource limitation by meansleft in place. In -03 the text has been modified to focus on the need to either update password information in a protected fashion outside ofadministrative limits on service controls" means.the protocol or to update it in session well protected against snooping, and the reference to /etc/passwd has been removed. G.6. Section 4 paragraph 7 begins: "For a directory needing session protection..." Is this referring to data confidentiality or data integrity or both? Status: resolved. Changed wording to"administrative service limits" to clarify meaning. G.2.say, "For a directory needing data security (both data integrity and data confidentiality)..." G.7. Section24 paragraph1 defines8 indicates that "information about theterm, "sensitive."server fetched prior to the TLS negotiation" must be discarded. Do we want tobringexplicitly state that thisterm and other security-related terms in alignment with usage withapplies to information fetched prior to theIETF security glossary (RFC 2828)?*completion* of the TLS negotiation or is this going too far? Status: resolved.WG input atBased on comments in the IETF 51wasLDAPBIS WG meeting, this has been changed to explicitly state, "fetched prior to the initiation of the TLS negotiation..." G.8. Section 4 paragraph 9 indicates thatwe should do this, soclients SHOULD check the supportedSASLMechanisms list both before and after a SASL security layer is negotiated to ensure that they are using the best available security mechanism supported mutually by the client and server. A note at the end of the paragraph indicates that this is a SHOULD since there are environments where the client might get a list of supported SASL mechanisms from a different trusted source. I wonder if the intent of this could be restated more plainly using one of these two approaches (I've paraphrased for theappropriate changes have been made. G.3. Section 2, deployment scenariosake of brevity): Approach 1: Clients SHOULD check the supportedSASLMechanisms list both before and after SASL negotiation or clients SHOULD use a different trusted source to determine available supported SASL mechanisms. Approach 2:What is meant byClients MUST check theterm "secure authentication function?"supportedSASLMechanisms list both before and after SASL negotiation UNLESS they use a Harrison ExpiresAprilJune 2004 [Page40]42] Internet-Draft LDAP Authentication Methods7 October5 December 2003Status: resolved. Based on the idea that a "secure authentication function" could be provided by TLS, I changed the wordingdifferent trusted source torequire data confidentiality for sensitive authentication information and data integrity for all authentication information. G.4. Section 3, deployment scenario 3: What is meant by the phrase, "directory data is authenticated by the server?"determine available supported SASL mechanisms. Status: resolved. WG input at IETF 51 was that Approach 1 was probably best. Iinterpreted this to meanended up keeping theabilitybasic structure similar toensure the identity of the directory server and the integrity ofthedata sent from that serveroriginal tothe client, and explictly stated such. G.5.meet this intent. G.9. Section4 paragraph 3: What is meant by the phrase, "this means6.3.1 states: "DSAs thateither this data is useless for faking authentication (likemap theUnix "/etc/passwd" file format usedDN sent in the bind request tobe)?" Status: resolved. Discussion at IETF 52 along with discussionsa directory entry with a userPassword attribute will... compare [each value in theoriginal authors of this material have convinced usnamed user's entry]... with the presented password." This implies that thisreference is simply too arcaneapplies only tobe leftuser entries with userPassword attributes. What about other types of entries that might allow passwords and might store inplace. In -03 the text has been modified to focus ontheneed to either updatepassword information ina protected fashion outside of the protocol orother attributes? Do we want toupdate itmake this text more general? Status: resolved insession well protected against snooping,-03 draft by generalizing section 8.3.1 to not refer to any specific password attribute and by removing thereference to /etc/passwd has been removed. G.6. Section 4 paragraph 7 begins: "For a directory needing session protection..." Is thisterm "user" in referring todata confidentiality or data integrity or both? Status: resolved. Changed wording to say, "For athe directoryneeding data security (both data integrity and data confidentiality)..." G.7. Section 4 paragraph 8 indicates that "information aboutentry specified by theserver fetched fetched prior toDN in theTLS negotiation" must be discarded. Do we wantbind request. G.10 userPassword and simple bind We need toexplicitly statebe sure thatthis applieswe don't require userPassword toinformation fetched priorbe the only attribute used for authenticating via simple bind. (See 2251 sec 4.2 and authmeth 6.3.1. Work with Jim Sermersheim on resolution to this. On publication state something like: "This is the*completion*specific implementation ofthe TLS negotiation or is this going too far? Status: resolved. Based on commentswhat we discussed in our general reorg conversation on theIETF 51 LDAPBIS WG meeting, this has been changedlist." (Source: Kurt Zeilenga) Status: resolved in -03 draft by generalizing section 8.3.1 toexplicitly state, "fetched priornot refer tothe initiation of the TLS negotiation..." G.8. Section 4 paragraph 9 indicates that clients SHOULD check the supportedSASLMechanisms list both beforeany specific password attribute andafter a SASL security Harrison Expires April 2004 [Page 41] Internet-Draft LDAP Authentication Methods 7 October 2003 layer is negotiatedby removing the term "user" in referring toensure that they are usingthebest available security mechanism supported mutuallydirectory entry specified by theclient and server. A note atDN in theendbind request. G.11. Meaning of LDAP Association The original RFC 2830 uses theparagraph indicates that this isterm "LDAP association" in describing aSHOULD since there are environments where theconnection between an LDAP clientmight get a listand server regardless ofsupported SASL mechanisms from a different trusted source. I wonder iftheintentstate ofthis couldTLS on that connection. This term needs to berestated more plainly using one of these two approaches (I've paraphrased for the sake of brevity): Approach 1: Clients SHOULD check the supportedSASLMechanisms list both before and after SASL negotiationdefined orclients SHOULD use a different trusted source to determine available supported SASL mechanisms. Approach 2: Clients MUST check the supportedSASLMechanisms list both before and after SASL negotiation UNLESS they use a different trusted source to determine available supported SASL mechanisms.possibly changed. Status: resolved.WG inputat IETF 51wasBob Morgan indicated thatApproach 1the term "LDAP association" wasprobably best. I ended up keepingintended to distinguish thebasic structure similarLDAP-level connection from the TLS-level connection. This still needs to be clarified somewhere in theoriginaldraft. Added "LDAP association" tomeet this intent. G.9. Section 6.3.1 states: "DSAs that map the DN senta glossary in section 1. G.12. Is DIGEST-MD5 mandatory for all implementations? Reading 2829bis I think DIGEST-MD5 is mandatory ONLY IF your server supports password based authentication...but thebind requestfollowing makes it sound mandatory toa directory entryprovide BOTH password authentication AND DIGEST- Harrison Expires June 2004 [Page 43] Internet-Draft LDAP Authentication Methods 5 December 2003 MD5: "6.2. Digest authentication LDAP implementations MUST support authentication with auserPassword attribute will... compare [each valuepassword using the DIGEST-MD5 SASL mechanism for password protection, as defined in section 6.1." The thing is for acl it would be nice (though not critical) to be able to default thenamed user's entry]... withrequired authentication level for a subject to a single "fairly secure" mechanism--if there is no such mandatory authentication scheme then you cannot do that. (Source: Rob Byrne) Status: resolved. -00 version of thepresented password." This impliesdraft added a sentence at the beginning of section 8.2 stating that LDAP server implementations must support thisapplies only to user entries with userPassword attributes. What about other typesmethod. G.13. Ordering ofentries that might allow passwords and might store inauthentication levels requested Again on thepassword informationsubject of authentication level, is it possible to define an ordering on authentication levels which defines their relative "strengths" ? This would be useful inother attributes? Do we wantacl as you could say things like"a given aci grants access tomakea given subject at this authentication level AND ABOVE". David Chadwick raised thistext more general? Status: resolvedbefore in-03 draft by generalizing section 8.3.1 to not refer to any specific password attribute and by removingtheterm "user" in referringcontext of denying access tothe directory entry specified by the DNa subject at a given authentication level, inthe bind request. G.10 userPassword and simple bind We needwhich case he wanted tobe sure that we don't require userPasswordexpress "deny access tobethis subject at this authentication level AND TO ALL IDENTITIES AUTHENTICATED BELOW THAT LEVEL". (Source: Rob Byrne) Status: out of scope. This is outside theonly attribute used for authenticating via simple bind. (See 2251 sec 4.2scope of this document andauthmeth 6.3.1. Work with Jim Sermersheim on resolutionwill not be addressed. G.14. Document vulnerabilities of various mechanisms While I'm here...in 2829, I think it would be good tothis. On publication state something like: "This ishave some comments or explicit reference to a place where thespecific implementationsecurity properties ofwhat we discussed in our general reorg conversation onthelist." (Source: Kurt Zeilenga) Status: resolved in -03 draft by generalizing section 8.3.1 to not referparticular mandatory authentication schemes are outlined. When I say "security properties" I mean stuff like "This scheme is vulnerable toany specific password attributesuch andby removingsuch attacks, is only safe if theterm "user" in referring tokey size is > 50, this hash is widely considered thedirectory entry specified bybest, etc...". I think an LDAP implementor is likely to be interested in that information, without having to wade through theDN insecurity RFCs. (Source: Rob Byrne) Status: out of scope. This is outside thebind request. G.11. Meaningscope ofLDAP Associationthis document and will not be addressed. G.15. Include a Start TLS state transition table The pictoral representation it is nominally based on is here (URL possibly folded): http://www.stanford.edu/~hodges/doc/LDAPAssociationStateDiagram- 1999-12-14.html Harrison ExpiresAprilJune 2004 [Page42]44] Internet-Draft LDAP Authentication Methods7 October5 December 2003The original RFC 2830 uses the term "LDAP association"(Source: Jeff Hodges) Status: Resolved. Table provided indescribing-03. Review of content for accuracy in -04. Additional review is needed, plus comments from WG members indicate that additional description of each state's meaning would be helpful. Did aconnection between an LDAP client and server regardlesssignificant revision ofthestateof TLStransition table in -09. Changes were based on suggestions from WG and greatly simplified overall table. G.16. Empty sasl credentials question I spent some more time looking microscopically at ldap-auth-methods and ldap-ext-tls drafts. The drafts say thatconnection. This term needs to be definedthe credential must have the form dn:xxx orpossibly changed.u:xxx or be absent, and although they don't say what to do in the case of an empty octet string I would say that we could send protocolError (claim it is a bad PDU). There is still the question of what to do if the credential is 'dn:' (or 'u:') followed by the empty string. (Source: ariel@columbia.edu via Jeff Hodges) Status: resolved. Kurt Zeilenga indicated during ldapbis WG discussion at IETF51 Bob Morgan indicated52 that SASL AuthzID credentials empty and absent are equivalent in theterm "LDAP association" was intended to distinguish the LDAP-level connection from the TLS-level connection.latest SASL ID. Thisstill needs to be clarified somewhere inresolves thedraft. Added "LDAP association"issue. G.17. Hostname check from MUST toa glossary in section 1. G.12. Is DIGEST-MD5 mandatory for all implementations? Reading 2829bisSHOULD? Ithink DIGEST-MD5 is mandatory ONLY IF your server supports password based authentication...butam uneasy about thefollowing makes it sound mandatory to provide BOTH password authentication AND DIGEST- MD5: "6.2. Digest authentication LDAP implementations MUST support authenticationhostname check. My experience from PKI with HTTP probably is apasswordcontributing factor; we have people using theDIGEST-MD5 SASL mechanism for password protection, as defined in section 6.1." The thing is for acl it would be nice (though not critical) to be ableshort hostname todefault the required authentication level for a subjectget to asingle "fairly secure" mechanism--if there is no such mandatory authentication scheme then you cannot do that. (Source: Rob Byrne) Status: resolved. -00 version ofserver which naturally has thedraft added a sentence atFQDN in thebeginning of section 8.2 stating that LDAP server implementations must support this method. G.13. Orderingcertificate, no end ofauthentication levels requested Againproblems. I have a certificate on my laptop which has thesubject of authentication level,FQDN for the casse when the system isit possible to define an orderingonauthentication levels which defines their relative "strengths" ? This would be useful in acl as you could say things like"a given aci grants access toour Columbia network with agiven subject at this authentication level AND ABOVE". David Chadwick raised this beforefixed IP; when I dial in however, I have some horrible dialup name, and using thecontext of denying access to a subject atlocal https server becomes annoying. Issuing agiven authentication level,certificate inwhich case he wanted to express "deny access to this subject atthe name 'localhost' is not a solution! Wildcard match does not solve thisauthentication level AND TO ALL IDENTITIES AUTHENTICATED BELOW THAT LEVEL". (Source: Rob Byrne) Status: outproblem. For these reasons I am inclined to argue for 'SHOULD' instead ofscope. This is outside'MUST' in paragraph... Also, The hostname check against thescopename in the certificate is a very weak means ofthis document and willpreventing man-in-the-middle attacks; the proper solution is notbe addressed. G.14. Document vulnerabilities of various mechanisms While I'm here...in 2829, I think it would be good to have some commentshere yet (SecureDNS orexplicit reference tosome equivalent). Faking out DNS is not so hard, and we see this sort of thing in the press on aplacepretty regular basis, where site A hijacks thesecurity properties of the particular mandatory authentication schemes are Harrison Expires April 2004 [Page 43] Internet-Draft LDAP Authentication Methods 7 October 2003 outlined. When I say "security properties" I mean stuff like "This scheme is vulnerable to suchDNS server for site B andsuch attacks, is only safe ifgets all their requests. Some mention of this should be made in thekey size is > 50,draft. (Source: ariel@columbia.edu via Jeff Hodges) Status: resolved. Based on discussion at IETF 52 ldapbis WG meeting, thishashtext will stand as it is. The check iswidely considereda MUST, but thebest, etc...". I think anbehavior Harrison Expires June 2004 [Page 45] Internet-Draft LDAPimplementorAuthentication Methods 5 December 2003 afterward islikelya SHOULD. This gives server implementations the room tobe interestedmaneuver as needed. G.18. Must SASL DN exist inthat information, without having to wade throughthesecurity RFCs. (Source: Rob Byrne) Status: out of scope. This is outsidedirectory? If thescope'dn:' form ofthis document and will not be addressed. G.15. Include a StartTLS state transition table The pictoral representation itsasl creds isnominally based onused, ishere (URL possibly folded): http://www.stanford.edu/~hodges/doc/LDAPAssociationStateDiagram- 1999-12-14.html (Source: Jeff Hodges) Status: In Process. Table provided in -03. Reviewit the intention ofcontent for accuracy in -04. Additional review is needed, plus comments from WG members indicatethe draft(ers) thatadditional description of each state's meaning would be helpful. G.16. Empty sasl credentials question I spent some more time looking microscopically at ldap-auth-methodsthis DN must exist in the directory andldap-ext-tls drafts. The drafts say thatthecredential mustclient will have theform dn:xxx or u:xxxprivileges associated with that entry, orbe absent, and although they don't say whatcan the server map the sasl DN todoperhaps some other DN in thecase ofdirectory, in anempty octet string I would sayimplementation-dependent fashion? We already know thatwe could send protocolError (claim it is a bad PDU). There is still the question of what to doif *no* sasl credentials are presented, thecredential is 'dn:' (or 'u:') followed byDN or altname in the client certificate may be mapped to a DN in an implementation-dependent fashion, or indeed to something not in theempty string.directory at all. (Right?) (Source: ariel@columbia.edu via Jeff Hodges) Status: resolved.Kurt Zeilenga indicated during ldapbis WG discussion at IETF 52(11/12/02)Based on my research I propose thatSASL AuthzID credentials empty and absent are equivalentthe DN MUST exist in thelatest SASL ID. This resolvesdirectory when theissue. G.17. Hostname check from MUST to SHOULD?DN form of sasl creds is used. Iam uneasy abouthave made this proposal to thehostname check. My experienceldapbis mailing list. (11/21/02) Feedback fromPKI with HTTP probably is a contributing factor; we have people usingmailing list has proposed removing this paragraph entirely because (1) explicit assertion of authorization identity should only be done when proxying (2) mapping of theshort hostnameasserted authorization identity is implementation specific and policy driven [SASL] section 4.2, and (3) keeping this paragraph is not required for interoperability. G.19. DN used in conjunction with SASL mechanism We need togetspecify whether the DN field in Bind operation can/cannot be used when SASL mechanism is specified. (source: RL Bob) Status: resolved. (-03) Based on ldapbis WG discussion at IETF52 two sentences were added to section 4.3 indicating that clients SHOULD NOT send aserver which naturally hasDN value when binding with theFQDNsasl choice and servers SHALL ignore any value received inthe certificate, no endthis circumstance. During edits for -04 version ofproblems. I have a certificate on my laptop whichdraft it was noted that [Protocol] section 4.2 conflicts with this draft. The editor of [Protocol] has been notified of theFQDN for the casse when the systemdiscrepancy, and they have been handled. G.20. Bind states Differences between unauthenticated and anonymous. There are four states you can get into. One ison our Columbia network with a fixed IP; when I dialcompletely undefined (this is now explicitly called out inhowever, I have some horrible dialup[Protocol]). This text needs to be moved from [Protocol] to this draft. (source: Jim Sermersheim) Status: Resolved. There are four states: (1) no name, no password (anon); (2) name, no password (anon); (3) no name, password (invalid); (4) name, password (simple bind). States 1, 2, andusing the local https server becomes annoying. Issuing a certificate4 are called out inthe name 'localhost'[AuthMeth]. State 3 isnot a solution! Wildcard match does not solvecalled out in [Protocol]; thisproblem. For these reasons I am inclined to argue for 'SHOULD' insteadseems appropriate based on review of'MUST' in paragraph...alternatives. Harrison ExpiresAprilJune 2004 [Page44]46] Internet-Draft LDAP Authentication Methods7 October5 December 2003Also, The hostname check against theG.21. Misuse of unauthenticated access Add a security consideration that operational experience shows that clients can misuse unauthenticated access (simple bind with namein the certificate isbut no password). Servers SHOULD by default reject authentication requests that have avery weak meansDN with an empty password with an error ofpreventing man-in-the-middle attacks; the proper solution is not here yet (SecureDNS or some equivalent). Faking out DNS is not so hard,invalidCredentials. (Source: Kurt Zeilenga and Chris Newman (Sun)) Status: Resolved. Added to security considerations in -03. G.22. Need to move Start TLS protocol information to [Protocol] Status: Resolved. Removed Sections 5.1, 5.2, andwe see this sort of thing in the press on a pretty regular basis, where site A hijacks the DNS server5.4 forsite B-04 andgets all their requests. Some mention of this should bethey are [Protocol] -11. G.23. Split Normative and Non-normative references into separate sections. Status: Resolved. Changes made inthe draft. (Source: ariel@columbia.edu via Jeff Hodges) Status: resolved. Based on discussion at IETF 52 ldapbis WG meeting, this text will stand as it is. The check-04 G.24. What isa MUST, butthebehavior afterward isauthentication state if aSHOULD.Bind operation is abandoned? Status: Resolved. (3/24/03) Thisgives server implementations the room to maneuver as needed. G.18. Must SASL DN existfollowing text appears inthe directory? If the 'dn:' form of sasl creds is used, is it the intentionsection 4.2.1 ofthe draft(ers) that this DN must exist in the directory and the client will have the privileges associated with that entry, or can the server map the sasl DN[Protocol] revision -13 toperhaps some other DN in the directory, in an implementation-dependent fashion? We already know thatcover what happens if*no* sasl credentials are presented, the DNa bind operation is abandoned: A failed oraltname inabandoned Bind Operation has theclient certificate may be mapped to a DNeffect of leaving the connection in animplementation-dependent fashion, or indeed to something not in the directoryanonymous state. To arrive atall. (Right?) (Source: ariel@columbia.edu via Jeff Hodges) Status: resolved. (11/12/02)Based on my research I propose thata known authentication state after abandoning a bind operation, clients may unbind, rebind, or make use of theDN MUST existBindResponse. (6/28/03): The state table inthe directory when the DN formsection 6 ofsasl creds is used. I have made this proposal to the ldapbis mailing list. (11/21/02) Feedback from mailing list[AuthMeth] hasproposed removingbeen updated to reflect thisparagraph entirely because (1) explicit assertion of authorization identity should only be done when proxying (2) mappingwording. G.25. Difference between checking server hostname and server's canonical DNS name in Server Identity Check? Section 4.1.6: I now understand the intent of theasserted authorization identitycheck (prevent man-in-the-middle attacks). But what isimplementation specific and policy driven [SASL] section 4.2,the subtle difference between the "server hostname" and(3) keepingthe "server's canonical DNS name"? (Source: Tim Hahn) Status: Resolved. (11/12/02) Sent suggested wording change to this paragraphis not required for interoperability. G.19. DN used in conjunction with SASL mechanism We needtospecify whethertheDN field in Bind operation can/cannot be used when SASL mechanism is specified. (source: RL Bob) Status: resolved. (-03) Based onldapbisWG discussion at IETF52 two sentences were addedmail list and also asked for opinion as tosection 4.3 indicating that clients SHOULD NOT send a DN value when binding withwhether we should discuss thesasl choicedistinction between server DNS hostname andservers SHALL ignore any value receivedserver canonical DNS hostname inthis circumstance. During edits for -04 version of draft it was noted that [Protocol] section 4.2 conflicts with this draft. The editor of [Protocol] has been notified[AuthMeth]. (11/21/02): RL Bob Morgan will provide wording that allows derivations of thediscrepancy, and they have been handled. G.20. Bind statesname that are provided securely. Harrison ExpiresAprilJune 2004 [Page45]47] Internet-Draft LDAP Authentication Methods7 October5 December 2003Differences between unauthenticated and anonymous. There are four states you can get into. One is completely undefined (this(6/28/03): posted to the WG list asking Bob or any other WG member who isnow explicitly called out in [Protocol]). Thisknowledgeable about the issues involved to help me with wording or other information I can use to make this change and close the work item. (10/08/03): Based on WG list feedback, I've updated this textneedsto read what I judge to bemovedthe WG consensus, "The client MUST use the server provided by the user (or other trusted entity) as the value to compare against the server name as expressed in the server's certificate. A hostname derived from[Protocol]the user input is tothis draft. (source: Jim Sermersheim)be considered provided by the user only if derived in a secure fashion (e.g., DNSSEC)." G.26. Server Identity Check using servers located via SRV records Section 4.1.6: What should be done if the server was found using SRV records based on the "locate" draft/RFC? (Source: Tim Hahn). Status: Resolved.There are four states: (1) no name, no password (anon); (2) name, no password (anon); (3) no name, password (invalid); (4) name, password (simple bind). States 1, 2, and 4 are calledSection 5 of draft-ietf-ldapext-locate-08 specifically calls out how the server identity should be performed if the server is located using the method defined in[AuthMeth]. State 3that draft. This iscalled out in [Protocol];the right location for thisseems appropriate basedinformation, and the coverage appears to be adequate. G.27 Inconsistency in effect of TLS closure onreviewLDAP association. Section 4.4.1 ofalternatives. G.21. Misuseauthmeth -03 (section 4.1 ofunauthenticated access Add a security consideration that operational experience showsRFC2830) states thatclients can misuse unauthenticated access (simple bindTLS closure alert will leave the LDAP association intact. Contrast this withname but no password). Servers SHOULD by default reject authentication requestsSection 4.5.2 (section 5.2 of RFC2830) thathave a DN with an empty password with an errorsays that the closure ofinvalidCredentials. (Source: Kurt Zeilenga and Chris Newman (Sun)) Status: Resolved. Added to security considerations in -03. G.22. Needthe TLS connection MUST cause the LDAP association to moveStartTLS protocol informationto[Protocol]an anonymous authentication. Status: Resolved.Removed Sections 5.1, 5.2, and 5.4 for -04 and they are(11/12/02) This is actually a [Protocol] issue because these sections have now been moved to [Protocol] -11.G.23. Split Normative and Non-normative references into separate sections. Status: Resolved. Changes made in -04 G.24. What isI have proposed theauthentication state if a Bind operation is abandoned? Status: Resolved. (3/24/03) Thisfollowing textappears in section 4.2.1for Section 4.4.1 of[Protocol] revision -13[AuthMeth] -03 (section 4.13.3.1 of [Protocol]) tocover what happens if a bind operation is abandoned: A failedresolve this apparent discrepancy: "Either the client orabandoned Bind Operation hasserver MAY terminate the TLS connection on an LDAP association by sending a TLS closure alert. The LDAP connection remains open for further communication after TLS closure occurs although theeffectauthentication state ofleavingthe LDAP connection is affected (see [AuthMeth] section 4.2.2). (11/21/02): resolution to this is expected inan anonymous state. To arrive at a known authentication state after abandoning[Protocol] -12 (06/28/03): [Protocol]-15 clarifies that abind operation, clients may unbind, rebind, or make use ofTLS closure alert terminates theBindResponse. (6/28/03):TLS connection while leaving the LDAP connection intact. The authentication state table insection 6 of[AuthMeth]has been updated to reflect this wording. G.25. Difference between checking server hostname and server's canonical DNS name in Server Identity Check? Section 4.1.6: I now understand the intent of the check (prevent man-in-the-middle attacks). But what is the subtle difference betweenspecifies the"server hostname" andeffect on the"server's canonical DNS name"? (Source: Tim Hahn)LDAP association. G.28 Ordering of external sources of authorization identities Harrison ExpiresAprilJune 2004 [Page46]48] Internet-Draft LDAP Authentication Methods7 October5 December 2003Status: Resolved. (11/12/02) Sent suggested wording change to this paragraph to the ldapbis mail list and also asked for opinion as to whether we should discuss the distinction between server DNS hostname and server canonical DNS hostname in [AuthMeth]. (11/21/02): RL Bob Morgan will provide wordingSection 4.3.2 implies thatallows derivationsexternal sources ofthe name thatauthorization identities other than TLS areprovided securely. (6/28/03): posted topermitted. What is theWG list asking Bob or any other WG member whobehavior when two external sources of authentication credentials are available (e.g. TLS and IPsec are both present (is this possible?)) and a SASL EXTERNAL Bind operation isknowledgeable aboutperformed? Status: resolved. 11/20/02: Resolved by Section 4.2 of [SASL] which states that theissues involveddecision tohelp me with wordingallow orother information I can use to make this change and closedisallow thework item. (10/08/03): Basedasserted identity is based onWG list feedback, I've updated this text to read what I judgean implementation defined policy. G.29 Rewrite of Section 9, TLS Ciphersuites This section contains anachronistic references and needs to be updated/rewritten in a way that provides useful guidance for future readers in a way that will transcend theWG consensus, "The client MUST use the server provided by the user (or other trusted entity) aspassage of time. Status: Resolved. (6/28/03): Rewrote thevaluesection tocompare againstcover theserver name as expressedgeneral issues and considerations involved inthe server's certificate. A hostname derived from the user input isselecting TLS ciphersuites. G.30 Update to Appendix A, Example Deployment Scenarios This section needs to beconsidered provided by the user only if derivedupdated to indicate which security mechanisms and/or combinations of security mechanisms described elsewhere ina secure fashion (e.g., DNSSEC)." G.26. Server Identity Check using servers located via SRV records Section 4.1.6: What should be done iftheserver was found using SRV records based ondocument can provide the"locate" draft/RFC? (Source: Tim Hahn). Status: Resolved. Section 5types ofdraft-ietf-ldapext-locate-08 specifically calls out how the server identity should be performed if theprotections suggested in this appendix. G.31 Use of PLAIN SASL Mechanism At least one LDAP serveris located usingimplementer has found themethod definedSASL "PLAIN" mechanism useful in authenticating to legacy systems thatdraft. This is the right location for this information, and the coveragedo not represent authentication identities as DNs. Section 3.3.1 appears tobe adequate. G.27 Inconsistency in effect of TLS closure on LDAP association. Section 4.4.1 of authmeth -03 (section 4.1implicitly disallow the use ofRFC2830) states that TLS closure alert will leavetheLDAP association intact. Contrast thisSASL "PLAIN" mechanism withSection 4.5.2 (section 5.2 of RFC2830) that says thatLDAP. Should we allow theclosureuse ofthe TLS connectionthis mechanism? I.e. is this "SASL" "PLAIN" MUSTcause the LDAP association to move to an anonymous authentication. Status: Resolved. (11/12/02) ThisNOT be used with LDAP, or isactually a [Protocol] issue becauseit simply that LDAP doesn't define bindings for thesesections have now been moved to [Protocol] -11. I have proposedmechanism. If SASL "PLAIN" is allowed, the followingtext for Section 4.4.1adjustments will be needed to section 3.3.1: (a) change section heading, (b) remove reference to "PLAIN" in the section, (c) ensure wording of[AuthMeth] -03 (section 4.13.3.1last sentence regarding non-DN AuthZIDs is consistent with rest of[Protocol])the section. Status: Resolved. (6/28/03): email toresolve this apparent discrepancy: "EitherWG list stating issue and asking if we should remove theclient or server MAY terminatereference to SASL "PLAIN". For -07 draft I've generalized theTLS connectionSASL profile in section 3.3 to allow any SASL mechanism. G.32 Clarification onan LDAP association by sending a TLS closure alert. The LDAP connection remains open for further communication after TLS closureuse of SASL mechanisms Section 3.3.1: BTW, what _are_ the "ANONYMOUS" and "PLAIN" SASL mechanisms? They are not defined in RFC2222. If you refer to other Harrison ExpiresAprilJune 2004 [Page47]49] Internet-Draft LDAP Authentication Methods7 October5 December 2003occurs although the authentication stateSASL mechanisms than those in rfc2222, Maybe you should only list which mechanisms _are_used, instead of which ones are _not. (Source: Hallvard Furuseth) I (Kurt Zeilenga) note[s] as well that theLDAP connection is affected (see [AuthMeth]ANONYMOUS/PLAIN section4.2.2). (11/21/02): resolution to this is expected(4.2) should be deleted. ANONYMOUS and PLAIN, like in[Protocol] -12 (06/28/03): [Protocol]-15 clarifies that a TLS closure alert terminates the TLS connection while leaving the LDAP connection intact. The authentication state tableother mechanism, can be used in[AuthMeth] specifies the effect on theLDAPassociation. G.28 Ordering of external sources of authorization identities Section 4.3.2 impliesif a) supported and b) enabled. I note thatexternal sources of authorization identities other than TLSthey each offer capabilities not found in their simple bind equivalents (and hence arepermitted. Whatused in some deployments). For example, PLAIN (over TLS) isthe behaviorquite useful whentwo external sources ofinteracting with legacy authenticationcredentials are available (e.g. TLS and IPsec are both present (is this possible?)) and a SASL EXTERNAL Bind operation is performed?subsystems. (Source: Kurt Zeilenga) Status:resolved. 11/20/02: Resolved by Section 4.2 of [SASL] which states thatResolved. For -07 draft I've generalized thedecisionSASL profile in section 3.3 to allowor disallow the asserted identity isany SASL mechanism. G.33 Clarification on use of password protection based on AuthZID form Section 3.3.1: "If animplementation defined policy. G.29 Rewriteauthorization identity ofSection 9, TLS Ciphersuites This section contains anachronistic references and needs to be updated/rewritten inawayform different from a DN is requested by the client, a mechanism thatprovides useful guidance for future readersprotects the password ina waytransit SHOULD be used." What has thatwill transcendto do with DNs? A mechanism that protects thepassage of time.password in transit should be used in any case, shouldn't it? Status: Resolved.(6/28/03): Rewrote the section to cover theIn -08 draft this text was removed. There is already a generalissues and considerations involvedsecurity consideration that covers this issue. G.34 Clarification on use of matching rules in Server Identity Check The text inselecting TLS ciphersuites. G.30 Update to Appendix A, Example Deployment Scenarios Thissectionneeds4.1.6 isn't explicit on whether all rules apply to both CN and dNSName values. The text should beupdatedclear as toindicatewhichsecurityrules apply to which values.... in particular, the wildcard rules. (Source: Kurt Zeilenga) G.35 Requested Additions to Security Considerations Requested to mention hostile servers which the user might have been fooled to into contacting. Which mechanismsand/or combinationsthat are standardized by the LDAP standard do/do not disclose the user's password to the server? (Or to servers doing man-in-the-middle attack? Or is that a stupid question?) Requested to mention denial ofsecurity mechanisms described elsewhere inservice attacks. Requested list of methods that need/don't need thedocument can provideserver to know thetypesuser's plaintext password. (I say 'know' instead ofprotections suggested'store' Harrison Expires June 2004 [Page 50] Internet-Draft LDAP Authentication Methods 5 December 2003 because it could still store the password encrypted, but inthis appendix. G.31 Usea way which it knows how to decrypt.) (Source: Hallvard Furuseth) G.36 Add reference to definition ofPLAIN SASL Mechanism At least one LDAP server implementer has foundDIGEST-MD5 Need a reference to the definition of DIGEST-MD5 SASL"PLAIN"mechanismusefulinauthenticatingsection 7.2 (Source: Hallvard Furuseth) Status: Resolved. A reference tolegacy systems that do not represent authentication identities as DNs. Section 3.3.1 appearstoimplicitly disallow the use ofthe DIGEST-MD5 SASL"PLAIN" mechanismmechanism, [DigestAuth], is included in the -07 revision. G.37 Clarification on procedure for certificate-based authentication 8.1. Certificate-based authentication withLDAP. Should we allowTLS states: "Following theusesuccessful completion ofthis mechanism? I.e. is this "SASL" "PLAIN" MUST NOT be used with LDAP, or is it simply thatTLS negotiation, the client will send an LDAPdoesn't define bindings for these mechanism. Ifbind request with the SASL"PLAIN" is allowed,"EXTERNAL" mechanism." Is this immediately following, or just some time later? Should thefollowing adjustmentswording, "the client willbe needed to section 3.3.1: (a) change section heading, (b) remove reference to "PLAIN" in the section, (c) ensure wording of last sentence regarding non-DN AuthZIDs is consistent with restsend..." actually read, "the client MUST send..."? G.38 Effect of Start TLS on authentication state Should thesection. Harrison Expires April 2004 [Page 48] Internet-Draft LDAP Authentication Methods 7 October 2003 Status: Resolved. (6/28/03): emailserver drop all knowledge of connection, i.e. return toWG list stating issueanonymous state, if it gets a Start TLS request on a connection that has successfully bound using the simple method? G.39 Be sure that there is a consideration in [SCHEMA] that discusses multiple password values in userPassword Allowing multiple values obviously does raise a number of security considerations andasking if we should removethese need to be discussed in thereferencedocument. Certainly applications which intend toSASL "PLAIN". For -07 draft I've generalizedreplace theSASL profile in section 3.3userPassword with new value(s) should use modify/replaceValues (or modify/deleteAttribute+addAttribute). Additionally, server implementations should be encouraged toallow any SASL mechanism. G.32 Clarificationprovide administrative controls which, if enabled, restrict userPassword to one value. G.40. Clarify need to verify mapping between authentication identity and resulting authorization identity onuseimplicit assertion ofSASL mechanisms Section 3.3.1: BTW, what _are_AuthZID. 4.2.2.3. Error Conditions "For either form of assertion, the"ANONYMOUS" and "PLAIN" SASL mechanisms? They are not definedserver MUST verify that the client's authentication identity as supplied inRFC2222. If you referits TLS credentials is permitted to be mapped toother SASL mechanisms than those in rfc2222, Maybe you should only list which mechanisms _are_used, instead of which ones are _not. (Source: Hallvard Furuseth) I (Kurt Zeilenga) note[s] as well thattheANONYMOUS/PLAIN section (4.2) shouldasserted authorization identity." This makes sense for the explicit assertion case, but seems to bedeleted. ANONYMOUS and PLAIN, like in other mechanism,ambiguous for the implicit case. IMHO, the mapping can beused indone as two steps: a). deriving LDAPif a) supported and b) enabled. I note that they each offer capabilities not found in their simple bind equivalents (and hence are used in some deployments). For example, PLAIN (over TLS) is quite useful when interacting with legacyauthenticationsubsystems. (Source: Kurt Zeilenga) Status: Resolved. For -07 draft I've generalizedidentity from TLS credentials; If t this steps fails, EXTERNAL mechanism returns failure. Harrison Expires June 2004 [Page 51] Internet-Draft LDAP Authentication Methods 5 December 2003 b). verify that theSASL profile in section 3.3 to allow any SASL mechanism. G.33 Clarification on use of password protection based on AuthZID form Section 3.3.1: "If anauthorization identityof a form different from a DNisrequested byallowed for theclient, a mechanism that protectsderived authentication identity. This is always "noop" for thepassword in transit SHOULD be used." What has that to do with DNs? A mechanismimplicit case. I am not sure thatprotectsthepassword in transit should be used in any case, shouldn't it? G.34 Clarification on use of matching rules in Server Identity Check Thetext is saying this. (Source: Alexey Melnikov email 8/1/2003 5:30:43 PM) Status: Resolved insection 4.1.6 isn't explicit on whether all rules apply to both CN-07. After reading the comments anddNSName values. Thethe text of the draft, I believe that this should beclear asclarified. The local policy used towhich rules applymap the AuthNID towhich values....the AuthZID inparticular,thewildcard rules. (Source: Kurt Zeilenga) G.35 Requested Additionsimplicit case is sufficient and that no additional verification is useful or needed. This text has been moved toSecurity Considerations Requestedapply only tomention hostile servers whichtheuser might have been fooled to into contacting. Which mechanisms that are standardized by Harrison Expires April 2004 [Page 49] Internet-Draft LDAP Authentication Methods 7 October 2003explicit assertion case. G.41. Section 7.2 contains unnecessary and misleading detail. " I am not sure why this section is required in the document. DIGEST-MD5 is defined in a separate document and there should be nothing magical about its usage in LDAP. If DIGEST-MD5 description creates confusion for LDAPstandard do/do not disclose the user's password toimplementors, let's fix theserver? (OrDIGEST-MD5 document! Also, this section tries toservers doing man-in-the-middle attack? Orredefine DIGEST-MD5 behavior, which isthat a stupid question?) Requested to mention denial of service attacks. Requested list of methods that need/don't needexplicitly prohibited by theserver to knowSASL specification." (Source: Alexey Melnikov: email 8/1/2003 5:30:43 PM) Status: Resolved. After reading theuser's plaintext password. (I say 'know' insteadcomments and the text of'store' because it could still storethepassword encrypted, butdraft plus the related text ina way which it knows how to decrypt.) (Source: Hallvard Furuseth) G.36 Add referencedraft-ietf-sasl-rfc2831bis-02.txt plus http://www.ietf.org/internet-drafts/draft-ietf-sasl-rfc2222bis- 02.txt, I am inclined todefinition of DIGEST-MD5 Need a referenceagree with Alexey. In -07 I rewrote section 3.3 (SASL mechanisms) to match thedefinition of DIGEST-MD5 SASL mechanismprofiling requirements rfc2831bis. I then dramatically reduced the material in section 7.2(Source: Hallvard Furuseth) Status: Resolved. A referenceto a bare minimum and let the SASL profile stand on its own. G.42. Does change for G.41 cause interoperability issue? There is one issue with the way the authmeth draft is currently written that changes the SASL DIGEST-MD5 behavior on the way the server responds with the subsequent authentication information . This has been documented in this fashion since RFC 2829 (section 6.1) was originally published and may cause an interoperability issue at this point if it changed to follow the DIGEST-MD5SASL mechanism, [DigestAuth], is includedspec (as it was inthe-07revision. G.37 Clarification on procedure for certificate-based authentication 8.1. Certificate-based authentication with TLS states: "Following the successful completionofTLS negotiation, the client will send an LDAP bind request with the SASL "EXTERNAL" mechanism." IsAuthMeth). Take thisimmediately following, or just some time later? Shouldissue to thewording, "the client will send..." actually read, "the client MUST send..."? G.38 Effect of StartTLSlist. Status: Resolved (10/08/03) This item was discussed onauthentication state Shouldtheserver drop all knowledge of connection, i.e. returnWG list between 5/2/03 and 5/9/03. Consensus apppears toanonymous state, if it gets a StartTLS request on a connection that has successfully bound usingsupport thesimple method? G.39 Be surenotion thatthere is a considerationRFC 2829 was in[SCHEMA]error and thatdiscusses multiple password values in userPassword Allowing multiple values obviously does raise a numberthe semantics ofsecurity considerationsRFC 2831 are correct andthese need toshould bediscussedreflected in authmeth. This is already thedocument. Certainly applications which intend to replacecase as of theuserPassword with new value(s) should use modify/replaceValues (or modify/deleteAttribute+addAttribute). Additionally, server implementations should be encouraged to-07 draft. G.43. DIGEST-MD5 Realms recommendations for LDAP Harrison Expires June 2004 [Page 52] Internet-Draft LDAP Authentication Methods 5 December 2003 From http://www.ietf.org/internet-drafts/draft-ietf-sasl-rfc2222bis- 02.txt: A protocol profile SHOULD provideadministrative controls which, if enabled, restrict userPassword to one value. G.40. Clarify needa guidance how realms are toverify mapping between authentication identitybe constructed andresulting authorization identity on implicit assertion of AuthZID. 4.2.2.3. Error Conditions "For either form of assertion,used in theserver MUST verifyprotocol and MAY further restrict its syntax and protocol-specific semantics." I don't believe that any such guidance exists within theHarrison Expires April 2004 [Page 50] Internet-DraftLDAPAuthentication Methods 7 October 2003 client's authentication identity as supplied in its TLS credentials is permitted to be mappedTS. The most likely place for this to reside is in theasserted authorization identity." This makes sense forauthmeth draft. Related email from Alexey Melnikov (8/4/2003 1:08:40 PM): "The problem I have with theexplicit assertion case, but seems todocument is that it references realm without explaining what it is (or at least some examples of valid values). For LDAP, some recommendations should beambiguous forgiven. For example: 1). Use a hardcoded string as theimplicit case. IMHO,realm (one of themappingimplementations I worked on was doing that) 2). Use hostname (realm==host) or domain/cluster name (realm includes multiple hosts). 3). Use a node in DIT above user entry, for example for "cn=Barbara Jensen, ou=Accounting, o=Ace Industry, c=US" and "cn=John Doe, ou=Accounting, o=Ace Industry, c=US" realm can bedone as two steps: a). deriving LDAP authentication identity from TLS credentials; If t this steps fails, EXTERNAL mechanism returns failure. b). verify that the authorization identity is allowed"ou=Accounting, o=Ace Industry, c=US" (or "o=Ace Industry, c=US"); forthe derived authentication identity. This is always "noop""cn=Gern Jensen, ou=Product Testing,o=Ace Industry, c=US" realm can be "ou=Product Testing, o=Ace Industry, c=US". Of course other choices are possible. Alexey To summarize: I'd like authmeth to define a realm name forthe implicit case. I am not sureuse with Digest-MD5 thatthe textcorresponds to LDAP DNs known to this server. Authzid issaying this. (Source: Alexey Melnikov email 8/1/2003 5:30:43 PM)okay, but perhaps could be better put into context. John McMeeking (5/12/2003) Status:Resolved in -07. After reading the comments and the text of the draft, I believe thatResolved. draft-ietf-sasl-rfc2222bis-03.txt no longer requires thisshould be clarified. The local policy used to map the AuthNID to the AuthZIDinformation in a SASL protocol. In addition, theimplicit case is sufficient and that no additional verification is useful or needed. This text has been movedldapbis WG chairs have ruled this work out of scope. Individuals are welcome toapply onlymake submissions to provide guidance on theexplicit assertion case. G.41. Section 7.2 contains unnecessaryuse of realm andmisleading detail. " I am not sure why this section is requiredrealm values inthe document. DIGEST-MD5 is definedLDAP. G.44. Use of DNs ina separate documentusernames andthere should be nothing magical about its usagerealms inLDAP. IfDIGEST-MD5description creates confusion for LDAP implementors, let's fixIn reading theDIGEST-MD5 document! Also, this section tries to redefine DIGEST-MD5 behavior, which is explicitly prohibited bydiscussion on theSASL specification." (Source: Alexey Melnikov: email 8/1/2003 5:30:43 PM) Status: Resolved. After readingmailing list, I reach thecommentsfollowing conclusions: DIGEST-MD5 username andthe textrealm are simple strings. The syntax of these strings allows strings that look like DNs in form, however, DIGEST-MD5 treats them a simple strings for comparision purposes. For example, thedraft plus the related textDNs cn=roger, o=US and cn=roger,o=us are equivalent Harrison Expires June 2004 [Page 53] Internet-Draft LDAP Authentication Methods 5 December 2003 when being compared semantically as DNs, however, these would be considered two different username values indraft-ietf-sasl-rfc2831bis-02.txt plus http://www.ietf.org/internet-drafts/draft-ietf-sasl-rfc2222bis- 02.txt, I am inclinedDIGEST-MD5 because simple octet-wise semantics (rather than DN semantics) are used toagree with Alexey.compare username values in DIGEST-MD5. Ditto for realm values. Status: Resolved. In -07 revision Irewrote section 3.3 (SASL mechanisms)added notes tomatch the profiling requirements rfc2831bis. I then dramatically reduced the materialimplementors expressing this issue in section7.27.2. G.45: Open Issue: Is Simple+TLS mandatory toa bare minimumimplement? Going forward, it would be much better to clarify that simple +TLS is to be used for DN/password credentials andlet the SASL profile stand on its own. G.42. Does changeDIGEST-MD5 (or PLAIN+TLS) be used forG.41 cause interoperability issue? There is one issue with the way the authmeth draft is currently written that changesusername/password credentials. (Kurt Zeilenga, 5/12/2003) I don't believe you can mandate simple/TLS! At theSASL DIGEST-MD5 behaviortime RFC 2829 was debated, a large number on the WG wanted this. They did not get their way because of theserver responds withcomplexity of thesubsequent authentication information .solution. It was argued that a password-based method would be better. I think they believed it would still be DN/password, though. (Ron Ramsay, 5/12/2003) Thishas been documented in this fashion since RFC 2829 (section 6.1)wasoriginally published and may causeofficially opened as aninteroperabilityissueat this point if it changed to follow the DIGEST-MD5 spec (as it was in -07by WG co-chair Kurt Zeilenga on 5/12/03. Little direct discussion has occurred since, however there has been significant discussion on the use ofAuthMeth). Take this issue toDN values as thelist.username for DIGEST-MD5. Status:Resolved Harrison Expires April 2004 [Page 51] Internet-Draft LDAP Authentication Methods 7 October 2003 (10/08/03) This item was discussedResolved. Based ontheWG listbetween 5/2/03 and 5/9/03. Consensus apppears to support the notion that RFC 2829 was in error and that the semanticsdiscussion, Kurt Zeilenga has gaged a lack ofRFC 2831 are correct andWG consensus that Simple+TLS should bereflected in authmeth. This is already the case as of the -07 draft. G.43. DIGEST-MD5 Realms recommendations for LDAP From http://www.ietf.org/internet-drafts/draft-ietf-sasl-rfc2222bis- 02.txt: A protocol profile SHOULD provide a guidance how realms aremandatory tobe constructed and used in the protocol and MAYimplement. No furtherrestrict its syntax and protocol-specific semantics." I don't believe that any such guidance exists within the LDAP TS. The most likely place for this to residediscussion isin the authmeth draft. Related email from Alexey Melnikov (8/4/2003 1:08:40 PM): "The problem I have withnecessary. Intellectual Property Rights The IETF takes no position regarding thedocument is that it references realm without explaining what it is (or at least some examplesvalidity or scope ofvalid values). For LDAP, some recommendations shouldany intellectual property or other rights that might begiven. For example: 1). Use a hardcoded string asclaimed to pertain to therealm (oneimplementation or use of theimplementations I worked on was doing that) 2). Use hostname (realm==host)technology described in this document ordomain/cluster name (realm includes multiple hosts). 3). Use a nodethe extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on the IETF's procedures with respect to rights inDIT above user entry, for example for "cn=Barbara Jensen, ou=Accounting, o=Ace Industry, c=US"standards-track and"cn=John Doe, ou=Accounting, o=Ace Industry, c=US" realmstandards-related documentation can be"ou=Accounting, o=Ace Industry, c=US" (or "o=Ace Industry, c=US");found in BCP-11. Copies of claims of rights made available for"cn=Gern Jensen, ou=Product Testing,o=Ace Industry, c=US" realm canpublication and any assurances of licenses to be"ou=Product Testing, o=Ace Industry, c=US". Of course other choices are possible. Alexey To summarize: I'd like authmethmade available, or the result of an attempt made todefineobtain arealm namegeneral license or permission for the usewith Digest-MD5 that corresponds to LDAP DNs known toof such proprietary rights by implementors or users of thisserver. Authzid is okay, but perhaps couldspecification can bebetter put into context. John McMeeking (5/12/2003) G.44. Use of DNs in usernames and realms in DIGEST-MD5 In reading the discussion on the mailing list, I reachobtained from thefollowing conclusions: DIGEST-MD5 username and realm are simple strings.IETF Secretariat. Thesyntax of these strings allows stringsIETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights which may cover technology thatlook like DNs in form, however, DIGEST-MD5 treats them a simple strings for comparision purposes. For example, the DNs cn=roger, o=US and cn=roger,o=us are equivalentmay be required to practice Harrison ExpiresAprilJune 2004 [Page52] Internet-Draft LDAP Authentication Methods 7 October 2003 when being compared semantically as DNs, however, these would be considered two different username values in DIGEST-MD5 because simple octet-wise semantics (rather than DN semantics) are used to compare username values in DIGEST-MD5. Ditto for realm values. Status: Resolved. In -07 revision I added notes to implementors expressing54] Internet-Draft LDAP Authentication Methods 5 December 2003 thisissue in section 7.2. G.45: Open Issue: Is Simple+TLS mandatorystandard. Please address the information toimplement? Going forward,the IETF Executive Director. Full Copyright Copyright (C) The Internet Society (2003). All Rights Reserved. This document and translations of itwouldmay bemuch bettercopied and furnished toclarifyothers, and derivative works thatsimple +TLS is tocomment on or otherwise explain it or assist in its implementation may beused for DN/password credentialsprepared, copied, published andDIGEST-MD5 (or PLAIN+TLS) be used for username/password credentials. (Kurt Zeilenga, 5/12/2003) I don't believe you can mandate simple/TLS! Atdistributed, in whole or in part, without restriction of any kind, provided that thetime RFC 2829 was debated, a large numberabove copyright notice and this paragraph are included onthe WG wanted this. They didall such copies and derivative works. However, this document itself may notget their way because of the complexity of the solution. It was argued that a password-based method would be better. I think they believed it would stillbeDN/password, though. (Ron Ramsay, 5/12/2003) This was officially openedmodified in any way, such asan issuebyWG co-chair Kurt Zeilenga on 5/12/03. Little direct discussion has occurred since, however there has been significant discussion onremoving theuse of DN valuescopyright notice or references to the Internet Society or other Internet organizations, except as needed for theusernamepurpose of developing Internet standards in which case the procedures forDIGEST-MD5.copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English. Harrison ExpiresAprilJune 2004 [Page53]55] ----