I tried this with no change. No LDAP login to the portal, only
guacadmin/guacadmin works.
docker stop guacamole
docker rm guacamole
docker run --name guacamole --network guacnet \
  -e GUACD_HOSTNAME=guacd \
  -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 LDAP_HOSTNAME=10.XX.XX.XX \
  -e LDAP_PORT=389 \
  -e LDAP_ENCRYPTION_METHOD=none \
  -e LDAP_USER_BASE_DN=CN=Users,DC=activedirserver,DC=local \
  -e LDAP_USERNAME_ATTRIBUTE=sAMAccountName \
  -e LDAP_SEARCH_BIND_DN=CN=guacadmin,CN=Users,DC=activedirserver,DC=local \
  -e LDAP_SEARCH_BIND_PASSWORD=thecorrectpassword!2025 \
  -v /home/guacamole/.guacamole:/etc/guacamole \
  -p 8080:8080 -d guacamole/guacamole
docker restart guacamole

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

> On Tue, Jan 7, 2025 at 5:09 PM Sahand Naghavi <[email protected]>
> wrote:
>
>> 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
>>
>>
> I don't see any of the LDAP options, here, on the Docker command, which
> means it probably isn't triggering the startup script to actually
> install/link the LDAP extension JAR file. Please have a look at the manual
> and follow the instructions, there, for enabling LDAP support in Docker:
>
>
> https://guacamole.apache.org/doc/gug/guacamole-docker.html#ldap-authentication
>
> -Nick
>
>>

Reply via email to