You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by marcosrlopes <ma...@gmail.com> on 2017/08/31 16:40:13 UTC
How to automatically authenticate in RDP after LDAP user access
Guacamole Web with the same user.
How to automatically authenticate in RDP after LDAP user access Guacamole
Web with the same user? Thank you
--
Sent from: http://apache-guacamole-incubating-users.2363388.n4.nabble.com/
Re[2]: How to automatically authenticate in RDP after LDAP user access
Guacamole Web with the same user.
Posted by Marcos Roberto Lopes <ma...@emater.mg.gov.br>.
Thank you very much!!
Marcos Lopes
Gerente de TI - Emater-MG
Tel.: (31) 3349-8180
Cel.: (31) 98782-1976
marcos.lopes@emater.mg.gov.br
www.emater.mg.gov.br
------ Mensagem original ------
De: "Mike Jumper" <mi...@guac-dev.org>
Para: "Marcos Lopes" <ma...@gmail.com>;
user@guacamole.incubator.apache.org
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" <ma...@gmail.com> 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 <mi...@guac-dev.org>:
>>>On Thu, Aug 31, 2017 at 9:40 AM, marcosrlopes
>>><ma...@gmail.com> 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
>>>
>>
>
Re: How to automatically authenticate in RDP after LDAP user access
Guacamole Web with the same user.
Posted by Mike Jumper <mi...@guac-dev.org>.
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
or with a database like MySQL or PostgreSQL.
http://guacamole.incubator.apache.org/doc/gug/ldap-auth.
html#ldap-and-database
- Mike
On Aug 31, 2017 09:51, "Marcos Lopes" <ma...@gmail.com> 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 <mi...@guac-dev.org>:
> On Thu, Aug 31, 2017 at 9:40 AM, marcosrlopes <ma...@gmail.com>
> 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-gu
> acamole.html#parameter-tokens
>
> Thanks,
>
> - Mike
>
>
Re: How to automatically authenticate in RDP after LDAP user access
Guacamole Web with the same user.
Posted by Mike Jumper <mi...@guac-dev.org>.
On Thu, Aug 31, 2017 at 9:40 AM, marcosrlopes <ma...@gmail.com>
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
Thanks,
- Mike