Univention Bugzilla – Bug 46223
Customize LDAP_HOSTDN env variable name
Last modified: 2018-02-14 13:31:52 CET
We are passing the ldap/hostdn of the Docker container into the App. As this is sometimes used as the LDAP user of the Auth integration, it would be better to make the name customizable.
Fixed in univention-appcenter 6.0.11-13A~4.2.0.201802061112
I don't understand this, what do i have to set in the ini file, what env var is set in the container i tried DockerEnvLdapUser = DOCKERLDAP -> docker exec -it 37b7108183b9 env| grep -i dock updater_identify=Docker App UPDATER_IDENTIFY=Docker App docker_host_name=master.four.two DOCKER_HOST_NAME=master.four.two container=docker -> docker exec -it 37b7108183b9 env| grep -i ldap LDAP_URL=ldap://master.four.two:7389 LDAP_BASE=dc=four,dc=two LDAP_DEFAULT_ORGA=true LDAP_SYNTHETIC_GROUP=LDAP User LDAP_USER_BASE= LDAP_USER_FILTER=(&(uid=%v)(relutionActivated=TRUE)) LDAP_USER_MAPPING_MANUAL=true LDAP_USER_MAPPING_UNIQUEKEY=entryUUID LDAP_USER_MAPPING_EMAIL=mailPrimaryAddress LDAP_GROUP_ENABLED=false ldap_hostdn=cn=relut-82279546,cn=memberserver,cn=computers,dc=four,dc=two LDAP_HOSTDN=cn=relut-82279546,cn=memberserver,cn=computers,dc=four,dc=two ldap_master=master.four.two LDAP_MASTER=master.four.two ldap_master_port=7389 LDAP_MASTER_PORT=7389
This should work... how did you set DockerEnvLdapUser? univention-app dev-set nextcloud DockerEnvLdapUser=LDAP_USERNAME univention-app install nextcloud worked for me.
yes, works -> univention-app dev-set wordpress DockerEnvLdapUser=LDAP_USERNAME -> univention-app install wordpress -> univention-app shell wordpress env| grep LDAP_US LDAP_USERNAME=cn=wordp-14451885,cn=memberserver,cn=computers,dc=four,dc=two OK - merged to 4.3 OK - YAML
<http://errata.software-univention.de/ucs/4.2/285.html>