9b66227236
The “calc_val” was failing when LemonLDAP::NG was disabled because “authWebName” can't be used. We shouldn't force “eolesso_adresse” when LemonLDAP::NG is disabled, the user must be able to set whatever value she wants. * dicos/71_lemonldap_ng_scribe.xml: fill the “eolesso_adresse” and freeze it when LemonLDAP::NG is enabled. Ref: #30852
75 lines
2.3 KiB
XML
75 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<creole>
|
|
|
|
<files />
|
|
|
|
<variables>
|
|
|
|
<family name='eole sso'>
|
|
<variable name='eolesso_adresse' description="Nom de domaine du serveur d'authentification SSO" redefine="True" />
|
|
</family>
|
|
|
|
</variables>
|
|
|
|
<constraints>
|
|
|
|
<fill name='calc_multi_condition' target='activer_sso'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1'>activerLemon</param>
|
|
<param name='match'>distant</param>
|
|
<param name='default_mismatch'>local</param>
|
|
</fill>
|
|
|
|
<condition name='frozen_if_in' source='activerLemon'>
|
|
<param>oui</param>
|
|
<target type='variable'>activer_sso</target>
|
|
</condition>
|
|
|
|
<auto name='calc_multi_condition' target='ldapScheme'>
|
|
<param>oui</param>
|
|
<param type='eole' name='condition_1'>ldap_tls</param>
|
|
<param name='match'>ldaps</param>
|
|
<param name='default_mismatch'>ldap</param>
|
|
</auto>
|
|
|
|
<fill name='calc_val_first_value' target='eolesso_adresse'>
|
|
<param type='eole' optional='True' hidden='False'>authWebName</param>
|
|
<param type='eole' optional='True' hidden='False'>web_url</param>
|
|
<param type='eole'>nom_domaine_machine</param>
|
|
</fill>
|
|
|
|
<condition name='frozen_if_in' source='activerLemon'>
|
|
<param>oui</param>
|
|
<target type='variable'>eolesso_adresse</target>
|
|
</condition>
|
|
|
|
<auto name='calc_val' target='ldapServer'>
|
|
<param type='eole'>adresse_ip_ldap</param>
|
|
</auto>
|
|
|
|
<auto name='calc_val' target='ldapServerPort'>
|
|
<param type='eole'>ldap_port</param>
|
|
</auto>
|
|
|
|
<auto name='calc_val' target='ldapUserBaseDN'>
|
|
<param type='eole'>ldap_base_dn</param>
|
|
</auto>
|
|
|
|
<auto name='calc_val' target='ldapBindUserDN'>
|
|
<param type='eole'>ldap_reader</param>
|
|
</auto>
|
|
|
|
<auto name='calc_val' target='ldapBindUserPassword'>
|
|
<param type='eole'>ldap_reader_passfile</param>
|
|
</auto>
|
|
|
|
<auto name='calc_val' target='casFolder'>
|
|
<param type='eole'>eolesso_cas_folder</param>
|
|
</auto>
|
|
|
|
</constraints>
|
|
|
|
<help />
|
|
|
|
</creole>
|