Enable LDAP on the kosmos.org vhost

This commit is contained in:
Greg Karékinian
2020-02-18 15:47:31 +01:00
parent 276daf0ed7
commit 90a0e6be9f
3 changed files with 17 additions and 8 deletions

View File

@@ -61,7 +61,8 @@ hosts = [
{
name: "kosmos.org",
sql_database: "ejabberd",
ldap_enabled: false,
ldap_enabled: true,
ldap_password: ejabberd_credentials['kosmos_ldap_password'],
append_host_config: <<-EOF
modules:
mod_muc:
@@ -134,6 +135,7 @@ hosts.each do |host|
ldap_base: ldap_base,
ldap_server: ldap_domain,
ldap_encryption_type: ldap_encryption_type
notifies :run, "execute[ejabberdctl reload_config]", :delayed
end
end