view mod_storage_ldap/README.wiki @ 1791:8df071457dee

mod_migrate: Provides a prosodyctl mod_migrate command for copying data between storage backends
author Kim Alvefur <zash@zash.se>
date Wed, 26 Aug 2015 18:03:31 +0200
parents 29f3d6b7ad16
children
line wrap: on
line source

#summary LDAP storage for rosters, groups, and vcards
#labels Type-Storage

= Introduction =

See [mod_lib_ldap] for more information.

= Installation =

You must install [mod_lib_ldap] to use this module. After that, you need only copy mod_storage_ldap.lua and ldap/vcard.lib.lua to your Prosody installation's plugins directory. Make sure vcard.lib.lua is installed under plugins/ldap/.

= Configuration =

In addition to the configuration that [mod_lib_ldap] itself requires, this plugin also requires the following fields in the ldap section:

  * user.namefield
  * groups.memberfield
  * groups.namefield
  * groups.basedn
  * vcard_format (optional)

See the README.md distributed with [mod_lib_ldap] for details.