6.1 Posinitldap.sh; Posinitldap.sh; Function; Usage - Novell SLRS 8 Admin Manual

Table of Contents

Advertisement

6 Server Commands

6.8.2 Usage

6.8.3 Files
6.9 poscheckip.pl

6.9.1 Function

6.9.2 Usage
6.9.3 Files
There are a number of commands for initializing and maintaining administra-
tion and branch servers. These sections describe these commands and their
usage.

6.1 posInitLdap.sh

The purpose of posInitLdap.sh is the configuration of the OpenLDAP direc-
tory server software and the initial creation of data in the LDAP directory. The
user is prompted to enter the company name, country abbreviation and the
LDAP administration password. The user can also enable or disable SSL com-
munication. Company name and country abbreviation are used to compose
the LDAP base DN, in the form o=company,c=de.
6.1.1 Function
For creating the OpenLDAP configuration file /etc/openldap/slapd.conf, a
template configuration file is used from the directory /etc/opt/SLES/POS/
template. The necessary parts of slapd.conf, the LDAP base DN, and pass-
word are replaced from the posInitLdap.sh script with the corresponding
user entries. After generating the configuration file, the OpenLDAP service is
started.
Then the initial creation of data in LDAP is done using a template LDIF
replacing the LDAP base DN. Finally, the generated LDIF file is fed into LDAP.
Now the initial LDAP directory structure is available on the administration
server.
posInitLdap.sh uses posReadPassword.pl during the password entry to hide
the typed in characters.
6.1.2 Usage
Run posInitLdap.sh on an administration server.
Caution: Running this script destroys any existing data in LDAP.
1
LDIF is a standardized file format for LDAP data.
72
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . 78
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
78
78
78
78
78
1
file by

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux retail solution 8

Table of Contents