2018-12-18 09:39:17 +01:00
<?xml version="1.0" encoding="utf-8"?>
<creole >
<files >
<file filelist= 'cadolesldap' name= '/etc/cadolesldap/init/cadolesldap.ldif' rm= 'True' mkdir= 'True' />
</files>
<variables >
<family name= 'CADOLES LDAP' >
2020-12-15 13:48:29 +01:00
<variable name= "activer_admin_passfile" exists= 'True' redefine= 'True' hidden= 'True' > <value > oui</value> </variable>
2018-12-18 09:39:17 +01:00
<variable name= 'activer_cadolesldap' type= 'oui/non' description= 'Activer Annuaire Cadoles' >
<value > oui</value>
</variable>
2020-12-15 13:48:29 +01:00
<variable type= 'string' name= 'cadolesldap_basedn' description= "Base DN de l'annuaire" mandatory= 'True' />
<variable type= 'password' name= 'cadolesldap_pwdadmin' description= "Mot de passe du compte admin durant l'instance" mandatory= 'True' />
2020-09-28 14:39:21 +02:00
<variable type= 'string' name= 'cadolesldap_organization' description= "Nom de l'organisation principale" mandatory= 'True' />
<variable type= 'string' name= 'cadolesldap_niveau01branche' description= "Nom de la branche de Niveau 01" mandatory= 'True' > <value > niveau01</value> </variable>
<variable type= 'string' name= 'cadolesldap_niveau02branche' description= "Nom de la branche de Niveau 02" mandatory= 'True' > <value > niveau02</value> </variable>
<variable type= 'string' name= 'cadolesldap_niveau01name' description= "Nom de la première orgranisation de Niveau 01" mandatory= 'True' />
<variable type= 'string' name= 'cadolesldap_niveau01siren' description= "SIREN de la première orgranisation de Niveau 01" mandatory= 'False' />
2020-12-15 13:48:29 +01:00
<variable type= 'oui/non' name= 'cadolesldap_create_reader' description= "Créer un utilisateur de lecture dans l'annuaire" >
<value > oui</value>
</variable>
<variable type= 'string' name= 'cadolesldap_reader' description= "Nom de l'utilisateur de lecture" >
<value > cadoles-reader</value>
</variable>
<variable type= 'password' name= 'cadolesldap_reader_pass' description= "Mot de passe de l'utilisateur de lecture" />
<variable type= 'oui/non' name= 'cadolesldap_create_writer' description= "Créer un utilisateur avec des droits d'écriture dans l'annuaire" >
<value > non</value>
</variable>
<variable type= 'string' name= 'cadolesldap_writer' description= "Nom de l'utilisateur d'écriture" >
<value > cadoles-writer</value>
</variable>
<variable type= 'password' name= 'cadolesldap_writer_pass' description= "Mot de passe de l'utilisateur d'écriture" />
2020-09-28 14:39:21 +02:00
2018-12-18 09:39:17 +01:00
</family>
</variables>
<constraints >
2020-12-15 13:48:29 +01:00
<condition name= 'disabled_if_in' source= 'activer_cadolesldap' >
2018-12-18 09:39:17 +01:00
<param > non</param>
<target type= 'filelist' > cadolesldap</target>
<target type= 'variable' > cadolesldap_pwdadmin</target>
<target type= 'variable' > cadolesldap_organization</target>
<target type= 'variable' > cadolesldap_niveau01branche</target>
2020-09-28 16:37:01 +02:00
<target type= 'variable' > cadolesldap_niveau02branche</target>
2018-12-18 09:39:17 +01:00
<target type= 'variable' > cadolesldap_niveau01name</target>
<target type= 'variable' > cadolesldap_niveau01siren</target>
2020-09-28 16:37:01 +02:00
2018-12-18 09:39:17 +01:00
</condition>
2020-09-28 14:39:21 +02:00
2020-12-15 13:48:29 +01:00
<condition name= 'disabled_if_in' source= "cadolesldap_create_reader" >
<param > non</param>
<target type= 'variable' > cadolesldap_reader</target>
<target type= 'variable' > cadolesldap_reader_pass</target>
</condition>
<condition name= 'disabled_if_in' source= "cadolesldap_create_writer" >
<param > non</param>
<target type= 'variable' > cadolesldap_writer</target>
<target type= 'variable' > cadolesldap_writer_pass</target>
</condition>
2020-09-28 14:39:21 +02:00
<fill name= 'concat' target= 'cadolesldap_organization' >
<param type= 'eole' > libelle_etab</param>
</fill>
<fill name= 'concat' target= 'cadolesldap_niveau01name' >
<param type= 'eole' > libelle_etab</param>
</fill>
2018-12-18 09:39:17 +01:00
</constraints>
<help >
</help>
</creole>