Added LDAP authentication support for ejabberd
This commit is contained in:
parent
22115a2843
commit
b3a507720a
2 changed files with 31 additions and 4 deletions
|
@ -23,6 +23,19 @@
|
|||
# $ejabberd_muclog_format:
|
||||
# Chatroom log format. Valid values html or plaintext.
|
||||
#
|
||||
# $ejabberd_auth:
|
||||
# Authentication method or array of multiple methods.
|
||||
# Valid values internal, external or ldap. Defaults to internal.
|
||||
#
|
||||
# $ejabberd_extauth:
|
||||
# Path to external authentication command.
|
||||
#
|
||||
# $ejabberd_ldap_server:
|
||||
# Array of LDAP authentication servers.
|
||||
#
|
||||
# $ejabberd_ldap_basedn.
|
||||
# LDAP base dn.
|
||||
#
|
||||
class ejabberd {
|
||||
|
||||
include user::system
|
||||
|
@ -34,6 +47,9 @@ class ejabberd {
|
|||
if !$ejabberd_admin {
|
||||
$ejabberd_admin = []
|
||||
}
|
||||
if !$ejabberd_auth {
|
||||
$ejabberd_auth = "internal"
|
||||
}
|
||||
|
||||
case $ejabberd_muclog_format {
|
||||
"","html","plaintext": { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue