NOTE:
posInitLdap.sh
In the previous SLEPOS versions,
posInitAdminserver.sh
was called
posInitLdap.sh
.
posInitLdap.sh
is now a symbolic link to the
posInitAdminserver.sh
script.
Function
posInitAdminserver.sh
uses
/etc/SLEPOS/template/slapd.conf
.template
to create the OpenLDAP configuration file,
/etc/openldap/slapd
.conf
. The LDAP base DN and password are replaced from the
posInitAdminserver.sh
script with the corresponding user entries. After gener-
ating the configuration file, the OpenLDAP service is started.
posInitAdminserver.sh
then uses a template file,
/etc/SLEPOS/template/
ldif.pos.template
, to create an LDAP data file,
/etc/SLEPOS/template/
ldif.pos
, which it then imports into the LDAP directory. Now the initial LDAP di-
rectory structure is available on the Administration Server.
posInitAdminserver.sh
uses
posReadPassword.pl
during the password
entry to hide the password characters.
Usage
Run
posInitAdminserver.sh
on an Administration Server.
Table B.2
posInitAdminserver.sh Options
Description
Option
Forces regeneration of SSL certificates. Old certifi-
cates are deleted. This option should only be used
for SSL. Default is not to regenerate.
--regenerate
Reconfigures the Administration Server with the
provided configuration file.
-r
or
--reconfigure
=
FILE
Point of Service Scripts
211