Commit graph

6 commits

Author SHA1 Message Date
Sara Aimée Smiseth
30a7893739 Add LDAP authentication and support to Prosody
This commit adds support for LDAP authentication.

The Dockerfile has been modified to install the required Lua modules (lua-ldap) and the prosody.cfg.lua file has been modified to add environment variables for configuring the LDAP connection. These environment variables include LDAP_BASE, LDAP_SERVER, LDAP_ROOTDN, LDAP_PASSWORD, LDAP_FILTER, LDAP_SCOPE, LDAP_TLS, LDAP_MODE, and LDAP_ADMIN_FILTER.

The authentication variable has also been updated to use the value of the AUTHENTICATION environment variable, which defaults to "internal_hashed" if not set. This allows users to configure Prosody to use LDAP for authentication instead of the default internal hashing method.
2023-03-25 06:55:46 +01:00
Sara Aimée Smiseth
357f4d4040
Fix arrays with multiple values (#14)
* fix arrays
* Set pidfile in prosody.cfg.lua
2020-10-10 08:55:43 +02:00
Sara Aimée Smiseth
2500028412 Add PROSODY_ADMINS to specify who is an administrator. Fixes #7 2020-06-26 17:34:24 +02:00
Sara Aimée Smiseth
4ff329cad2 Environment variables for most of prosody.cfg.lua 2020-06-01 08:18:15 +02:00
Sara Aimée Smiseth
b720a0b699 Update 0.11.5 2020-05-25 17:54:28 +02:00
shaula
16e9418632 initial commit 2016-10-18 20:20:59 +00:00