个人工具

OpenLDAPAdminGuide/ConfigurationChoices

来自Ubuntu中文

跳转至: 导航, 搜索

The Big Picture - Configuration Choices(配置的选择)

This section gives a brief overview of various LDAP directory configurations, and how your stand-alone LDAP server slapd(8) fits in with the rest of the world.
本节简要介绍了不同的 LDAP 目录配置,以及您独立的 LDAP 服务器 slapd(8) 要怎样与其他的服务器配合。

Local Directory Service(本地目录服务)

In this configuration, you run a slapd which provides directory service for your local domain only. It does not interact with other directory servers in any way. This configuration is shown in Figure 3.1.
在此配置中,您运行 slapd 只是为了向您本地域提供目录服务。它不会和其他目录服务器进行交互。这种配置如图3.1所示:

UbuntuManual?action=AttachFile&do=get&target=config_local.gif

Use this configuration if you are just starting out (it's the one the quick-start guide makes for you) or if you want to provide a local service and are not interested in connecting to the rest of the world. It's easy to upgrade to another configuration later if you want.
如果你只是刚开始学习(它有助您学习快速入门指南),或者如果您只需要提供本地服务,同时对与其他服务器相连不感兴趣,那么请使用这个配置。如果您需要以后是可以很容易升级到其他配置的。

Local Directory Service with Referrals(带有引用的本地目录服务)

In this configuration, you run a slapd which provides directory service for your local domain and configure it to return referrals to a superior service capable of handling requests outside your local domain. You may run this service yourself or use one provided to you. This configuration is shown in Figure 3.2.
在这个配置中,您运行 slapd 来为您本地域提供目录服务,同时将它配置成在收到本地域之外的请求,将返回指向上一级目录的引用。您可以自己运行该服务,或者使用其他人为您提供的服务。这种配置如图3.2所示:

UbuntuManual?action=AttachFile&do=get&target=config_ref.gif

Use this configuration if you want to provide local service and participate in the Global Directory.
如果您需要提供本地服务,同时要加入全局目录,那么请使用这个配置。

Replicated Directory Service(可复制的目录服务)

The slurpd daemon is used to propagate changes from a master slapd to one or more slave slapds. An example master-slave configuration is shown in figure 3.3.
slurpd 守护程序用来从主 slapd 服务器向一个或者多个从 slapd 服务器发送改变。主—从配置的示例如图3.3所示。

UbuntuManual?action=AttachFile&do=get&target=config_repl.gif

This configuration can be used in conjunction with either of the first two configurations in situations where a single slapd does not provide the required reliability or availability.
在单个 slapd 不能提供符合要求的效率和可靠性的情况下,这种配置可以用来和前两种配置之一协同工作。

Distributed Local Directory Service(分布式本地目录服务)

In this configuration, the local service is partitioned into smaller services, each of which may be replicated, and glued together with superior and subordinate referrals.
在这个配置中,本地服务被分成许多更小的服务,这些服务中的每一个都可以被复制,并且用上下级引用关联起来。