New config and credentials for LDAP connection in mediawiki

This commit is contained in:
Greg Karékinian
2022-05-11 16:21:51 +02:00
parent 5c31531357
commit 0d133de1b8
2 changed files with 11 additions and 10 deletions

View File

@@ -27,6 +27,7 @@
include_recipe 'apt'
include_recipe 'ark'
include_recipe 'composer'
include_recipe 'kosmos-dirsrv::hostsfile'
server_name = 'wiki.kosmos.org'
@@ -158,7 +159,7 @@ if node["mediawiki"]["ldap_enabled"]
package "php-ldap"
ldap_domain = node['kosmos-dirsrv']['master_hostname']
ldap_encryption_type = node.chef_environment == "development" ? "clear" : "tls"
ldap_encryption_type = "clear"
ldap_base = "ou=kosmos.org,cn=users,dc=kosmos,dc=org"
end