[
https://issues.apache.org/jira/browse/GUACAMOLE-1660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17576879#comment-17576879
]
Vittor de Castro commented on GUACAMOLE-1660:
---------------------------------------------
Just for a test I tried to use the ${LDAP_MOBILE} token just to make sure that
I wasn't messing up with the camel case of the string, the same thing happened,
it seems as if guacamole isn't even reading the user's attribute:
!Screenshot_27.png!!Screenshot_26.png!
print of the /var/log/syslog:
!Screenshot_28.png!
If i change this token to just pt-br-qwerty it changes the keymap accordingly,
my objective is to use an attribute as the hostname parameter on the
guacConfigGroup and it doesn't seen to even read it.
> Apache Guacamole LDAP Tokens -Reading User Attributes
> -----------------------------------------------------
>
> Key: GUACAMOLE-1660
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1660
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole-auth-ldap
> Affects Versions: 1.4.0
> Environment: Debian 10
> Reporter: Vittor de Castro
> Priority: Minor
> Labels: Ldap
> Attachments: Screenshot_20.png, Screenshot_21.png, Screenshot_22.png,
> Screenshot_23.png, Screenshot_24.png, Screenshot_25.png, Screenshot_26.png,
> Screenshot_27-1.png, Screenshot_27.png, Screenshot_28-1.png, Screenshot_28.png
>
>
> While using an LDAP to store connection data instead of using the database I
> created a GuacConfigGroup and it's guacConfigParameter is like this:
> domain=contoso.com
> hostname=${LDAP_POBOX}
> password=\{GUAC_PASSWORD}
> port=3389
> username=${GUAC_USERNAME}
> my [guacamole.properties|https://guacamole.properties/] has this on the end
> of the file:
> ldap-user-attributes: PObox, info
> The PObox attribute of the user is the IP address of the server I'm trying to
> connect, when I change the hostname attribute of the guacConfigGroup to the
> IP or a DNS It connects normally, but when I try to use the AD attribute it
> doesn't connect and I get this on the guacd syslog:
> guacd[31714]: RDP server closed/refused connection: DNS lookup failed
> (incorrect hostname?)
> After some testing using other guacConfigParameters I saw that it's not even
> reading the LDAP attribute. Followed [this documentation to get
> here|https://guacamole.apache.org/doc/gug/ldap-auth.html#how-guacamole-uses-ldap]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)