user ldap reader si masteridentity != SQL
This commit is contained in:
parent
e66f8999ed
commit
9157b78671
@ -133,6 +133,11 @@ parameters:
|
||||
%else
|
||||
ldap_tls: false
|
||||
%end if
|
||||
|
||||
%if %%getVar("ninegate_masteridentity", 'SQL') != "SQL"
|
||||
ldap_user: %%ldap_reader
|
||||
ldap_password: %%pwdreader("",%%ldap_reader_passfile)
|
||||
%else
|
||||
%if %%getVar("activer_admin_passfile", 'non') == "oui"
|
||||
%if %%getVar("ldap_writer", '') == ""
|
||||
ldap_user: cn=admin,o=gouv,c=fr
|
||||
@ -143,6 +148,7 @@ parameters:
|
||||
%else
|
||||
ldap_user: %%ldap_reader
|
||||
ldap_password: %%pwdreader("",%%ldap_reader_passfile)
|
||||
%end if
|
||||
%end if
|
||||
ldap_basedn: %%ldap_base_dn
|
||||
%if %%getVar("ninegate_ldaptype", 'LDAP') == "AD"
|
||||
|
Loading…
Reference in New Issue
Block a user