Configure the OpenLDAP client

This topic outlines how to configure the OpenLDAP client. This component is not required for SAN File System but is included for reference if you need to extend your LDAP configuration.

Prerequisites

Complete Install OpenLDAP packages before starting these steps.

Steps

Customize the client configuration file /etc/openldap/ldap.conf. This file contains information for the LDAP clients. It holds default values so that all values do not have to be specified on the command line:
# $OpenLDAP: pkg/ldap/libraries/libldap/ldap.conf,v 1.4.8.6
2000/09/05 17:54:38 kurt Exp $
#
# LDAP Defaults
#
# See ldap.conf(5) for details
# This file should be world readable but not world writable.
#BASE dc=example, dc=com
#URI ldap://ldap.example.com ldap://ldap-master.example.
com:666
#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never
HOST 127.0.0.1
BASE o=yourOrg
  1. Edit the ldap.conf file using a text editor such as vi. Table 1 defines the values to be customized for your installation.
    Table 1. ldap.conf file parameters
    Parameter Description
    Host Set this parameter to the IP address of the host used by the local LDAP clients.
    Base This parameter is the base DN for any searches. Searches such as those performed by the ldapsearch command are restricted to this DN by default. In our example, it is o=yourOrg. This parameter should reflect the root of your LDAP tree.
  2. Save and quit from the editor. For a more detailed description of this file, refer to the manual page (using the man ldap.conf command).

Postrequisites

Continue with Configure the OpenLDAP server.

Parent topic: Configuring LDAP using OpenLDAP
Previous topic: Install OpenLDAP packages
Next topic: Configure the OpenLDAP server

Library | Support | Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.
IBM TotalStorage SAN File System v2.2