From 8e9a9bcf6754489cdd232406d952916b7532ae49 Mon Sep 17 00:00:00 2001 From: mlan Date: Mon, 14 Dec 2020 17:33:54 +0100 Subject: [PATCH] - [docker](Dockerfile) Install kopano-archiver in target `core`. --- CHANGELOG.md | 1 + Dockerfile | 4 ++++ README.md | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09054c5..6cd4b80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # 1.2.5 +- [docker](Dockerfile) Install [kopano archiver](https://documentation.kopano.io/kopano_archiver_manual/) in target `core`. - [docker](Dockerfile) Install the smime webapp plugin providing [S/MIME](https://kopano.com/blog/s-mime-plugin-description/). - [docker](Dockerfile) Install the mdm webapp plugin providing [Mobile Device Management](https://documentation.kopano.io/webapp_mdm_manual/). - [demo](demo) Add [S/MIME](https://kopano.com/blog/s-mime-plugin-description/) cert generation. diff --git a/Dockerfile b/Dockerfile index 7b34dcb..a71b3a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -98,6 +98,10 @@ RUN mkdir -p $DOCKER_BUILD_DEB_DIR \ https://download.kopano.io/community ${DIST} ${REL} ${ARCH}) \ && echo "$webaddr<->${DIST} ${REL} ${ARCH}<-" \ && curl $webaddr | tar -xzC $DOCKER_BUILD_DEB_DIR \ + && webaddr=$(kopano-webaddr.sh archiver \ + https://download.kopano.io/community ${DIST} ${REL} ${ARCH}) \ + && echo "$webaddr<->${DIST} ${REL} ${ARCH}<-" \ + && curl $webaddr | tar -xzC $DOCKER_BUILD_DEB_DIR \ && apt-get update \ && for i in $(seq ${DOCKER_BUILD_PASSES}); do echo "\033[1;36mKOPANO CORE INSTALL PASS: $i\033[0m" \ && dpkg --install --force-depends --skip-same-version --recursive $DOCKER_BUILD_DEB_DIR \ diff --git a/README.md b/README.md index 614ea53..f819436 100644 --- a/README.md +++ b/README.md @@ -300,6 +300,10 @@ Adds an extra filter to the user search. Default `LDAP_USER_SEARCH_FILTER=` Hint: Use the `kopanoAccount` attribute in the filter to differentiate between non-Kopano and Kopano users. +#### `LDAP_BIND_USER`, `LDAP_BIND_PASSWD` + +The defaults for these environment variables are empty. If you cannot bind anonymously, do it with this distinguished name and password. Example: LDAP_BIND_USER=uid=admin,dc=example,dc=com, LDAP_BIND_PASSWD=secret. + ### Kopano LDAP attributes `LDAP_PROPMAP` The Kopano services needs to know which of the users LDAP attributes, like addresses, phone numbers and company information, to use. This information is defined in the `propmap` file, which is included in the Kopano installation files here `/usr/share/kopano/ldap.propmap.cfg`. When using `USER_PLUGIN=ldap` this LDAP `propmap` file is used by the Kopano services by setting `LDAP_PROPMAP=` to an empty string. Optionally you can use another file, for example`LDAP_PROPMAP=/etc/kopano/ldap.propmap.cfg`. If no file can be found there the installed one will be copied there.