home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_ietf_j_p / draft-ietf-mixer-directory-02.txt < prev    next >
Text File  |  1997-07-15  |  16KB  |  519 lines

  1.  
  2.  
  3. Network Working                                             S.E. Kille
  4. Group                                                       Isode Ltd.
  5. INTERNET-DRAFT                                           February 1997
  6. Obsoletes:  RFC 1838                             Expires:  August 1997
  7.                                                                  File:
  8.                                      draft-ietf-mixer-directory-02.txt
  9.  
  10.  
  11.  
  12.  
  13.  
  14.    Use of an X.500/LDAP directory to support MIXER address mapping
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21. Status of this Memo
  22. This document is an Internet Draft.  Internet Drafts are working
  23. documents of the Internet Engineering Task Force (IETF), its Areas,
  24. and its Working Groups.  Note that other groups may also distribute
  25. working documents as Internet Drafts.
  26.  
  27. Internet Drafts are draft documents valid for a maximum of six months.
  28. Internet Drafts may be updated, replaced, or obsoleted by other
  29. documents at any time.  It is not appropriate to use Internet Drafts
  30. as reference material or to cite them other than as a ``working
  31. draft'' or ``work in progress.''
  32. Please check the I-D abstract listing contained in each Internet Draft
  33. directory to learn the current status of this or any other Internet
  34. Draft.
  35. Abstract
  36.  
  37. This document defines how to use an X.500 or LDAP directory to support
  38. the mapping between X.400 OR Addresses and mailboxes defined in MIXER
  39. (RFC 1327bis) [5].
  40. This draft document will be submitted to the RFC editor as a protocol
  41. standard.  Distribution of this memo is unlimited.
  42.  
  43.  
  44.  
  45.  
  46. INTERNET--DRAFT         MIXER use of X.500/LDAP          February 1997
  47.  
  48.  
  49. 1  MIXER X.400/RFC 822 Mappings
  50.  
  51. MIXER (RFC 1327bis) defines an algorithm for use of a set of global
  52. mapping between X.400 and RFC 822 addresses [5].  This specification
  53. defines how to represent and maintain these mappings (MIXER Conformant
  54. Global Address Mappings of MCGAMs) in an X.500 or LDAP directory.
  55. Mechanisms for representing OR Address and Domain hierarchies within
  56. the DIT are defined in [1, 3].  These techniques are used to define
  57. two independent subtrees in the DIT, which contain the mapping
  58. information.  The benefits of this approach are:
  59.  
  60.  
  61. 1.  The mapping information is kept in a clearly defined area which
  62.     can be widely replicated in an efficient manner.  The tree is
  63.     constrained to hold only information needed to support the
  64.     mapping.  This is important as gateways need good access to the
  65.     entire mapping.
  66.  
  67. 2.  It facilitates migration from a table-based approach.
  68.  
  69. 3.  It handles the issues of ``missing components'' in a natural
  70.     manner.
  71.  
  72.        An alternative approach which is not taken is to locate the
  73.     information in the routing subtrees.  The benefits of this
  74.     would be:
  75.  
  76.  
  77.      o  It is the ``natural'' location, and will also help to
  78.         ensure correct administrative authority for a mapping
  79.         definition.
  80.  
  81.      o  The tree will usually be accessed for routing, and so it
  82.         will be efficient for addresses which are being routed.
  83.  
  84.        This is not done, as the benefits of the approach proposed
  85.     are greater.
  86.  
  87. MCGAMs are global.  A MIXER gateway may use any set of MCGAMs.  A key
  88. use of the directory is to enable MIXER gateways to share MCGAMs and
  89. to share the effort of maintaining and publishing MCGAMs.  This
  90. specification and MIXER also recognise that there is not a single
  91. unique location for publication of all MCGAMs.  This specification
  92.  
  93.  
  94. Kille                                   Expires:  August 1997   Page 1
  95.  
  96.  
  97.  
  98.  
  99. INTERNET--DRAFT         MIXER use of X.500/LDAP          February 1997
  100.  
  101.  
  102. allows for multiple sets of MCGAMs to be published.  Each set of
  103. MCGAMs is published under a single part of the directory.
  104. There are four mappings, which are represented by two subtrees located
  105. under any part of the DIT. For the examples the location defined below
  106. is used:
  107.  
  108.  
  109. OU=MIXER MCGAMs, O=Zydeco Plc,  C=GB
  110.  
  111. These subtree roots are of object class subtree, and use the mechanism
  112. for representing subtrees defined in [2].
  113.  
  114.  
  115. X.400 to RFC 822 This table gives the equivalence mapping from X.400
  116.     to RFC 822.  There is an OR Address tree under this.  An example
  117.     entry is:
  118.  
  119.     PRMD=Isode, ADMD=Mailnet, C=FI, CN=X.400 to RFC 822,
  120.     OU=MIXER MCGAMs, O=Zydeco Plc,  C=GB
  121.  
  122.  
  123. RFC 822 to X.400 There is a domain tree under this.  This table holds
  124.     the equivalence mapping from RFC 822 to X.400, and the gateway
  125.     mapping defined in RFC 1327.  An example entry is:
  126.  
  127.     DomainComponent=ISODE, DomainComponent=COM,
  128.     CN=RFC 822 to X.400,
  129.     OU=MIXER MCGAMs, O=Zydeco Plc,  C=GB
  130.  
  131.  
  132.  
  133. The values of the table mapping are defined by use of two new object
  134. classes, as specified in Figure 1.  The objects give pointers to the
  135. mapped components.
  136.  
  137. 2  Omitted Components
  138.  
  139.  
  140. In MIXER, it is possible to have omitted components in OR Addresses on
  141. either side of the mapping.  A mechanism to represent such omitted
  142. components is defined in Figure 2.
  143. The attribute at-or-address-component-type is set to the X.500
  144. attribute type associated with the omitted component (e.g.,
  145.  
  146.  
  147. Kille                                   Expires:  August 1997   Page 2
  148.  
  149.  
  150.  
  151.  
  152. INTERNET--DRAFT         MIXER use of X.500/LDAP          February 1997
  153.  
  154.  
  155.  
  156. _______________________________________________________________________
  157. rFC822ToX400Mapping OBJECT-CLASS ::= {
  158.     SUBCLASS OF {domain-component}
  159.     MAY CONTAIN {
  160.         associatedORAddress|
  161.         associatedX400Gateway}
  162.     ID oc-rfc822-to-x400-mapping}
  163.  
  164. x400ToRFC822Mapping OBJECT-CLASS ::= {
  165.     SUBCLASS OF {top}
  166.     MAY CONTAIN {                                                   10
  167.         associatedDomain|
  168.         associatedInternetGateway}
  169.     ID oc-x400-to-rfc822-mapping}
  170.  
  171. associatedORAddress ATTRIBUTE ::= {
  172.     SUBTYPE OF distinguishedName
  173.     SINGLE VALUE
  174.     ID at-associated-or-address}
  175.  
  176.                                                                     20
  177. associatedX400Gateway ATTRIBUTE ::= {
  178.     SUBTYPE OF mhs-or-addresses
  179.     MULTI VALUE
  180.     ID at-associated-x400-gateway}
  181.  
  182. associatedDomain ATTRIBUTE ::= {
  183.     SUBTYPE OF name
  184.     WITH SYNTAX caseIgnoreIA5String
  185.     SINGLE VALUE
  186.     ID at-associated-domain}                                        30
  187.  
  188. associatedInternetGateway ATTRIBUTE ::= {
  189.     SUBTYPE OF name
  190.     WITH SYNTAX caseIgnoreIA5String
  191.     MULTI VALUE
  192.     ID at-associated-internet-gateway}
  193.  
  194.  
  195. _____________Figure_1:__Object_Classes_for_MIXER_mappings______________
  196.  
  197.  
  198.  
  199.  
  200. Kille                                   Expires:  August 1997   Page 3
  201.  
  202.  
  203.  
  204.  
  205. INTERNET--DRAFT         MIXER use of X.500/LDAP          February 1997
  206.  
  207. _______________________________________________________________________
  208. omittedORAddressComponent OBJECT-CLASS ::=
  209.         SUBCLASS OF {top}
  210.         MUST Contain {
  211.                 oRAddressComponentType
  212.         }
  213.         ID oc-omitted-or-address-component}
  214.  
  215.  
  216. oRAddressComponentType ATTRIBUTE ::= {
  217.         SUBTYPE OF  objectIdentifier                                10
  218.         SINGLE VALUE
  219.         ID at-or-address-component-type}
  220.  
  221. _______________Figure_2:__Omitted_OR_Address_Component_________________
  222.  
  223.  
  224. at-prmd-name).  This mechanism is for use only within the
  225. X.400 to RFC 822 subtree and for the at-associated-or-address
  226. attribute.
  227.  
  228.  
  229. 3  Mapping from X.400 to RFC 822
  230.  
  231. As an example, consider the mapping from the OR Address:
  232.  
  233.  
  234. P=Isode; A=Mailnet; C=FI
  235.  
  236. This would be keyed by the directory entry:
  237.  
  238.  
  239. PRMD=Isode, ADMD=Mailnet, C=FI, CN=X.400 to RFC 822,
  240. OU=MIXER MCGAMs, O=Zydeco Plc,  C=GB
  241.  
  242. and return the mapping from the associatedDomain attribute, which
  243. gives the domain which this OR address maps to.  This attribute is
  244. used to define authoritative mappings, which are placed in the open
  245. community tree.  The manager of an MCGAM shall make the appropriate
  246. entry.
  247.  
  248. The Internet gateway mapping defined in MIXER[5] is provided by the
  249. associatedInternetGateway attribute.  This value may identify multiple
  250. possible associated gateways.  This information is looked up at the
  251. same time as mapped OR addresses.  In effect, this provides a fallback
  252.  
  253. Kille                                   Expires:  August 1997   Page 4
  254.  
  255.  
  256.  
  257.  
  258. INTERNET--DRAFT         MIXER use of X.500/LDAP          February 1997
  259.  
  260.  
  261. mapping, which is found if there is no equivalence mapping.  Because
  262. of the nature of the mapping an OR Address will map to either a
  263. gateway or a domain, but not both.  Thus, there shall never be both an
  264. associatedDomain and associatedInternetGateway attribute present in
  265. the same entry.  Functionally, mapping takes place exactly according
  266. to MIXER. The longest match is found by the following algorithm.
  267.  
  268. 1.  Take the OR Address, and derive a directory name.  This will be
  269.     the OR Address as far as the lowest OU.
  270.  
  271. 2.  Look up the entire name derived from the MIXER key in the in the
  272.     X.400 to RFC 822 subtree.  This lookup will either succeed, or it
  273.     will fail and indicate the longest possible match, which can then
  274.     be looked up.
  275.  
  276. 3.  Check for an associatedDomain or associatedInternetGateway
  277.     attribute in the matched entry.
  278.  
  279.  
  280. The mapping can always be achieved with two lookups.
  281. Because of the availability of aliases, some of the table mappings may
  282. be simplified.  In addition, the directory can support mapping from
  283. addresses using the numeric country codes.
  284.  
  285.  
  286. 4  Mapping from RFC 822 to X.400
  287.  
  288. There is an analogous structure for mappings in the reverse direction.
  289. The domain hierarchy is represented in the DIT according to RFC 1279.
  290. The domain:
  291.  
  292.  
  293. ISODE.COM
  294.  
  295. Is represented in the DIT as:
  296.  
  297.  
  298. DomainComponent=ISODE, DomainComponent=COM,  CN=RFC 822 to X.400,
  299. OU=MIXER MCGAMs, O=Zydeco Plc,  C=GB
  300.  
  301. This has associated with it the attribute associatedORAddress encoded
  302. as a distinguished name with a value:
  303.  
  304.  
  305.  
  306. Kille                                    Expires: August 1997   Page 5
  307.  
  308.  
  309.  
  310.  
  311. INTERNET--DRAFT         MIXER use of X.500/LDAP          February 1997
  312.  
  313.  
  314. PRMD=Isode, ADMD=Mailnet, C=FI
  315.  
  316. The X.400 gateway mapping defined in MIXER[5] is provided by the
  317. associatedX400Gateway attribute.  This value may identify multiple
  318. possible associated gateways.  This information is looked up at the
  319. same time as mapped OR addresses.  In effect, this provides a fallback
  320. mapping, which is found if there is no equivalence mapping.  Because
  321. of the nature of the mapping a domain will map to either a gateway or
  322. a domain, but not both.  Thus, there shall never be both an
  323. associatedX400Gateway and associatedORAddress attribute present in the
  324. same entry.  Functionally, mapping takes place exactly according to
  325. MIXER. The longest match is found by the following algorithm.
  326.  
  327.  
  328. 1.  Derive a directory name from the domain part of the RFC 822
  329.     address.
  330.  
  331. 2.  Look up this name in the RFC 822 to X.400 subtree to find the
  332.     mapped value (either associatedORAddress or
  333.     associatedX400Gateway.).  If the lookup fails, the error will
  334.     indicate the longest match, which can then be looked up.
  335.  
  336. If associatedORAddress is found, this will define the mapped OR
  337. Address.  The mapping can always be achieved with two lookups.  If an
  338. associatedX400Gateway is present, the address in question will be
  339. encoded as a domain defined attribute, relative to the OR Address
  340. defined by this attribute.  If multiple associatedX400Gateway
  341. attributes are found, the MTA may select the one it chooses to use.
  342.  
  343. Because of the availability of aliases, some of the table mappings may
  344. be simplified.  In addition, the directory can support mapping from
  345. addresses using the numeric country codes.
  346.  
  347. 5  Gateway Selection of MCGAMs
  348.  
  349.  
  350. The directory information to support identification of MCGAMs is given
  351. in Figure 3.  A MIXER gateway simply identifies the an ordered lists
  352. of MCGAM collections that it will use for lookup.  These are
  353. referenced by name.
  354. A gateway is not required to use any MCGAMs.  Where MCGAMs are
  355. accessed from multiple sources, it is recommended that all of the
  356. sources be accessed in order to determine the MCGAM which gives the
  357.  
  358.  
  359. Kille                                   Expires:  August 1997   Page 6
  360.  
  361.  
  362.  
  363.  
  364. INTERNET--DRAFT         MIXER use of X.500/LDAP          February 1997
  365.  
  366. _______________________________________________________________________
  367. mixerGateway OBJECT-CLASS ::=
  368.         KIND auxiliary
  369.         SUBCLASS OF {mhs-message-transfer-agent}
  370.         MUST Contain {
  371.                 mcgamTables
  372.         }
  373.         ID oc-mixer-gateway}
  374.  
  375.  
  376. mcgamTables ATTRIBUTE ::= {                                         10
  377.         WITH SYNTAX SEQUENCE OF DistinguishedName
  378.         SINGLE VALUE
  379.         ID at-mcgam-tables}
  380.  
  381. ____________Figure_3:__Object_Classes_for_MCGAM_selection______________
  382.  
  383.  
  384. best match.
  385.  
  386.  
  387. 6  Acknowledgements
  388.  
  389.  
  390. Acknowledgements for work on this document are given in [4].
  391.  
  392. References
  393.  
  394. [1] S.E. Kille. X.500 and domains.  Request for Comments RFC 1279,
  395.     Department of Computer Science, University College London,
  396.     November 1991.
  397.  
  398. [2] S.E. Kille. Representing tables and subtrees in the X.500
  399.     directory. Request for Comments RFC 1837, Isode Ltd., August
  400.     1995.
  401.  
  402. [3] S.E. Kille. Representing the O/R Address hierarchy in the X.500
  403.     directory information tree. Request for Comments RFC 1836, Isode
  404.     Ltd., August 1995.
  405.  
  406. [4] S.E. Kille. X.400-MHS use of the X.500 directory to support
  407.     X.400-MHS routing. Request for Comments RFC 1801, Isode Ltd.,
  408.     June 1995.
  409.  
  410.  
  411.  
  412. Kille                                   Expires:  August 1997   Page 7
  413.  
  414.  
  415.  
  416.  
  417. INTERNET--DRAFT         MIXER use of X.500/LDAP          February 1997
  418.  
  419.  
  420. [5] S.E. Kille. MIXER (Mime Internet X.400 Enhanced Relay):  Mapping
  421.     between X.400 and RFC 822/MIME. Request for Comments RFC 1327bis,
  422.     Isode Ltd., February 1997.
  423.  
  424.  
  425. 7  Security Considerations
  426.  
  427. This document specifies a means by which the X.500/LDAP directory
  428. service can direct the translation between X.400 and Internet mail
  429. addresses.  This can indirectly affect the routing of messages across
  430. a gateway between X.400 and Internet Mail.  A succesful attack on this
  431. service could cause incorrect translation of an originator address
  432. (thus "forging" the originator address), or incorrect translation of a
  433. recipient address (thus directing the mail to an unauthorized
  434. recipient, or making it appear to an authorized recipient, that the
  435. message was intended for recipients other than those chosen by the
  436. originator).
  437. When cryptographic authentication is available for directory
  438. responses, clients shall employ those mechanisms to verify the
  439. authenticity and integrity of those responses.
  440.  
  441.  
  442. 8  Author's Address
  443.  
  444.  
  445.     Steve Kille
  446.     Isode Ltd.
  447.     The Dome
  448.     The Square
  449.     Richmond
  450.     TW9 1DT
  451.     England
  452.  
  453.     Phone:  +44-181-332-9091
  454.  
  455.  
  456.     Internet EMail:  S.Kille@ISODE.COM
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465. Kille                                   Expires:  August 1997   Page 8
  466.  
  467.  
  468.  
  469.  
  470. INTERNET--DRAFT         MIXER use of X.500/LDAP          February 1997
  471.  
  472.  
  473. A  Object Identifier Assignment
  474.  
  475.  
  476. _______________________________________________________________________
  477. mhs-ds OBJECT IDENTIFIER ::= {iso(1) org(3) dod(6) internet(1) private(4)
  478.           enterprises(1) isode-consortium (453) mhs-ds (7)}
  479.  
  480. mapping OBJECT IDENTIFIER ::= {mhs-ds 4}
  481.  
  482. oc OBJECT IDENTIFIER ::= {mapping 1}
  483. at OBJECT IDENTIFIER ::= {mapping 2}
  484.  
  485.  
  486. oc-rfc822-to-x400-mapping OBJECT IDENTIFIER ::= {oc 1}              10
  487. oc-x400-to-rfc822-mapping OBJECT IDENTIFIER ::= {oc 2}
  488. oc-omitted-or-address-component OBJECT IDENTIFIER ::= {oc 3}
  489. oc-mixer-gateway ::= {oc 4}
  490.  
  491. at-associated-or-address OBJECT IDENTIFIER ::= {at 6}
  492. at-associated-x400-gateway OBJECT IDENTIFIER ::= {at 3}
  493. at-associated-domain OBJECT IDENTIFIER ::= {at 4}
  494. at-or-address-component-type OBJECT IDENTIFIER ::= {at 7}
  495. at-associated-internet-gateway OBJECT IDENTIFIER ::= {at 8}
  496. at-mcgam-tables ::= {at 9}                                          20
  497.  
  498.  
  499. _______________Figure_4:__Object_Identifier_Assignment_________________
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518. Kille                                   Expires:  August 1997   Page 9
  519.