1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
|
<pre>Internet Engineering Task Force (IETF) S. Kille
Request for Comments: 8284 Isode Ltd
Category: Informational November 2017
ISSN: 2070-1721
<span class="h1">Lightweight Directory Access Protocol (LDAP) Schema for Supporting</span>
<span class="h1">the Extensible Messaging and Presence Protocol (XMPP) in White Pages</span>
Abstract
The Extensible Messaging and Presence Protocol (XMPP) identifies
users by use of Jabber IDs (JIDs). The Lightweight Directory Access
Protocol (LDAP) enables provision of a white pages service with a
schema relating to users and support for Internet protocols. This
specification defines a schema to enable XMPP JIDs to be associated
with objects in an LDAP directory so that this information can be
used with white pages applications.
Status of This Memo
This document is not an Internet Standards Track specification; it is
published for informational purposes.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Not all documents
approved by the IESG are a candidate for any level of Internet
Standard; see <a href="./rfc7841#section-2">Section 2 of RFC 7841</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="https://www.rfc-editor.org/info/rfc8284">https://www.rfc-editor.org/info/rfc8284</a>.
<span class="grey">Kille Informational [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc8284">RFC 8284</a> LDAP Schema for XMPP November 2017</span>
Copyright Notice
Copyright (c) 2017 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="https://trustee.ietf.org/license-info">https://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-2">2</a>
<a href="#section-2">2</a>. Conventions Used in This Document . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3">3</a>. Schema Definition . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3.1">3.1</a>. Object Class . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-3.2">3.2</a>. Attribute . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-4">4</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-4">4</a>
<a href="#section-5">5</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-6">6</a>. Normative References . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Extensible Messaging and Presence Protocol (XMPP) [<a href="./rfc6120" title=""Extensible Messaging and Presence Protocol (XMPP): Core"">RFC6120</a>]
identifies users by use of Jabber IDs (JIDs). The Lightweight
Directory Access Protocol (LDAP) [<a href="./rfc4510" title=""Lightweight Directory Access Protocol (LDAP): Technical Specification Road Map"">RFC4510</a>] enables provision of a
white pages service with a schema relating to users and support for
Internet protocols defined in [<a href="./rfc4519" title=""Lightweight Directory Access Protocol (LDAP): Schema for User Applications"">RFC4519</a>]. This specification defines
a schema to enable XMPP JIDs to be associated with LDAP directory
objects so that this information can be used with white pages
applications.
The LDAP schema for storing JIDs is defined to enable JIDs to be
associated with any object stored in the directory. This is done by
associating the new JID Attribute with a new Auxiliary Object Class
called JIDObject.
<span class="grey">Kille Informational [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc8284">RFC 8284</a> LDAP Schema for XMPP November 2017</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Conventions Used in This Document</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in
<a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a> [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>] [<a href="./rfc8174" title=""Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words"">RFC8174</a>] when, and only when, they appear in all
capitals, as shown here.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Schema Definition</span>
This section defines the schema used to store JIDs in the directory.
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Object Class</span>
This section defines a new Auxiliary Object Class called JIDObject,
which MAY be associated with any structural Object Class. This
Object Class is used to augment entries for objects that act or may
act as an XMPP client. The JID attribute is optional in order to
enable configuring an object that is allowed to have an associated
JID but does not currently have one.
( 1.3.6.1.1.23.1 NAME 'JIDObject'
AUXILIARY
MAY jid )
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Attribute</span>
This section defines the JID attribute referenced by the JIDObject
Auxiliary Object Class. The syntax of the JID attribute MUST follow
the rules of [<a href="./rfc7622" title=""Extensible Messaging and Presence Protocol (XMPP): Address Format"">RFC7622</a>]. The JID stored MUST be a bare JID (e.g., a
JID such as romeo@shakespeare.example.com representing a human user)
and not a full JID (e.g., a JID such as
romeo@shakespare.example.com/AABBCC, which represents a specific XMPP
client used by the human user and is identified by the resource
AABBCC). Note that the LDAP directory server is not expected to
enforce this syntax. The syntax rules are for LDAP clients setting
this attribute, noting that human usage is a key target.
Applications using this attribute should format that string in a
manner appropriate to the application, and XMPP applications SHOULD
apply [<a href="./rfc7622" title=""Extensible Messaging and Presence Protocol (XMPP): Address Format"">RFC7622</a>] to the attribute. The directory service doesn't
enforce the JID syntax, and values are compared according to the
matching rules specified in the attribute definition.
Note that for the convenience of users and administrators as well as
implementers, the Directory String syntax and the caseIgnoreMatch
matching rule are chosen to allow entry and matching of values
according to common rules used within the directory. As this syntax
and matching rule differ from [<a href="./rfc7622" title=""Extensible Messaging and Presence Protocol (XMPP): Address Format"">RFC7622</a>], false positives and false
<span class="grey">Kille Informational [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc8284">RFC 8284</a> LDAP Schema for XMPP November 2017</span>
negatives can possibly occur. This is not anticipated to cause
operational issues (based on implementation experience with similar
syntax/matching rule mismatches).
( 1.3.6.1.1.23.2 NAME 'jid'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
1.3.6.1.4.1.1466.115.121.1.15 refers to the Directory String syntax
defined in [<a href="./rfc4517" title=""Lightweight Directory Access Protocol (LDAP): Syntaxes and Matching Rules"">RFC4517</a>].
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. IANA Considerations</span>
The following registrations have been made in the "Lightweight
Directory Access Protocol (LDAP) Parameters" registry
<<a href="https://www.iana.org/assignments/ldap-parameters">https://www.iana.org/assignments/ldap-parameters</a>> in line with
<a href="https://www.rfc-editor.org/bcp/bcp64">BCP 64</a> [<a href="./rfc4520" title=""Internet Assigned Numbers Authority (IANA) Considerations for the Lightweight Directory Access Protocol (LDAP)"">RFC4520</a>].
Object Identifier Registration
An object identifier has been assigned to support the registrations
necessary for this specification by an entry in the Internet
Directory Numbers (iso.org.dod.internet.directory [1.3.6.1.1.])
registry:
Decimal: 23
Name: xmpp
Description: LDAP schema for XMPP
Two object identifiers have been assigned:
'JIDObject' Descriptor Registration
Name: JIDObject
Type: O
OID: 1.3.6.1.1.23.1
'jid' Descriptor Registration
Name: jid
Type: A
OID: 1.3.6.1.1.23.2
<span class="grey">Kille Informational [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc8284">RFC 8284</a> LDAP Schema for XMPP November 2017</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Security Considerations</span>
XMPP JIDs are often personal identifiers enabling electronic
communication and have similar considerations to email addresses.
This schema enables publishing of this information in LDAP
directories, which may be corporate or public services. Care should
be taken to only publish JID information that is acceptable both to
be linked to the LDAP object and to be made accessible to all LDAP
users. The general LDAP security considerations specified in
[<a href="./rfc4510" title=""Lightweight Directory Access Protocol (LDAP): Technical Specification Road Map"">RFC4510</a>] also apply.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="https://www.rfc-editor.org/info/rfc2119">https://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC4510">RFC4510</a>] Zeilenga, K., Ed., "Lightweight Directory Access Protocol
(LDAP): Technical Specification Road Map", <a href="./rfc4510">RFC 4510</a>,
DOI 10.17487/RFC4510, June 2006,
<<a href="https://www.rfc-editor.org/info/rfc4510">https://www.rfc-editor.org/info/rfc4510</a>>.
[<a id="ref-RFC4517">RFC4517</a>] Legg, S., Ed., "Lightweight Directory Access Protocol
(LDAP): Syntaxes and Matching Rules", <a href="./rfc4517">RFC 4517</a>,
DOI 10.17487/RFC4517, June 2006,
<<a href="https://www.rfc-editor.org/info/rfc4517">https://www.rfc-editor.org/info/rfc4517</a>>.
[<a id="ref-RFC4519">RFC4519</a>] Sciberras, A., Ed., "Lightweight Directory Access Protocol
(LDAP): Schema for User Applications", <a href="./rfc4519">RFC 4519</a>,
DOI 10.17487/RFC4519, June 2006,
<<a href="https://www.rfc-editor.org/info/rfc4519">https://www.rfc-editor.org/info/rfc4519</a>>.
[<a id="ref-RFC4520">RFC4520</a>] Zeilenga, K., "Internet Assigned Numbers Authority (IANA)
Considerations for the Lightweight Directory Access
Protocol (LDAP)", <a href="https://www.rfc-editor.org/bcp/bcp64">BCP 64</a>, <a href="./rfc4520">RFC 4520</a>, DOI 10.17487/RFC4520,
June 2006, <<a href="https://www.rfc-editor.org/info/rfc4520">https://www.rfc-editor.org/info/rfc4520</a>>.
[<a id="ref-RFC6120">RFC6120</a>] Saint-Andre, P., "Extensible Messaging and Presence
Protocol (XMPP): Core", <a href="./rfc6120">RFC 6120</a>, DOI 10.17487/RFC6120,
March 2011, <<a href="https://www.rfc-editor.org/info/rfc6120">https://www.rfc-editor.org/info/rfc6120</a>>.
[<a id="ref-RFC7622">RFC7622</a>] Saint-Andre, P., "Extensible Messaging and Presence
Protocol (XMPP): Address Format", <a href="./rfc7622">RFC 7622</a>,
DOI 10.17487/RFC7622, September 2015,
<<a href="https://www.rfc-editor.org/info/rfc7622">https://www.rfc-editor.org/info/rfc7622</a>>.
<span class="grey">Kille Informational [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc8284">RFC 8284</a> LDAP Schema for XMPP November 2017</span>
[<a id="ref-RFC8174">RFC8174</a>] Leiba, B., "Ambiguity of Uppercase vs Lowercase in <a href="./rfc2119">RFC</a>
<a href="./rfc2119">2119</a> Key Words", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc8174">RFC 8174</a>, DOI 10.17487/RFC8174,
May 2017, <<a href="https://www.rfc-editor.org/info/rfc8174">https://www.rfc-editor.org/info/rfc8174</a>>.
Acknowledgements
Thanks to Alexey Melnikov for suggestions on preparing this document.
Thanks to Alan Murdock, Yoav Nir, Peter Saint-Andre, and Kurt
Zeilenga for their review comments.
Author's Address
Steve Kille
Isode Ltd
14 Castle Mews
Hampton, Middlesex TW12 2NP
United Kingdom
Email: Steve.Kille@isode.com
Kille Informational [Page 6]
</pre>
|