1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 07:56:12 +00:00
Felix Bartels b3c7d702be
prepare ldap for multiserver (#169)
* add multi-server attributes to ldif
* add  example compose file for a multiserver
* add readme
* add script for database creation within the existing database instance
* add generation of admin.pem
* add own certificate for kopano_server_2
* add admin.pem to compose (only for multiserver)
* add spooler for 2nd node
* add link to ldap demo readme
2019-10-16 22:39:15 +02:00
..
2019-10-16 22:39:15 +02:00

Kopano LDAP demo image

Image to for an OpenLDAP server to provide some demo users for Kopano. Based on https://github.com/osixia/docker-openldap.

The LDAP tree is prepared for both single tenant setups (the default in Kopano) and multi tenant setups. To configure the multi tenant mode (also referred to as "hosted") of kopano-server the following values need to be added to kopano_server.env:

KCCONF_SERVER_ENABLE_HOSTED_KOPANO=YES
KCCONF_LDAP_LDAP_COMPANY_TYPE_ATTRIBUTE_VALUE=kopano-company

Additionally the ldap tree is also prepared for multiserver installations (also referred to as "distributed"), where multiple kopano-server processes share the total amount of mailboxes (controlled through a manual mapping in LDAP). See Multiserver Example for more information.

$ docker-compose -f examples/kopano-multiserver.yml up

Demo users created in the demo ldap all have a password that is identical to the username, e.g. the password for user1 user user1.