New config and credentials for LDAP connection in mediawiki
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user