%ents; ]>
Use of Domain-Based Service Names in XMPP SASL Negotiation This specification defines a method by which a connection manager associated with an XMPP server can inform a connecting client about its domain-based service name. &LEGALNOTICE; 0233 Experimental Standards Track Standards Council XMPP Core draft-ietf-kitten-gssapi-domain-based-names draft-ietf-kitten-krb5-gssapi-domain-based-names NOT YET ASSIGNED &linuxwolf; &stpeter; &hildjj; 0.1 2008-01-30 psa

Initial published version.

0.0.2 2007-12-11 mm/psa

Corrected syntax.

0.0.1 2007-12-05 mm/psa

First draft.

In certain kinds of XMPP deployments, multiple connection managers associated with the XMPP server may be used to handle requests from connecting clients. When such an architecture is used in environments that make use of Kerberos V and negotiation of Simple Authentication and Security Layer (SASL) over XMPP, the connection manager may need to give the client additional information about its principal so that the client can obtain a proper ticket for authentication.

This scenario was not addressed in &rfc3920;. However, the problem can now be solved using the concept of domain-based service names as described in &kittenspn;. In particular, because XMPP servers typically use the Kerberos V5 ("GSSAPI") SASL mechanism as described in &rfc4752;, they can communicate domain-based names as Kerberos V service principal names as described in &kittenspnkrb5;.

Therefore this document defines a method for communication of Kerberos V domain-based service names in the context of SASL negotiation by XMPP entities.

When a connection manager associated with an XMPP server needs to communicate additional information about its service principal name to a connecting client, it can do so by including a child element of the <mechanisms/> element during SASL negotation, as specified in &rfc3920bis;. In the case of the Kerberos V SASL mechanism, the child element is a <hostname/> element qualified by the 'urn:xmpp:tmp:domain-based-name' namespace &NSNOTE;. The <hostname/> element MUST include a 'mechanism' attribute, where the value MUST be "GSSAPI". The XML character data of the <hostname/> element shall specify the fully-qualified name of the connection manager (known as the hostname). The client then generates a domain-based service name from the provided hostname, following the format specified in draft-ietf-kitten-krb5-gssapi-domain-based-names (i.e., "protocol/hostname/domainname@REALM"):

Consider the example of an XMPP service whose canonical name is "example.com". A user may in fact connect to the physical machine "cm7.us.example.com". The hostname would be communicated as follows.

GSSAPI DIGEST-MD5 cm7.us.example.com ]]>

The client would then attempt to obtain a ticket for the domain-based principal "xmpp/cm7.us.example.com/example.com@EXAMPLE.COM".

The communication of hostnames during SASL negotiation is not known to introduce new security vulnerabilities. Communication of hostnames SHOULD NOT occur until after the underlying channel has been secured using Transport Layer Security (TLS; &rfc4346;) as described for XMPP in RFC 3920 and rfc3920bis. For additional security considerations, refer to draft-ietf-kitten-gssapi-domain-based-names and draft-ietf-kitten-krb5-gssapi-domain-based-names.

This document requires no interaction with &IANA;.

Until this specification advances to a status of Draft, its associated namespace shall be "urn:xmpp:tmp:domain-based-name"; upon advancement of this specification, the ®ISTRAR; shall issue a permanent namespace in accordance with the process defined in Section 4 of &xep0053;.

]]>

Thanks to Alexey Melnikov for his comments.