76 lines
4.0 KiB
XML
76 lines
4.0 KiB
XML
<?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'>
|
|
<variable name="activer_admin_passfile" exists='True' redefine='True' hidden='True'><value>oui</value></variable>
|
|
<variable name='activer_cadolesldap' type='oui/non' description='Activer Annuaire Cadoles'>
|
|
<value>oui</value>
|
|
</variable>
|
|
|
|
<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'/>
|
|
<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'/>
|
|
<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"/>
|
|
|
|
</family>
|
|
</variables>
|
|
|
|
<constraints>
|
|
<condition name='disabled_if_in' source='activer_cadolesldap'>
|
|
<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>
|
|
<target type='variable'>cadolesldap_niveau02branche</target>
|
|
<target type='variable'>cadolesldap_niveau01name</target>
|
|
<target type='variable'>cadolesldap_niveau01siren</target>
|
|
|
|
</condition>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
</constraints>
|
|
<help>
|
|
</help>
|
|
</creole>
|