[
https://issues.apache.org/jira/browse/GUACAMOLE-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17997763#comment-17997763
]
erik commented on GUACAMOLE-1978:
---------------------------------
i have absolutly same issue and no idea "why", i use a external mysql database.
this is working fine with version 1.5.0, but not with 1.6.0. here my compose
file:
{code:java}
# 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{code}
> Unable to login on build from main branch
> -----------------------------------------
>
> Key: GUACAMOLE-1978
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1978
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole
> Affects Versions: 1.6.0
> Reporter: Frank The Tank
> Priority: Major
> Fix For: 1.6.0
>
>
> When building the client from the main branch or the staging/1.6.0 on an
> arm64 container, it builds just fine, but after launching the containers, I
> am unable to login with the default guacadmin/guacadmin. Just says login
> failed. The errors in the logs are:
> {code:java}
> 21:16:06.353 [http-nio-8080-exec-8] DEBUG
> o.a.g.a.f.FileAuthenticationProvider - User mapping file
> "/tmp/guacamole-home.Ydf78SGgoV/user-mapping.xml" does not exist and will not
> be read.14321:16:06.354 [http-nio-8080-exec-8] WARN
> o.a.g.event.EventLoggingListener - Authentication attempt from [<REDACTED>,
> 10.10.10.2] for user "guacadmin" failed: unknown error (no specific failure
> recorded)14421:16:06.355 [http-nio-8080-exec-8] DEBUG
> o.a.g.rest.RESTExceptionMapper - Client request rejected: Permission Denied.
> {code}
> I'm using an initialized Postgres DB for the backend, and have made sure the
> psql extension and lib are available in the container.
> I would try 1.5.5, but it fails to build on arm64 due to maven issues.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)