Jitsi Ldap: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 29: | Zeile 29: | ||
authentication = "anonymous" | authentication = "anonymous" | ||
c2s_require_encryption = false | c2s_require_encryption = false | ||
| + | =Add on prosody.cfg.lua= | ||
| + | ;/etc/prosody/prosody.cfg.lua | ||
| + | #after modules_enabled section | ||
| + | consider_bosh_secure = true | ||
| + | |||
| + | =Add= | ||
| + | *echo org.jitsi.jicofo.auth.URL=XMPP:default.domain >> /etc/jitsi/jicofo/sip-communicator.properties | ||
| + | |||
| + | =Add= | ||
| + | ;/etc/jitsi/meet/default.domainconfig.js | ||
| + | hosts: { | ||
| + | domain: 'default.domain', | ||
| + | anonymousdomain: 'guest.default.domain', | ||
Aktuelle Version vom 1. April 2020, 12:22 Uhr
Install Modules
- apt install prosody-modules
ldap config
- cat /etc/prosody/conf.avail/ldap.cfg.lua
authentication = "ldap2"
ldap = {
hostname = '127.0.0.1',
bind_dn = 'uid=jitsi,ou=admins,dc=xxx,dc=de',
bind_password = 'secret',
use_tls = false,
user = {
usernamefield = 'uid',
basedn = 'ou=users,dc=xxx,dc=de',
filter = '(memberOf=cn=video,ou=groups,dc=xxx,dc=de)',
namefield = 'uid',
},
}
enable ldap
- cd /etc/prosody/conf.d
- ln -s ../conf.avail/ldap.cfg.lua .
change auth in default domain
- /etc/prosody/conf.d/default.domain.cfg.lua
-- authentication = "anonymous" authentication = "ldap2"
- add
VirtualHost "guest.default.domain" authentication = "anonymous" c2s_require_encryption = false
Add on prosody.cfg.lua
- /etc/prosody/prosody.cfg.lua
#after modules_enabled section consider_bosh_secure = true
Add
- echo org.jitsi.jicofo.auth.URL=XMPP:default.domain >> /etc/jitsi/jicofo/sip-communicator.properties
Add
- /etc/jitsi/meet/default.domainconfig.js
hosts: {
domain: 'default.domain',
anonymousdomain: 'guest.default.domain',