view mod_storage_ldap.wiki @ 422:7e5c6a70af1e

update
author Kim Alvefur <zash@zash.se>
date Fri, 24 Jan 2014 18:23:31 +0100
parents 469bcbdfe281
children 528721aaea46
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.