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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user