Placing my notes here so others can use them as well.
I got Guacamole working with database and also authenticating against openLDAP.
The environment variables for Postgresql:
POSTGRES_DATABASE:
POSTGRES_HOSTNAME:
POSTGRES_PORT: <PORT - only if not on 5432>
POSTGRES_PASSWORD:
POSTGRES_USER: <db-username: suggested ‘guacamole’>
Question: Does the integration with EGroupware require the database-tables to be created in the egroupware-database? Or is that only necessary when using the users/groups defined in egroupware?
For LDAP-authentication, you need to use the same values as provided to egroupware, relevant environment variables (also in docker-compose.yml):
LDAP_HOSTNAME:
LDAP_USER_BASE_DN: <user base dn: ou=Users,dc=example,dc=org>
LDAP_GROUP_BASE_DN: <group base dn: ou=Groups,dc=example,dc=org>
LDAP_SEARCH_BIND_DN: <search bind dn: uid=egw,ou=Services,dc=example,dc=org>
LDAP_SEARCH_BIND_PASSWORD:
(Examples are based on normal locations within LDAP)
In my case, I also had to add the following 2 lines to the “guacamole.properties” file in the “guacamole-home” folder:
indent preformatted text by 4 spacesldap-member-attribute: memberUid
ldap-member-attribute-type: uid
Next steps:
- Figure out proper integration into EGroupware