#
# basic SmartClient settings
#

#
# common 
#

ALL_LDAPHOST=ldap

# obsolute: use ALL_LDAPSERVERS with capability ri instead
# used for timestamp checking in leases2ldap 
# if not specified, timestamp checking is skipped
# timestamps cannot be checked on OpenLDAP replicas
#ALL_LDAPMASTER="ldap,ro,1"

# hierarchy of ldap servers
# syntax: host1,capability1,priority1;...
# capabilities: 
#   rw: read write
#   ro: read only
#   ri: read internal attributes (OpenLDAP: only master)
# used by SmartClient::LDAP
# (leaes2ldap, ldap2dns and ldap2dhcp)
ALL_LDAPSERVERS="ldap01,rw,1;ldap02,ro,1;ldap01,ro,2;ldap01,ri,1"


# LDAP sync interval in master/slave enviroments (in seconds)
ALL_LDAP_SYNC_INTERVAL=0



ALL_LDAPBASE="o=smartclient,c=de"

ALL_LDAP_STANDARD_DC="cn=standards"



# definies the location. may modified by dasscd
ALL_LDAP_LOCATION="o=smartclient,c=de"

ALL_LDAPBIND=simple


# ldap servertype: OpenLDAP / NDS, used in LdapWorkstation.pm 
# (different ACL handling)
ALL_LDAPSERVER_TYPE="OpenLDAP"

# ldap search filter to get all entries that a used by SmartClient
# used by LdapCache
ALL_LDAP_FILTER_GET_ALL="(|(objectclass=scLocation)(objectclass=dbkLocation)(objectclass=dbkDeviceType)(objectclass=dbkRefPc)(objectclass=dbkRefImage)(objectclass=scIpDevice)(objectclass=dbkWorkstation)(objectclass=dbkPrinter)(objectclass=dbkServer)(objectclass=dbkService)(objectclass=scDeviceOptions)(objectclass=dbkUpdate)(objectclass=dbkDsap)(objectclass=scRefBootOptions)(objectclass=organization)(objectclass=organizationalUnit))"

# ldap search filter to find locations (legacy: dbkLocation)
ALL_LDAP_FILTER_LOCATION="objectClass=scLocation"


# default attributes to be used by ScCache
ALL_LDAP_ATTRIBUTES_SC_CACHE="cn,dbkCachingImageServer,dbkDefaultGw,dbkDeviceTypeDn,dbkDhcpDynLeasetime,dbkDhcpFixedRange,dbkDhcpNetbootLeasetime,dbkDhcpOptionsLocal,dbkDhcpOptionsRemote,dbkDhcpRange,dbkDnsAllowZoneTransfer,dbkDnsAlsoNotify,dbkDnsDomain,dbkDnsName,dbkDnsZoneExtension,dbkDoRsync,dbkDoTftpBoot,dbkDynamicIp,dbkDynamicIpAllow,dbkImageVersion,dbkLocationType,dbkNoDNSName,dbkObjectIdFormatString,dbkObjectIdGenerator,dbkRefImageDn,dbkServiceStatus,dbkTimeOut,dbkUpdateTime,description,dhcpOption,ipHostNumber,ipNetmaskNumber,ipNetworkNumber,macAddress,modifyTimestamp,objectClass,scMobileDevicesIpRange,scPrinterIpRange,scPxeCfgFileLocal,scPxeCfgFileRemote,scRefBootOptionsDn,zoneName"


# LDAP attributes that should be unique 
# in the context of the also specified LDAP search filter
# used by Ldapcheck and can also be useful for other modules
# syntax: 
# "LDAP Attribute 1","LDAP search filter 1","LDAP Attribute 2","LDAP search filter 2", ...
ALL_LDAP_UNIQUE_ATTRIBUTES_SEARCHFILTER="macAddress,(macAddress=*),scClientId,(scClientId=*),uidNumber,(uidNumber=*),uid,(uid=*),mail,(mail=*),mailalias,(mailalias=*),mailRoutingAddress,(mailRoutingAddress=*),gid,(&(objectclass=posixGroup)(gid=*)),ipHostNumber,(&(ipHostNumber=*)(!(objectclass=dbkService)))"
# ipHostNumber isn't unique, because of dbkServer and dbkService
# gid is only unique in posixGroup, but also used (non-unique) in posixAccount



# defines groups of objectclasses 
# that can be used to define SmartClient objects
# used by webmin
ALL_OBJECTCLASSES_WORKSTATION="dbkCarrierClass,dbkWorkstation,scDeviceOptions,dbkUpdate,scIpDevice,scLocalPrinter"
ALL_OBJECTCLASSES_PRINTER="dbkCarrierClass,dbkPrinter,scDeviceOptions,scIpDevice"
ALL_OBJECTCLASSES_PRINTERGROUP="dbkCarrierClass,dbkPrinterGroup"
ALL_OBJECTCLASSES_USER="posixAccount,shadowAccount,inetOrgPerson,scPerson,person,sambaSamAccount"
# inetOrgPerson is inherent from person. 
# person have must attribute cn, sn.
ALL_OBJECTCLASSES_GROUP="posixGroup,groupOfNames"

#
# URL for XML-RPC status and control server
#
ALL_CONTROLD_URL="http://scControld:2223/"
ALL_CONTROLD_SECONDARY_URL="http://scControldSecondary:2223/"

ALL_XMLRPC_TIMEOUT=300
ALL_LDAPTIMEOUT=120
ALL_RSYNC_TIMEOUT=120
ALL_PW_SERVER=password
ALL_PW_PORT=6200
ALL_LOG_DIR=/var/log/smartclient
ALL_SYSLOG_FACILITY=LOG_LOCAL7
ALL_SYSLOG_OPTION=LOG_NDELAY
ALL_SYSLOG_PRIORITY=LOG_ERR

ALL_TFTP_DIR="/var/lib/smartclient/tftpboot/"
ALL_PXE_CFG_DIR="/var/lib/smartclient/tftpboot/pxelinux.cfg/"

# default value for caching image server when adding new workstation
# (TRUE | FALSE)
ALL_CACHING_IMAGE_SERVER_DEFAULT_VALUE="FALSE"



#
# client
#
ALL_SC_VARS=/var/lib/smartclient/netboot_vars
ALL_WORKSTATION_CONFIG=/var/cache/smartclient/config
ALL_PRINTER_FILE=/var/cache/smartclient/printer
ALL_SOCKET_PROGRAM=/usr/bin/netcat
ALL_WOL_PROG=/usr/bin/wol.pl
ALL_NETWORK_INTERFACES="eth0 tr0"
ALL_GRUB_CONFIG_FILE=/boot/grub/menu.lst
ALL_IMAGEVERSIONFILE=var/cache/smartclient/imageversion
ALL_IMAGEDNFILE=var/cache/smartclient/imagedn

#
# unique name generation for new workstation per xmlrpc server
#
#ALL_GENERATOR_UNIQUE_NAME_XMLRPC_URL=http://HOST:PORT/RPCSRV
#ALL_GENERATOR_UNIQUE_NAME_XMLRPC_METHOD=generator.uniqueName

#
# used to distinguish installations using workstation_container from those,
# that are not using it
# (will be use by password_generatord only atm)
#
ALL_NO_WORKSTATION_CONTAINER=OK

