📄 config.sdf
字号:
# $OpenLDAP: pkg/openldap-guide/admin/config.sdf,v 1.13.2.2 2007/01/02 21:43:43 kurt Exp $# Copyright 1999-2007 The OpenLDAP Foundation, All Rights Reserved.# COPYING RESTRICTIONS APPLY, see COPYRIGHT.H1: The Big Picture - Configuration ChoicesThis section gives a brief overview of various {{TERM:LDAP}} directoryconfigurations, and how your stand-alone LDAP server {{slapd}}(8)fits in with the rest of the world.H2: Local Directory ServiceIn this configuration, you run a {{slapd}} which provides directoryservice for your local domain only. It does not interact with otherdirectory servers in any way. This configuration is shown in Figure 3.1.!import "config_local.gif"; align="center"; title="Local service via slapd configuration"FT[align="Center"] Figure 3.1: Local service configuration.Use this configuration if you are just starting out (it's the one thequick-start guide makes for you) or if you want to provide a localservice and are not interested in connecting to the rest of the world.It's easy to upgrade to another configuration later if you want.H2: Local Directory Service with ReferralsIn this configuration, you run a slapd which provides directory servicefor 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.!import "config_ref.gif"; align="center"; title="Local service with referrals"FT[align="Center"] Figure 3.2: Local service with referrals Use this configuration if you want to provide local service and participate in the Global Directory.H2: Replicated Directory ServiceThe slurpd daemon is used to propagate changes from a master slapdto one or more slave slapds. An example master-slave configurationis shown in figure 3.3.!import "config_repl.gif"; align="center"; title="Replicated Directory Services"FT[align="Center"] Figure 3.3: Replicated Directory ServicesThis configuration can be used in conjunction with either of the firsttwo configurations in situations where a single slapd does notprovide the required reliability or availability.H2: Distributed Local Directory ServiceIn this configuration, the local service is partitioned into smallerservices, each of which may be replicated, and {{glued}} together with{{superior}} and {{subordinate}} referrals.!if 0An example of this configuration is shown in Figure 3.4.!import "config_dist.gif"; align="center"; title="Distributed Local Directory Services"FT[align="Center"] Figure 3.4: Distributed Local Directory Services!endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -