Table des matières
lcs.conf
# Configuration file for LCS
LCS_VERSION_NUM='2.0' # LCS version number (VER)
PASSWORDS
Si les mots de passe suivants ne sont pas présents dans la configuration ils seront générés automatiquement :
LCS_MYSQLPW='jlcf' # Mot de passe root MySQL LCS_LCSMGRPASS='jlcf' # Mot de passe du compte 'lcsmgr' pour mysql (lcs manager) LCS_LDAP_ADMIN_PW='jlcf' # Mot de passe root de sur serveur ldap.
Si les mots de passe suivants ne sont pas présents dans la configuration, ils seront demandés à l'installation :
LOCAL_ADMIN_PW='' # Mot de passe du compte 'admin', administrateur local de lcs et slis (pour se connecter à l'interface web)
LDAP_CONF
LCS_LDAP_RID=' ' # Replica flag (a integer on 4 digits) LCS_LDAP_SERVER='127.0.0.1' # IP address of the LDAP server A local LDAP server will be set up, so you can always use 127.0.0.1 here. (ldap_server) LCS_LDAP_MASTER_SERVER='127.0.0.1' # Adress of the ldap master server in a replica config LCS_LDAP_BASE_DN='dc=pmcurie,dc=net' # LDAP base DN of the server and clients (ldap_base_dn) LCS_LDAP_ADMIN_RDN='admin' # The LDAP administrator RDN (adminRdn) LCS_LDAP_MAIL_DOMAIN='pmcurie.net' # LDAp admin mail domain LCS_LDAP_PEOPLE_RDN='People' # The users branch RDN (peopleRdn) LCS_LDAP_GROUPS_RDN='Groups' # The groups branch RDN (groupsRdn) LCS_LDAP_COMPUTERS_RDN='Computers' # The computers branch RDN (computersRdn) LCS_LDAP_PARKS_RDN='Parcs' # The parks branch RDN (parksRdn) LCS_LDAP_RIGHTS_RDN='Rights' # The rights branch RDN (rightsRdn) LCS_LDAP_TRASH_RDN='Trash' # The trash branch RDN (trashRdn)
NETWORK
LCS_HOSTNAME='lcetch' # Internet hostname of this LCS LCS_DOMAIN='pmcurie.net' # internet domain of this LCS_EXTERNAL_IF_DEV='eth0' # Ethernet device name which is \\ on the WAN side LCS_GATEWAY='10.92.2.1' # Default gateway. Must be 0.0.0.0 if the WAN interfacegets its IP address via DHCP (gateway) LCS_IPADDR0='10.92.2.80' # IP Address of eth0 (iplcs) LCS_NETWORK='10.92.2.0' # Network adress LCS_BROADCAST='10.92.2.255' # Broadcast adress LCS_NETMASK0='255.255.255.0' # Netmask of eth0 (netmask) LCS_DNS_PRIMARY='10.92.2.1' # Primary DNS (dns1) LCS_DNS_SECONDARY='80.10.246.2' # Secondary DNS (dns2) LCS_NTP_SERVER='ntp.unicaen.fr' # Address of the NTP server (ntpserv) LCS_XEN_NETWORK='' # Xen network adress (xennet)
VLANS
LCS_VLANSC='10.92.2.0/24' # VLAN Service Commun de l'etablissement (vlansc) LCS_VLANADMINISTRATIF='' # VLAN Administratif de l'etablissement (vlanadmin) LCS_VLANPEDA1='' # VLAN Pedagogique 1 de l'etablissement (vlanpeda1) LCS_VLANPEDA2='' # VLAN Pedagogique 2 de l'etablissement (vlanpeda2) LCS_VLANPEDA3='' # VLAN Pedagogique 3 de l'etablissement (vlanpeda3) LCS_VLANPEDA4='' # VLAN Pedagogique 4 de l'etablissement (vlanpeda4)
CACHE MANDATAIRE SQUID
LCS_CACHEDIRSIZE='100' # Disk space (MB) for the cache directory partition (cachedirsize)
LCS_RELAY_HOST='VaMelBox.crdp.ac-caen.fr' SMTP server the LCS will relay the outgoing mails to. If empty, the LCS will send the emails directly to the MXs (not recommended).(relayhost) LCS_MTA_IP='10.92.2.80' # local SMTP server IP (mtaip)
OPEN SSL CERT
LCS_COUNTRYNAME='FR' # Two letters for the country name LCS_PROVINCENAME='Basse Normandie' # Province name LCS_LOCALITYNAME='Saint-Lo' # Locality name LCS_ORGANIZATIONNAME='Pierre et Marie Curie' # Organization name LCS_ORGANIZATIONALUNITNAME='Lycee Scientifique et technologique' # Organizational unit name
SE3 (Samba Edu V 3) Server
LCS_SE3_IP='' # IP adress of the SE3 Server (se3ip) LCS_SE3_NETBIOS='' # NetBIOS name of the SE3 Server (se3netbios) LCS_SE3_DOMAIN='' # Samba Domain Name of the SE3 Server (se3domain)
Sources des maj et depots plugins et modules
LCS_URL_MAJTGZ='ftp://debian.crdp.ac-caen.fr/debian/LcsMaj/LcsMajTGZ-ETCH' LCS_URL_MAJMD5='ftp://193.49.66.4/LcsMajMD5-ETCH' LCS_URL_MAJPLUG='http://linux.crdp.ac-caen.fr/pluginsLcs/' LCS_URL_MAJMOD='http://linux.crdp.ac-caen.fr/modulesLcsEtchXP/'
Divers params de configuration du LCS
LCS_UID_POLICY='4' # Uid policy for create user account (uidpolicy) LCS_DEFAULT_SHELL='/bin/true' # Default user shell (defaultshell) LCS_TYPE_GROUPS='posixGroup' # groups Equipe/Matiere type groupOfNames or posixGroup (type_Equipe_Matiere)
Monitoring avec slim (slis-slim-node)
LCS_SLIM_HOST="195.221.235.245" # IP address of the SLIM server
LCS_SLIM_MONITOR_PATH="slim/scripts/monitor/get" # URL where the SLIS will
# connect to to download its
LCS_SLIM_MAX_AGE='36000' # Execution timeout (in seconds)
LCS_SLIM_RETRY_TIME='5' # Number of time to try locking
LCS_MONITOR_FREQUENCY="HOURLY"
LCS_MONITOR_ENABLE="true" # 'true' or 'false'
LCS_SLISMASTER="slismaster@ac-grenoble.fr"