The goal is that Domain Admins can log in to Collabora Online Admin Console.
I started with https://wiki.univention.de/index.php/Integration_with_UCS/LDAP. I have UCS 4.3. Despite what this documentation says, I have the following environment variables in the container:
root@colla-21091438:/# env | grep -i ldap
LDAP_MASTER=ucs-4067.collabora.intranet
ldap_master=ucs-4067.collabora.intranet
LDAP_HOSTDN=cn=colla-21091438,cn=memberserver,cn=computers,dc=collabora,dc=intranet
ldap_hostdn=cn=colla-21091438,cn=memberserver,cn=computers,dc=collabora,dc=intranet
LDAP_MASTER_PORT=7389
ldap_master_port=7389
I miss the LDAP_BASE the most, because it is required to make queries. I see that the wiki page was created a few days ago. Why do I see different environment variables?
root@colla-21091438:/# ldapsearch -D $LDAP_HOSTDN -y /etc/machine.secret -H ldap://$LDAP_MASTER:$LDAP_MASTER_PORT
Warning: Password file /etc/machine.secret is publicly readable/writeable
# extended LDIF
#
# LDAPv3
# base <> (default) with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# search result
search: 2
result: 32 No such object
# numResponses: 1
On the other hand:
root@colla-21091438:/# ldapsearch -D $LDAP_HOSTDN -y /etc/machine.secret -b dc=collabora,dc=intranet -H ldap://$LDAP_MASTER:$LDAP_MASTER_PORT
… lists everything. So we need the base.