The ABCs of LDAP: How to Install, Run, and Administer LDAP Services

 < Day Day Up > 


The default location of the configuration files is $prefix/etc/openldap. In this directory there are two configuration files (ldap.conf and slapd.conf) and the directory "schema," which contains the standard schema files delivered with the OpenLDAP distribution (to be discussed later). The ldap.conf file configures default parameters for client applications; however, every user can apply different parameters. The client tools look first in the home directory of the user launching the command if they find a file called ldaprc or .ldaprc. If such a file exists, the parameters configured in it are used; if not, the systemwide configuration file is used. What can be configured with this file you can read about in the manual page of ldap.conf (in UNIX, the command is man ldap.conf).

The file slapd.conf contains the configuration for the OpenLDAP server, the subject of this section.

The directory "schema" contains a number of standard schema files. If you extend the schema as described in Chapter 4 or Chapter 7, you should put your new object class and attribute type definitions in a separate file in this directory. Following is a brief look at the standard schema files OpenLDAP provides:


 < Day Day Up > 

Категории