You’ve got a typo in MYSQL_USERNAME, that might be the issue.


> On 8 Jul 2025, at 13:43, Erik Dittert <[email protected]> wrote:
> 
> Hi,
> 
> i want to use this compose:
> 
> # networks
> # create a network 'guacnetwork_compose' in mode 'bridged'
> networks:
>   guacnetwork_compose:
>     driver: bridge# services
> services:
>   # guacd
>   guacd:
>     container_name: guacd_compose_dev
>     image: guacamole/guacd:1.6.0
>     environment:
>             ACCEPT_EULA: "Y"
>             LOG_LEVEL: "debug"
>     networks:
>       guacnetwork_compose:
>     restart: always
>     volumes:
>     - ./drive:/drive:rw
>     - ./record:/var/lib/guacamole/recordings:rw
>   # guacamole
>   guacamole:
>     container_name: guacamole_compose_dev
>     depends_on:
>     - guacd
>     environment:
>         GUACD_HOSTNAME: guacd
>         GUACAMOLE_HOME: /opt/guacamole
>         MYSQL_ENABLED: true
>         MYSQL_HOSTNAME: 192.168.62.25
>         MYSQL_PORT: 3306
>         MYSQL_DATABASE: guacamole1
>         MYSQL_USERNAMSE: guacamole
>         MYSQL_PASSWORD: xxxxxxxxxxxxxxxxxxxxxxxx
>         MYSQL_DRIVER: mysql
>         MYSQL_SSL_MODE: disabled
>         MYSQL_AUTO_CREATE_ACCOUNTS: true
>         LOG_LEVEL: "debug"
>         LDAP_ENABLED: true
>         LDAP_HOSTNAME: 192.168.62.30
>         LDAP_USER_BASE_DN: DC=xxxxxxxxxxxxx
>         LDAP_PORT: 389
>         LDAP_ENCRYPTION_METHOD: none 
>         LDAP_SEARCH_BIND_DN: CN=xxxxxxxxxx,CN=Users,DC=xxxxxxxxxxx
>         LDAP_SEARCH_BIND_PASSWORD: xxxxxxxxxxxxxxxxx
>         LDAP_USER_SEARCH_FILTER: (&(objectClass=user)(|
>             (memberOf=cn=FG_IT,cn=groups,dc=xxxxxxxxxxx)
>             ))
>         LDAP_USERNAME_ATTRIBUTE: "sAMAccountName"
>         LDAP_GROUP_BASE_DN: "dc=xxxxxxxxxxxx"
>         LDAP_GROUP_NAME_ATTRIBUTE: "CN"
>         LDAP_GROUP_SEARCH_FILTER: 
> (&(objectClass=group)(|(cn=FG*)(cn=Proj*)(cn=FA*)))
>         REMOTE_IP_VALVE_ENABLED: true
>         REMOTE_IP_VALVE_REMOTE_IP_HEADER: x-forwarded-for
>         PROXY_BY_HEADER: x-forwarded-by
>         REMOTE_IP_VALVE_PROTOCOL_HEADER: X-Forwarded-Proto
>         
>         #performance
>         disable_bitmap_caching: true
>         
>         TOTP_ENABLED: true
>         TOTP_ISSUER: "guac.xxxxxxxxxxxxxxxxxxxxx"
>         TOTP_DIGITS: "6"
>         TOTP_PERIOD: "30"
>         TOTP_MODE: "sha1"
>         
>         RECORDING_SEARCH_PATH: '/var/lib/guacamole/recordings'
>         WEBAPP_CONTEXT: "ROOT"                      
>       
>     image: guacamole/guacamole:1.6.0
>     links:
>     - guacd
>     networks:
>       guacnetwork_compose:
>     volumes:
>     - ./extensions:/opt/guacamole/extensions
>     - ./drive:/drive:rw
>     - ./record:/var/lib/guacamole/recordings:ro
>     ports:
>     - 8087:8080/tcp
>     restart: always
> 
> with 1.5.0 works well, but in 1.6.0 it seems it is not connecting to my mysql 
> server.
> 
> in logs i find not more than this when i try to login:
> 
> guacamole_compose_dev  | 12:42:21.633 [http-nio-8080-exec-7] WARN  
> o.a.g.event.EventLoggingListener - Authentication attempt from 217.91.xxx.xxx 
> for user "testuser" failed: unknown error (no specific failure recorded)
> 
> 
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to