]> git.sur5r.net Git - openldap/blob - doc/guide/admin/config.sdf
Add RCSids
[openldap] / doc / guide / admin / config.sdf
1 # $OpenLDAP$
2 # Copyright 1999, The OpenLDAP Foundation, All Rights Reserved.
3 # COPYING RESTRICTIONS APPLY, see COPYRIGHT.
4 H1: The Big Picture - Configuration Choices
5
6 This section gives a brief overview of various LDAP directory
7 configurations, and how your LDAP server (either {{I:slapd}} or 
8 {{I:ldapd}}) fits in with the rest of the world.
9
10
11
12 H2: LDAP as a local service only
13
14 In this configuration, you run a {{I:slapd}} which provides directory service
15 for your local domain only. It does not interact with other directory
16 servers in any way. This configuration is shown in Figure 2.
17
18 !import "config_local.gif"; align="center"; title="Local service via slapd configuration"
19 FT[align="Center"] Figure 2: Local service via slapd configuration.
20
21 Use this configuration if you are just starting out (it's the one the
22 quick-start guide makes for you) or if you want to provide a local
23 service and are not interested in connecting to the rest of the world.
24 It's easy to upgrade to another configuration later if you want.
25
26
27
28 H2: Local service with X.500 referrals
29
30 In this configuration, you run a slapd which provides directory service
31 for your local domain and an ldapd which provides access to the
32 X.500 world (you don't have to run the ldapd yourself - you can just
33 point to somebody else who does and doesn't mind you pointing to
34 their service). This configuration is shown in Figure 3.
35
36 !import "config_x500ref.gif"; align="center"; title="Local service via slapd + X.500 referrals configuration"
37 FT[align="Center"] Figure 3: Local service via slapd + X.500 referrals configuration
38
39 Use this configuration if you want to provide local service but still want
40 to be connected to the rest of the X.500 world. Remember, you don't
41 necessarily have to be running the ldapd in this picture; you just need
42 to find one you can point to.
43
44
45
46 H2: LDAP as a front end to X.500
47
48 In this configuration, you run an X.500 service which provides
49 directory service for your local domain and gatewaying service to the
50 rest of the X.500 world. LDAP clients gain access to the directory
51 through an ldapd which runs at your site. This configuration is shown
52 in Figure 4.
53
54 !import "config_x500fe.gif"; align="center"; title="Local service via X.500 and ldapd configuration"
55 FT[align="Center"] Figure 4: Local service via X.500 and ldapd configuration
56
57 Use this configuration if you are already running an X.500 service.
58 Slapd is not involved in this configuration, so you can probably stop
59 reading this guide.
60
61
62
63 H2: Replicated slapd service
64
65 The slurpd daemon is used to propagate changes from a master slapd
66 to one or more slave slapds. An example master-slave configuration
67 is shown in figure 5.
68
69 !import "config_repl.gif"; align="center"; title="Master slapd with two slaves replicated with slurpd"
70 FT[align="Center"] Figure 5: Master slapd with two slaves replicated with slurpd
71
72 This configuration can be used in conjunction with the first two
73 configurations in situations where a single slapd does not provide the
74 required reliability or availability.
75