It works now. I missed that the ! in the password has to be escaped \! or it doesn't work. Thanks! or should I say Thanks\! However, the last problem is that login at the portal is intermittent. I often have to try several times to login before it takes it. The credentials are correct. I put ID and Password in several times and it just freezes. I have to refresh sometimes multiple times or login as someone else, then the first credential that failed might work if I go back to it. I am checking carefully that the user ID and Password are correct (and they are correct).
On Tue, Jan 7, 2025 at 5:25 PM Sahand Naghavi <[email protected]> wrote: > 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 >> >>>
