From 75223ff1c69b2faa12fc22ce65dcf8bec098811b Mon Sep 17 00:00:00 2001 From: afornerot Date: Mon, 8 Apr 2019 10:16:07 +0200 Subject: [PATCH] template ldapreader et sso --- tmpl/cadolesuser-template.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tmpl/cadolesuser-template.yml b/tmpl/cadolesuser-template.yml index 255ba460..2e4cfb29 100644 --- a/tmpl/cadolesuser-template.yml +++ b/tmpl/cadolesuser-template.yml @@ -31,7 +31,11 @@ parameters: ldap_host: %%adresse_ip_ldap ldap_port: %%ldap_port ldap_user: cn=admin,o=gouv,c=fr +%if %%is_defined("ldap_admin_passfile") ldap_password: %%pwdreader("",%%ldap_admin_passfile) +%else + ldap_password: %%pwdreader("",%%ldap_reader_passfile) +%end if ldap_basedn: o=gouv,c=fr # Mise en page @@ -107,9 +111,9 @@ parameters: %end if # Si mode_auth = CAS - cas_host: ldapbundle.ac-arno.fr - cas_path: ~ - cas_port: 8443 + cas_host: %%eolesso_adresse + cas_path: %%eolesso_cas_folder + cas_port: %%eolesso_port # Si mode_aut = SAML saml_entityid: 'http://dev.nuonet.cadoles'