1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-25 23:21:33 +00:00

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
This commit is contained in:
Felix Bartels
2019-10-16 22:39:15 +02:00
committed by GitHub
parent b004988517
commit b3c7d702be
8 changed files with 204 additions and 4 deletions
+7 -1
View File
@@ -6,9 +6,15 @@ Image to for an OpenLDAP server to provide some demo users for Kopano. Based on
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`:
```
```bash
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](../examples/kopano-multiserver) for more information.
```bash
$ 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`.