Internet-Draft Ryan Moats draft-ietf-lsd-server-finding-00.txt AT&T Expires in six months January 1998 LDAP Servers Finding Other LDAP Servers Filename: draft-ietf-lsd-server-finding-00.txt Status of This Memo This document is an Internet-Draft. 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.'' To learn the current status of any Internet-Draft, please check the ``1id-abstracts.txt'' listing contained in the Internet- Drafts Shadow Directories on ftp.is.co.za (Africa), nic.nordu.net (Europe), munnari.oz.au (Pacific Rim), ds.internic.net (US East Coast), or ftp.isi.edu (US West Coast). Abstract This document discusses methods available for an LDAP server to discover other LDAP servers. It is based on previous and ongoing IETF work. 1. Introduction The Lightweight Directory Access Protocol (LDAP) [1] can be used to build "islands" of servers that are not a priori tied into a single Directory Information Tree (DIT.) Here, it is necessary to determine how an LDAP server can discover the existence of other LDAP servers. This documents discusses the methods available based on current and previous IETF work. Expires 7/31/98 [Page 1] INTERNET DRAFT LDAP Servers Finding Other LDAP Servers January 1998 2. Server Discovery of Other Servers A LDAP server may always hae a list of other servers configured into it by an administrator. Additionally, a LDAP server discovers other LDAP servers by either using a proposed naming scheme and the DNS or by using an additional server to server indexing protocol. Once a server discovers other servers it can collect information for returning LDAP v3 referrals (as LDAP URLs) to clients. 2.1. Discovery via DNS An LDAP server may either be registered using SRV records [2] or, if the server uses the "dc-naming" scheme ([3, 4]), it can attempt to find the server managing its parent node by using DNS to look for the LDAP server for the parent domain. Additionally, an LDAP server may be named using a common alias as described in [5]. In either case, it is necessary to include information about the root of the LDAP server's subtree by using DNS TXT records as discussed in [6]. As an example, consider a server with the RDN "dc=foo,dc=bar,dc=com" (i.e. in domain foo.bar.com). To find its parent server, it would first look for a SRV record for ldap.tcp.bar.com and then follow [5] by looking for ldap.bar.com. If any of these records were found, it would then look for a TXT record for the same domain to determine the root of its parent server's sub-tree. 2.2. Discovery via the Common Indexing Protocol [7, 8] Independent of what DIT is being managed, LDAP servers could export index information about their portion of the tree via the Common Indexing Protocol. This requires some a priori discovery and set up of the index mesh and the inclusion of the root DN of the server's portion of the tree in the exported index information. 3. Security Considerations Since this draft only summarizes available methods, it adds no additional security considerations to those inherent in the referenced documents. Implementors are strongly recommended to read and follow the security considerations provided in the referenced documents. 4. Acknowledgments Many thanks to the members of the LSD working group, for their contributions to previous drafts. The work described in this document is partially supported by the National Science Foundation, Cooperative Agreement NCR-9218179. Expires 7/31/98 [Page 2] INTERNET DRAFT LDAP Servers Finding Other LDAP Servers January 1998 5. References Request For Comments (RFC) and Internet Drafts documents are available from and numerous mirror sites. [1] W. Yeong, T. Howes, S. Kille, "Lightweight Directory Access Protocol," RFC 1777, March 1995. [2] A. Gulbrandsen, P. Vixie, "A DNS RR for specifying the loca- tion of services (DNS SRV)," RFC 2052, October 1996. [3] A. Grimstad et al., "Naming Plan for an Internet Directory Service," Internet Draft (work in progress), March 19, 1997. [4] S. Kille et al., "Using Domains in LDAP Distinguished Names," Internet Draft (work in progress), August 1997. [5] M. Hamilton, R. Wright, "Use of DNS Aliases for Network Ser- vices," RFC 2219 (Also BCP 17), October, 1997. [6] R. Moats, M. Hamilton, "Advertising Services," Internet Draft (work in progress), June 1997. [7] M. Mealling, J. Allen, "MIME Object Definitions for the Com- mon Indexing Protocol(CIP)," Internet Draft (work in progress), June 11, 1997. [8] M. Mealling, J. Allen, "The Architecture of the Common Indexing Protocol (CIP)," Internet Draft (work in progress), June 11, 1997. 6. Author's address Ryan Moats AT&T 15621 Drexel Circle Omaha, NE 68135-2358 USA Phone: +1 402 894-9456 EMail: jayhawk@att.com Expires 7/31/98 [Page 3]