1999-10-01 00:57:45 +08:00
|
|
|
# $OpenLDAP$
|
2000-07-23 02:59:40 +08:00
|
|
|
# Copyright 1999-2000, The OpenLDAP Foundation, All Rights Reserved.
|
1999-04-24 07:41:45 +08:00
|
|
|
# COPYING RESTRICTIONS APPLY, see COPYRIGHT.
|
1999-04-24 07:00:44 +08:00
|
|
|
H1: The Big Picture - Configuration Choices
|
|
|
|
|
2000-07-30 23:18:55 +08:00
|
|
|
This section gives a brief overview of various {{TERM:LDAP}} directory
|
|
|
|
configurations, and how your stand-alone LDAP server {{slapd}}(8)
|
2000-07-23 09:43:12 +08:00
|
|
|
fits in with the rest of the world.
|
1999-04-24 07:00:44 +08:00
|
|
|
|
|
|
|
|
2000-07-23 09:43:12 +08:00
|
|
|
H2: Local Directory Service
|
1999-04-24 07:00:44 +08:00
|
|
|
|
2000-07-30 23:18:55 +08:00
|
|
|
In this configuration, you run a {{slapd}} which provides directory
|
2000-07-23 09:43:12 +08:00
|
|
|
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.
|
1999-04-24 07:00:44 +08:00
|
|
|
|
1999-05-02 06:11:02 +08:00
|
|
|
!import "config_local.gif"; align="center"; title="Local service via slapd configuration"
|
2000-07-23 09:43:12 +08:00
|
|
|
FT[align="Center"] Figure 3.1: Local service configuration.
|
1999-04-24 07:00:44 +08:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
2000-07-23 09:43:12 +08:00
|
|
|
H2: Local Directory Service with Referrals
|
1999-04-24 07:00:44 +08:00
|
|
|
|
|
|
|
In this configuration, you run a slapd which provides directory service
|
2000-07-23 09:43:12 +08:00
|
|
|
for your local domain and configure it to return referrals to a
|
|
|
|
{{superior}} service capable of 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.
|
1999-04-24 07:00:44 +08:00
|
|
|
|
2000-07-23 09:43:12 +08:00
|
|
|
!import "config_ref.gif"; align="center"; title="Local service with referrals"
|
|
|
|
FT[align="Center"] Figure 3.2: Local service with referrals
|
1999-04-24 07:00:44 +08:00
|
|
|
|
2000-07-23 09:43:12 +08:00
|
|
|
Use this configuration if you want to provide local service and
|
|
|
|
participate in the Global Directory.
|
1999-04-24 07:00:44 +08:00
|
|
|
|
|
|
|
|
2000-07-23 09:43:12 +08:00
|
|
|
H2: Replicated Directory Service
|
1999-04-24 07:00:44 +08:00
|
|
|
|
2000-07-23 09:43:12 +08:00
|
|
|
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.
|
1999-04-24 07:00:44 +08:00
|
|
|
|
2000-07-23 09:43:12 +08:00
|
|
|
!import "config_repl.gif"; align="center"; title="Replicated Directory Services"
|
|
|
|
FT[align="Center"] Figure 3.3: Replicated Directory Services
|
1999-04-24 07:00:44 +08:00
|
|
|
|
2000-07-23 09:43:12 +08:00
|
|
|
This configuration can be used in conjunction with either of first
|
|
|
|
two configurations in situations where a single slapd does not
|
|
|
|
provide the required reliability or availability.
|
1999-04-24 07:00:44 +08:00
|
|
|
|
2000-07-23 09:43:12 +08:00
|
|
|
H2: Distributed Local Directory Service
|
1999-04-24 07:00:44 +08:00
|
|
|
|
2000-07-23 09:43:12 +08:00
|
|
|
In this configuration, the local service is partitioned into smaller
|
|
|
|
services, each which may be replicated, and {{glued}} together with
|
2000-08-12 14:35:08 +08:00
|
|
|
{{superior}} and {{subordinate}} referrals.
|
|
|
|
!if 0
|
|
|
|
An example of this configuration is shown in Figure 3.4.
|
1999-04-24 07:00:44 +08:00
|
|
|
|
2000-07-23 09:43:12 +08:00
|
|
|
!import "config_dist.gif"; align="center"; title="Distributed Local Directory Services"
|
|
|
|
FT[align="Center"] Figure 3.4: Distributed Local Directory Services
|
2000-08-12 14:35:08 +08:00
|
|
|
!endif
|