Thanks for the reply, Nick.

Here are the settings.

cat guacamole.properties
# MySQL Settings
mysql-hostname: 10.XXX.XX.XXX
mysql-port: 3306
mysql-database: guacamole_db
mysql-username: guacadmin
mysql-password: thecorrectDBpass

# LDAP Settings
ldap-hostname: 10.XX.XX.XX
ldap-port: 389
ldap-encryption-method: none
ldap-user-base-dn: CN=Users,DC=activedirserver,DC=local
ldap-username-attribute: sAMAccountName
ldap-search-bind-dn: CN=guacadmin,CN=Users,DC=activedirserver,DC=local
ldap-search-bind-password: thecorrectpassword!2025
ldap-max-search-results: 1000
ldap-follow-referrals: true
ldap-operation-timeout: 5000
ldap-connection-timeout: 5000

# Logging Level
logback.level.net.sourceforge.guacamole=DEBUG
logback.level.org.apache.guacamole.extension=DEBUG

docker run command:
docker run --name guacamole --network guacnet -e MYSQL_HOSTNAME=10.XX.XX.XX
-e MYSQL_PORT=3306 -e MYSQL_DATABASE=guacamole_db -e MYSQL_USER=guacadmin
-e MYSQL_PASSWORD=thecorrectDBpass -e GUACD_HOSTNAME=guacd -v
/home/guacamole/.guacamole:/etc/guacamole -p 8080:8080 -d
guacamole/guacamole

On Tue, Jan 7, 2025 at 12:37 PM Nick Couchman <[email protected]> wrote:

> On Tue, Jan 7, 2025 at 1:20 PM Sahand Naghavi <[email protected]>
> wrote:
>
>> Hi all,
>>
>> I’m having trouble getting the LDAP authentication extension to work with
>> Guacamole 1.5.3 in a Docker container.
>>
>> Setup:
>> Guacamole 1.5.3 running in Docker on Rocky 9
>> MySQL authentication works fine. guacadmin/guacadmin logs into the portal
>> LDAP .jar file is in the extensions directory inside the container with
>> correct permissions
>> The Problem:
>> The LDAP .jar file is not loading as an extension.
>> Logs only show MySQL Authentication as loaded.
>> LDAP login attempts to the portal itself fail.
>> What’s Confirmed:
>> LDAP connection works outside the container from bash.
>> Configuration and permissions look fine.
>> Debug logging is enabled, but nothing shows about LDAP being loaded or
>> failing to load.
>> Questions:
>> What could be the problem with logging in to the portal using LDAP
>> credentials?
>> Are there additional dependencies required for LDAP in Docker?
>> Is there a way to force logs to show errors or failures related to
>> extension loading?
>> Are there known compatibility issues with LDAP in Docker for this version?
>>
>>
> Can you please share more detail on what you're doing to enable LDAP
> authentication? Maybe provide a sanitized version of either the Docker
> command or Docker Compose file you're using to start the container?
>
> You also may need to enable additional debugging in the guacamole
> container and see what the log files say as to why the LDAP extension is
> not loading.
>
> -Nick
>
>>

Reply via email to