switch to getarg directly
[heimdal.git] / doc / standardisation / draft-ietf-kitten-gssapi-domain-based-names-01.txt
blob50cd5b9d9cad3821624c6b7c61cf54c1e776491e
4 NETWORK WORKING GROUP                                        N. Williams
5 Internet-Draft                                                       Sun
6 Expires: April 19, 2006                                 October 16, 2005
9             GSS-API Domain-Based Service Names and Name Type
10            draft-ietf-kitten-gssapi-domain-based-names-01.txt
12 Status of this Memo
14    By submitting this Internet-Draft, each author represents that any
15    applicable patent or other IPR claims of which he or she is aware
16    have been or will be disclosed, and any of which he or she becomes
17    aware will be disclosed, in accordance with Section 6 of BCP 79.
19    Internet-Drafts are working documents of the Internet Engineering
20    Task Force (IETF), its areas, and its working groups.  Note that
21    other groups may also distribute working documents as Internet-
22    Drafts.
24    Internet-Drafts are draft documents valid for a maximum of six months
25    and may be updated, replaced, or obsoleted by other documents at any
26    time.  It is inappropriate to use Internet-Drafts as reference
27    material or to cite them other than as "work in progress."
29    The list of current Internet-Drafts can be accessed at
30    http://www.ietf.org/ietf/1id-abstracts.txt.
32    The list of Internet-Draft Shadow Directories can be accessed at
33    http://www.ietf.org/shadow.html.
35    This Internet-Draft will expire on April 19, 2006.
37 Copyright Notice
39    Copyright (C) The Internet Society (2005).
41 Abstract
43    This document describes domainname-based service principal names and
44    the corresponding name type for the Generic Security Service
45    Application Programming Interface (GSS-API).
47    Domain-based service names are similar to host-based service names,
48    but using a domain name (not necessarily and Internat domain name)
49    instead of or in addition to a hostname.  The primary purpose of
50    domain-based service names is to provide a way to name clustered
51    services after the domain which they service, thereby allowing their
55 Williams                 Expires April 19, 2006                 [Page 1]
57 Internet-Draft           GSS Domain Based Names             October 2005
60    clients to authorize the service's servers based on authentication of
61    their names.
64 Table of Contents
66    1.    Conventions used in this document  . . . . . . . . . . . . .  3
67    2.    Introduction . . . . . . . . . . . . . . . . . . . . . . . .  4
68    3.    Name Type OID and Symbolic Name  . . . . . . . . . . . . . .  5
69    4.    Query and Display Syntaxes . . . . . . . . . . . . . . . . .  6
70    5.    Examples . . . . . . . . . . . . . . . . . . . . . . . . . .  7
71    6.    Security Considerations  . . . . . . . . . . . . . . . . . .  8
72    7.    References . . . . . . . . . . . . . . . . . . . . . . . . .  9
73    7.1.  Normative  . . . . . . . . . . . . . . . . . . . . . . . . .  9
74    7.2.  Informative  . . . . . . . . . . . . . . . . . . . . . . . .  9
75          Author's Address . . . . . . . . . . . . . . . . . . . . . . 10
76          Intellectual Property and Copyright Statements . . . . . . . 11
111 Williams                 Expires April 19, 2006                 [Page 2]
113 Internet-Draft           GSS Domain Based Names             October 2005
116 1.  Conventions used in this document
118    The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
119    "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
120    document are to be interpreted as described in [RFC2119].
167 Williams                 Expires April 19, 2006                 [Page 3]
169 Internet-Draft           GSS Domain Based Names             October 2005
172 2.  Introduction
174    The use of hostbased principal names for domain-wide services
175    presents the problem of how to distinguish between an instance of a
176    hostbased service that is authorized to respond for a domain and one
177    that isn't.
179    Consider LDAP.  LDAP [RFC3377] with SASL [RFC2222] and the Kerberos V
180    mechanism [RFC1964] for the GSS-API [RFC2743] uses a hostbased
181    principal with a service name of "ldap", a reasonable approach,
182    provided there is only one logical LDAP directory in a Kerberos
183    realm's domain, and that all ldap servers in that realm serve that
184    one LDAP directory.  If there were other LDAP directories, then
185    clients could not tell which service is authorized to serve which
186    directory, not without assuming a secure method for finding LDAP
187    servers (e.g., DNSSEC).  This is a significant, and oft-unstated
188    restriction on users of LDAP.
190    Domain based names can eliminate this problem by allowing LDAP
191    service names to indicate which LDAP directory they are authorized to
192    serve.
194    A domain-based name consists of three required elements:
196    o  a service name
198    o  a domain name
200    o  a hostname
223 Williams                 Expires April 19, 2006                 [Page 4]
225 Internet-Draft           GSS Domain Based Names             October 2005
228 3.  Name Type OID and Symbolic Name
230    The new name type has an OID of
232       [NOTE: OID assignment to be made with IANA.]
234       {iso(1) org(3) dod(6) internet(1) security(5) nametypes(6) gss-
235       domain-based(5)}
237    The recommended symbolic name for this GSS-API name type is
238    "GSS_C_NT_DOMAINBASED_SERVICE".
279 Williams                 Expires April 19, 2006                 [Page 5]
281 Internet-Draft           GSS Domain Based Names             October 2005
284 4.  Query and Display Syntaxes
286    There is a single name syntax for domain-based names.
288    The syntax is:
290       domain-based-name :=
292          | <service> '@' <domain> '@' <hostname>
294    Note that for Internet domain names the trailing '.' is not and MUST
295    NOT be included in the domain name (or hostname) parts of the display
296    form GSS-API domain-based MNs.
335 Williams                 Expires April 19, 2006                 [Page 6]
337 Internet-Draft           GSS Domain Based Names             October 2005
340 5.  Examples
342    o  ldap@example.tld@ds1.example.tld
344    o  kadmin@example.tld@kdc1.example.tld
391 Williams                 Expires April 19, 2006                 [Page 7]
393 Internet-Draft           GSS Domain Based Names             October 2005
396 6.  Security Considerations
398    Use of GSS-API domain-based names may not be negotiable by some GSS-
399    API mechanisms, and some acceptors may not support GSS-API domain-
400    based names.  In such cases initiators are left to fallback on the
401    use of hostbased names, in which case the initiators MUST also verify
402    that the acceptor's hostbased name is authorized to provide the given
403    service for the domain that the initiator had wanted.
405    The above security consideration also applies to all GSS-API
406    initiators who lack support for domain-based service names.
447 Williams                 Expires April 19, 2006                 [Page 8]
449 Internet-Draft           GSS Domain Based Names             October 2005
452 7.  References
454 7.1.  Normative
456    [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
457               Requirement Levels", BCP 14, RFC 2119, March 1997.
459    [RFC2743]  Linn, J., "Generic Security Service Application Program
460               Interface Version 2, Update 1", RFC 2743, January 2000.
462 7.2.  Informative
464    [RFC1964]  Linn, J., "The Kerberos Version 5 GSS-API Mechanism",
465               RFC 1964, June 1996.
467    [RFC2222]  Myers, J., "Simple Authentication and Security Layer
468               (SASL)", RFC 2222, October 1997.
470    [RFC3377]  Hodges, J. and R. Morgan, "Lightweight Directory Access
471               Protocol (v3): Technical Specification", RFC 3377,
472               September 2002.
503 Williams                 Expires April 19, 2006                 [Page 9]
505 Internet-Draft           GSS Domain Based Names             October 2005
508 Author's Address
510    Nicolas Williams
511    Sun Microsystems
512    5300 Riata Trace Ct
513    Austin, TX  78727
514    US
516    Email: Nicolas.Williams@sun.com
559 Williams                 Expires April 19, 2006                [Page 10]
561 Internet-Draft           GSS Domain Based Names             October 2005
564 Intellectual Property Statement
566    The IETF takes no position regarding the validity or scope of any
567    Intellectual Property Rights or other rights that might be claimed to
568    pertain to the implementation or use of the technology described in
569    this document or the extent to which any license under such rights
570    might or might not be available; nor does it represent that it has
571    made any independent effort to identify any such rights.  Information
572    on the procedures with respect to rights in RFC documents can be
573    found in BCP 78 and BCP 79.
575    Copies of IPR disclosures made to the IETF Secretariat and any
576    assurances of licenses to be made available, or the result of an
577    attempt made to obtain a general license or permission for the use of
578    such proprietary rights by implementers or users of this
579    specification can be obtained from the IETF on-line IPR repository at
580    http://www.ietf.org/ipr.
582    The IETF invites any interested party to bring to its attention any
583    copyrights, patents or patent applications, or other proprietary
584    rights that may cover technology that may be required to implement
585    this standard.  Please address the information to the IETF at
586    ietf-ipr@ietf.org.
589 Disclaimer of Validity
591    This document and the information contained herein are provided on an
592    "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
593    OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
594    ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
595    INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
596    INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
597    WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
600 Copyright Statement
602    Copyright (C) The Internet Society (2005).  This document is subject
603    to the rights, licenses and restrictions contained in BCP 78, and
604    except as set forth therein, the authors retain all their rights.
607 Acknowledgment
609    Funding for the RFC Editor function is currently provided by the
610    Internet Society.
615 Williams                 Expires April 19, 2006                [Page 11]