Thank you very much!!

Marcos Lopes
Gerente de TI - Emater-MG

Tel.: (31) 3349-8180

Cel.: (31) 98782-1976

[email protected]

www.emater.mg.gov.br


------ Mensagem original ------
De: "Mike Jumper" <[email protected]>
Para: "Marcos Lopes" <[email protected]>; [email protected]
Enviado(s): 31/08/2017 15:13:19
Assunto: Re: How to automatically authenticate in RDP after LDAP user access Guacamole Web with the same user.

The <authorize> tag for user-mapping.xml defines a username/password combination for Guacamole, not for a connection. The user-mapping.xml file is a separate, simplified, XML-driven authentication mechanism. It is not involved at all if you're using LDAP.

The tokens should be specified as the values of the "username" and "password" connection parameters. You can do this via LDAP alone, if you're using Guacamole's schema modifications in your LDAP directory:

http://guacamole.incubator.apache.org/doc/gug/ldap-auth.html#ldap-schema-changes <http://guacamole.incubator.apache.org/doc/gug/ldap-auth.html#ldap-schema-changes>

or with a database like MySQL or PostgreSQL.

http://guacamole.incubator.apache.org/doc/gug/ldap-auth.html#ldap-and-database <http://guacamole.incubator.apache.org/doc/gug/ldap-auth.html#ldap-and-database>

- Mike


On Aug 31, 2017 09:51, "Marcos Lopes" <[email protected]> wrote:
Dear Mike,

I try this, but doesn´t work.

I put ${GUAC_USERNAME} and ${GUAC_PASSWORD} parameter tokens in user-mapping.xml like picture in attachment.

I believe I have to put it in the tag <authorize username=" ${GUAC_USERNAME}" password = "${GUAC_PASSWORD}", but I do not know how.

Tanks a lot.


Marcos Roberto Lopes
31 8782-1976

2017-08-31 13:43 GMT-03:00 Mike Jumper <[email protected]>:
On Thu, Aug 31, 2017 at 9:40 AM, marcosrlopes <[email protected]> wrote:

How to automatically authenticate in RDP after LDAP user access Guacamole
Web with the same user? Thank you


Use the ${GUAC_USERNAME} and ${GUAC_PASSWORD} parameter tokens in your connection configuration:

http://guacamole.incubator.apache.org/doc/gug/configuring-guacamole.html#parameter-tokens <http://guacamole.incubator.apache.org/doc/gug/configuring-guacamole.html#parameter-tokens>

Thanks,

- Mike


Reply via email to