Univention Bugzilla – Bug 46779
Pass UCRVs ldap/server/.* to Docker Containers
Last modified: 2018-04-18 13:52:02 CEST
... we currently pass ldap/master/.*. This is problematic as the DC Master may not be available from every server in the domain. We would need to keep ldap/master/.* for compatibility.
Also add ldap/base. For the records: This can be achieved without an update. In fact, this bug is meant to provide a stable set of variables that Docker Apps can rely on. To work around the missing variables before an update: add an env file to the App with this content: LDAP_BASE=@%@ldap/base@%@ LDAP_SERVER=@%@ldap/server@%@ ...
Fixed in univention-appcenter 7.0.1-36A~4.3.0.201804102134 Please note that I also added a "\n" to the "summarized" env file between the original env file provided by the App and the additional variables added by the App Center. Currently, you need to add a newline to your env file or the final env file is broken.
OK - univention-appcenter -> univention-app install wordpress -> univention-app shell wordpress env| grep LDAP_ LDAP_SERVER_NAME=master.four.three LDAP_SERVER_IP=127.0.0.1 LDAP_HOSTDN=cn=wordp-82863136,cn=memberserver,cn=computers,dc=four,dc=three LDAP_SERVER_TYPE=master LDAP_MASTER=master.four.three LDAP_BASE=dc=four,dc=three LDAP_SERVER_PORT=7389 LDAP_MASTER_PORT=7389 OK - YAML
<http://errata.software-univention.de/ucs/4.3/16.html>