Posldap2Dhcp.pl; Posreadpassword.pl; Function; Usage - Novell SLRS 8 Admin Manual

Table of Contents

Advertisement

6.7 posldap2dhcp.pl

/var/named/ldap_generated/
/var/named/ldap_generated/dns-zonefile.header
/var/named/ldap_generated/named.zones
/etc/named.conf

6.7 posldap2dhcp.pl

posldap2dhcp.pl generates the DHCP daemon configuration file from LDAP.

6.7.1 Function

posldap2dhcp.pl is called by posleases2ldap.pl at regular intervals. First,
all scLocation objects are looked up in LDAP. Each of these objects defines a
subnet and for each of them a subnet declaration in the dhcpd.conf is gener-
ated. The header zone file is taken from the file specified in the configuration
file directive LDAP2DHCP_TEMPLATEFILE, which is /etc/opt/SLES/POS/dhcpd/
dhcpd.conf.header by default. The content of the header file is adapted to
the installation by posInitBranchserver.sh (see Section
6.2
on page 73).
The value of the scDhcpRange attribute in a scLocation object is translated into
a range statement in the subnet declaration. Also the options for tftpboot
are written into each subnet declaration. For each scCashRegister, a fixed
address declaration is generated.
The new dhcpd.conf file is first generated in a temporary directory. If it differs
from the working version, dhcpc is run with the temporary file in check mode.
If it passes the check, it is copied over the working file and the command to
restart the DHCP daemon is returned to be executed by posleases2ldap.pl.

6.7.2 Usage

posldap2dhcp.pl is called by posleases2ldap.pl.

6.7.3 Files

/etc/opt/SLES/POS/branchserver.conf
/etc/dhcpd.conf -> /etc/opt/SLES/POS/dhcpd/dhcpd.conf
/etc/opt/SLES/POS/dhcpd/dhcpd.conf.header

6.8 posReadPassword.pl

posReadPassword.pl is a helper script for password entry that does not show
the entered password.
77

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux retail solution 8

Table of Contents