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'