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:
        port: PROXY_PORT
      mod_register:
        welcome_message:
          subject: "Welcome!"
          body: "Hi.
Welcome to this XMPP server."
      mod_stats: []
      mod_time: []
      mod_version: []
