view mod_storage_ldap.wiki @ 460:7204e7a78478

mod_s2s_auth_monkeysphere: Oh, this doesn't depend on luaunbound
author Kim Alvefur <zash@zash.se>
date Tue, 20 May 2014 11:15:44 +0200
parents 528721aaea46
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.