the Point of Service terminal is then removed from the
/srv/tftpboot/upload
directory.
posldap2crconfig.pl
can optionally be run with the
--dumpall
parameter.
Using this mode,
posldap2crconfig.pl
regenerates the
config.
MAC
and
hardware configuration files for all Point of Service terminals found in LDAP.
NOTE
When posldap2crconfig generates syslog messages, these messages are displayed
in all open shell windows of the Branch Server, if the default setting of the
configuration file
/etc/syslog-ng/syslog-ng.conf
is used. To avoid
this behavior, edit the following line in
/etc/syslog-ng/syslog-ng.conf
and change it as shown below:
# *.emerg
*
Usage
posldap2crconfig.pl [--dumpall]
Files
/etc/SLEPOS/branchserver.conf
B.3.5 posldap2dhcp.pl
posldap2dhcp.pl
generates the DHCP daemon configuration file from LDAP.
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 generated.
The header zone file is taken from the file specified in the configuration file directive
LDAP2DHCP_TEMPLATEFILE
, which is
/etc/SLEPOS/dhcpd/dhcpd.conf
Point of Service Scripts
213