Add LDAP support to ejabberd

Users in the cn=greg,ou=users,dc=kosmos,dc=org group and the xmpp
attribute set to enabled will be able to log in using their userPassword
This commit is contained in:
Greg Karékinian
2019-11-04 19:00:56 +01:00
parent 56817c9355
commit 786a71cee2
2 changed files with 18 additions and 1 deletions

View File

@@ -17,6 +17,13 @@ host_config:
sql_database: "ejabberd"
sql_username: "ejabberd"
sql_password: "<%= @pgsql_password %>"
auth_method: [sql, ldap]
ldap_servers: ["<%= @ldap_server %>"]
ldap_rootdn: "<%= @ldap_username %>"
ldap_password: "<%= @ldap_password %>"
ldap_encrypt: <%= @ldap_encryption_type %>
ldap_base: "<%= @ldap_base %>"
ldap_filter: "(&(objectClass=account)(xmpp=enabled))"
"5apps.com":
sql_type: pgsql
sql_server: "localhost"