25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00
xmpp.chapril.org-ejabberd/test/ejabberd_SUITE_data/ejabberd.ldap.yml
2019-06-14 12:33:26 +03:00

36 lines
949 B
YAML

define_macro:
LDAP_CONFIG:
queue_type: ram
ldap_servers:
- "localhost"
ldap_rootdn: "cn=admin,dc=localhost"
ldap_port: 1389
ldap_password: "password"
ldap_base: "ou=users,dc=localhost"
auth_method: ldap
modules:
mod_vcard:
db_type: ldap
mod_roster: [] # mod_roster is required by mod_shared_roster
mod_shared_roster_ldap:
ldap_auth_check: off
ldap_base: "dc=localhost"
ldap_rfilter: "(objectClass=posixGroup)"
ldap_gfilter: "(&(objectClass=posixGroup)(cn=%g))"
ldap_memberattr: "memberUid"
ldap_ufilter: "(uid=%u)"
ldap_userdesc: "cn"
mod_adhoc: []
mod_configure: []
mod_disco: []
mod_ping: []
mod_proxy65: []
mod_register:
welcome_message:
subject: "Welcome!"
body: "Hi.
Welcome to this XMPP server."
mod_stats: []
mod_time: []
mod_version: []