#
# settings for leases2ldap
#

# leases2ldap program file
LEASES2LDAP_BIN=/usr/sbin/leases2ldap.pl

# ssh agent config file
LEASES2LDAP_SSH_AGENT=/var/run/sc_leases2ldap.agent

# path of dhcpd.leases
LEASES2LDAP_LEASES_FILE=/var/lib/dhcp/db/dhcpd.leases

# global timeout to re-read all parameters in seconds
LEASES2LDAP_TIMEOUT=60

# check-time-interval of dhcpd.leases file
LEASES2LDAP_LEASES_CHECKTIME=10

# important names workstation attributes,
# the attributename of the network number must be defined first
# then netmask, dhcp-range, and dhcp fixed range seperated by ','
LEASES2LDAP_ATTR=ipNetworkNumber,ipNetmaskNumber,dbkDhcpRange,dbkDhcpFixedRange

# LDAP filter expression for retrieving information about branches/locations 
# in older versions this information was in objectClass=dbkLocation
# obsolete: use ALL_LDAP_FILTER_LOCATION
#LEASES2LDAP_QUEST="objectClass=scLocation"

LEASES2LDAP_SCRIPT_LIST="su - dnsadmin -c /usr/bin/ldap2dns.pl,su - dhcpadmin -c /usr/bin/ldap2dhcp.pl"

# legacy
LEASES2LDAP_ADMIN="cn=leases2ldap,ou=admins,ou=global,o=smartclient,c=de"

LEASES2LDAP_ADMIN_DN="cn=leases2ldap,ou=admins,ou=global,o=smartclient,c=de"
LEASES2LDAP_ADMIN_PW="KVigf72W"

# nice level that leases2ldap runs with
LEASES2LDAP_NICE=10

# log file
LEASES2LDAP_LOGFILE=/var/log/smartclient/leases2ldap

# lifetime of each workstation cache entry
LEASES2LDAP_CACHE_TTL=43200

# interval between workstation cache checks
LEASES2LDAP_CACHE_CHECK=86400


## default value for caching image server when adding new workstation (TRUE | FALSE)
# obsolete: now specified in base
#LEASES2LDAP_CACHING_IMAGE_SERVER_DEFAULT_VALUE="FALSE"

# filter expression for modifyTimestamp checks
# this and 
# a read-internal (ri) LDAP server in ALL_LDAPSERVERS must be configured 
# to enable timestamp checking
LEASES2LDAP_TSTAMP_CHK_FILTER="(|(ipHostNumber=*)(ipNetworkNumber=*)(macAddress=*)(dbkImageVersion=*))"

