Software /
code /
prosody-modules
Diff
mod_storage_ldap/README.md @ 6211:750d64c47ec6 draft
Merge
author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
---|---|
date | Tue, 18 Mar 2025 00:31:36 +0700 |
parent | 6003:fe081789f7b5 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_storage_ldap/README.md Tue Mar 18 00:31:36 2025 +0700 @@ -0,0 +1,34 @@ +--- +labels: +- 'Type-Storage' +summary: 'LDAP storage for rosters, groups, and vcards' +... + +Introduction +============ + +See [mod\_lib\_ldap](mod_lib_ldap.html) for more information. + +Installation +============ + +You must install [mod\_lib\_ldap](mod_lib_ldap.html) 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](mod_lib_ldap.html) +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.html distributed with [mod\_lib\_ldap](mod_lib_ldap.html) for +details.