diff --git a/tmpl/sunstone-ldap_auth.conf b/tmpl/sunstone-ldap_auth.conf index 8bec695..1853bce 100644 --- a/tmpl/sunstone-ldap_auth.conf +++ b/tmpl/sunstone-ldap_auth.conf @@ -11,13 +11,11 @@ server 1: # Ldap server :host: %%adresse_ip_ldap + :port: %%ldap_port %if %%getVar('ldap_tls', 'non') == 'oui' - :port: 636 # Uncomment this line for tls conections :encryption: :simple_tls -%else - :port: 389 %end if # base hierarchy where to search for users and groups