dicos/99_one-frontend.xml: Calcul de la valeur de activer_client_ldap en fonction

de la variable d'authentification "sunstone_auth_modes"

fixes #9144 @2h
This commit is contained in:
2014-10-07 15:19:41 +02:00
parent 401edf3743
commit 38aa3c612b
3 changed files with 12 additions and 4 deletions

View File

@ -1,4 +1,4 @@
%if 'ldap' in %%getVar('sunstone_auth_modes')
%if %%getVar('sunstone_auth_modes', None) == 'ldap'
server 1:
# Ldap user able to query, if not set connects as anonymous. For
# Active Directory append the domain name. Example:

View File

@ -65,7 +65,7 @@
# driver defined for the user
#
#:auth: sunstone
%if %%getVar('sunstone_auth_modes', []) == []
%if %%getVar('sunstone_auth_modes', None)
:auth: sunstone
%else
:auth: opennebula