From user-return-4405-archive-asf-public=cust-asf.ponee.io@guacamole.apache.org Thu Aug 23 13:10:40 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4B61818061A for ; Thu, 23 Aug 2018 13:10:39 +0200 (CEST) Received: (qmail 56060 invoked by uid 500); 23 Aug 2018 11:10:38 -0000 Mailing-List: contact user-help@guacamole.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@guacamole.apache.org Delivered-To: mailing list user@guacamole.apache.org Received: (qmail 56050 invoked by uid 99); 23 Aug 2018 11:10:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2018 11:10:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 6FBAAC04F3 for ; Thu, 23 Aug 2018 11:10:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.99 X-Spam-Level: * X-Spam-Status: No, score=1.99 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=enis-tn.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id qO7cjlPuZWdc for ; Thu, 23 Aug 2018 11:10:36 +0000 (UTC) Received: from mail-vk0-f45.google.com (mail-vk0-f45.google.com [209.85.213.45]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 41ACE5F1B9 for ; Thu, 23 Aug 2018 11:10:36 +0000 (UTC) Received: by mail-vk0-f45.google.com with SMTP id q184-v6so2380912vke.7 for ; Thu, 23 Aug 2018 04:10:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enis-tn.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=csZ187xODCwamczsMgYQZ/gP31pG+I9b/Hs9yFvzyGs=; b=Ahxgzd0Uj0enoAz+huFluxFMke2YCG/Wif6TPsc+q8vCAvkZH7Br9EO2KaikTDseGw nF2IflV9hvYY9O89mtolaEO6u/Gpl+hTpK6kMRq4H95prWg3dkn76zesUUwpbjAyd4Mw COtmLoSL0Sj0lMgNXwg8JCY65Z2b2G413EPieG6WUSQYArcTPRvD2GS36umcTzflr33w fMQmEtUvHA0ePobEwxeqypM8Y3Rpk6jVExITuObxkGOD5latv4ZhDUB4MKH/rDa8g8Iw 2Za3Yb+K1y7iFUfiARu0N/3i0EoDJMkwOzVNq6WGiyTbXkBnZari9xnnyxpum6vU1krx ee9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=csZ187xODCwamczsMgYQZ/gP31pG+I9b/Hs9yFvzyGs=; b=gSqodhs7qj+A6ZLJSd6rHpmvzsFdA48q5hTIUlMv2iFkudcJ47l0LdkWPE+WHmcXuH 1c2M4KQm0vjCR0rqWfMUb8C046TE+LpQKNP7k3rzmj07mRhREAZREvg9hyYFH7eKhmDV xLoz2tUFs6aspXa2xVx0j8tBi8LhDzyIjyeLvpEofQwwenhFG839w6mlXxPEaewsSNkH 1O6Xr7nBZGi6vdSXZW7VPQL7qgyVXHAPoJO4sYqaAzGwAjKRbxhBBIR6/tkhu0J5zTGy bW9MqqAhDYLS31f4APWaMFQUN/XZewT0A3JRcRn8rxgJSPJB+DYatDMgKw8VeXrkhHG4 DzZQ== X-Gm-Message-State: APzg51A0fXgFFS3Og5DQFQtqN4M44a3aSy5XuOv9CWnDiLuZ20JQoiFS Wd2UlGimyaZVTVzuqy8zy6Ge+0G3jDOZE7uuAJiKT0wIAI4= X-Google-Smtp-Source: ANB0VdYtWMuxtahRpcarsce/4bsl89s4YWevSR9HhWF09iDumM7X5wHWyHsPYMFuC4yTkfjgD/kqcJe3hj79SnqLsNI= X-Received: by 2002:a1f:be04:: with SMTP id o4-v6mr5761698vkf.148.1535022635527; Thu, 23 Aug 2018 04:10:35 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:3383:0:0:0:0:0 with HTTP; Thu, 23 Aug 2018 04:10:35 -0700 (PDT) In-Reply-To: References: <1534557303513-0.post@n4.nabble.com> From: YOSRA SAADALLAH Date: Thu, 23 Aug 2018 12:10:35 +0100 Message-ID: Subject: Re: Guacamole view connection URLs To: user@guacamole.apache.org Content-Type: multipart/alternative; boundary="000000000000e9ccfa0574184e25" --000000000000e9ccfa0574184e25 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I am sure that the token is not the adequate one. I forced the request with other token and it worked. (copy and past the appropriate token) 2018-08-23 11:12 GMT+01:00 YOSRA SAADALLAH : > > Thank you , but it shows =C2=AB permution denied =C2=BB i can=E2=80=99t g= et the key > > Le jeu. 23 ao=C3=BBt 2018 =C3=A0 5:36 AM, Mike Jumper a > =C3=A9crit : > >> On Mon, Aug 20, 2018 at 8:05 AM, YOSRA SAADALLAH > > wrote: >> >>> Yes, but the requests that i did ,didn=E2=80=99t work for me. ( No such >>> tunnel..) are there other requests to do that? >>> >> >> If you are receiving "No such tunnel" when attempting to generate sharin= g >> credentials via "api/session/tunnels/UUID/activeConnection/sharingCreden= tials/", >> it is probably because the session you are using is not the same as the >> session associated with the connection you wish to share. Everything und= er >> "api/session/tunnels/" is related only to the tunnels within the current >> session, so unless you actually have a tunnel with that UUID in your >> current session, you will get "No such tunnel" regardless of whether >> someone else does have such a connection running. >> >> Assuming the above is true, you might have more success accessing things >> via: >> >> "api/session/data/IDENTIFIER/activeConnections/UUID/ >> sharingCredentials/SHARINGPROFILE" >> >> where "IDENTIFIER" is the identifier of the authentication provider >> serving as the data source (you will examples of this in other requests)= , >> "UUID" is the UUID of the active connection you wish to share, and >> "SHARINGPROFILE" is a sharing profile associated with that connection. >> >> I believe the above will work so long as the current user has permission >> to both see that active connection and use the specified sharing profile= . >> The "api/session/tunnels/UUID/activeConnection/" and >> "api/session/data/IDENTIFIER/activeConnections/UUID/" paths are >> equivalent ways of reaching the same active connection resource. >> >> - Mike >> >> --000000000000e9ccfa0574184e25 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
=3D""
I am sur= e that the token is not the adequate one. I forced the request with other t= oken and it worked. (copy and past the appropriate token)



2018= -08-23 11:12 GMT+01:00 YOSRA SAADALLAH <yosra.saadallah@enis.tn&= gt;:

Thank you , but it shows =C2=AB permution denied =C2=BB i can=E2= =80=99t get the key=C2=A0

Le=C2=A0jeu. 23 ao=C3=BBt 2018 =C3=A0 5:36 AM, M= ike Jumper <mike.jumper@glyptodon.org> a =C3=A9crit=C2=A0:
On Mon, Aug 20, 2018 at 8:05 AM, YOSRA SAADALLAH <= yosra.saadallah@enis.tn> wrote:
Yes, but the requests that i= did ,didn=E2=80=99t work for me. ( No such tunnel..) are there other reque= sts to do that?

If you are= receiving "No such tunnel" when attempting to generate sharing c= redentials via "api/session/tunnels/UUID/activeConnection/sh= aringCredentials/", it is probably because the session you are using i= s not the same as the session associated with the connection you wish to sh= are. Everything under "api/session/tunnels/" is related only to t= he tunnels within the current session, so unless you actually have a tunnel= with that UUID in your current session, you will get "No such tunnel&= quot; regardless of whether someone else does have such a connection runnin= g.

Assuming the above is true, you might hav= e more success accessing things via:

=C2=A0 =C2=A0= "api/session/data/IDENTIFIER/activeConnections/UUID/sharing= Credentials/SHARINGPROFILE"

where "= IDENTIFIER" is the identifier of the authentication provider serving a= s the data source (you will examples of this in other requests), "UUID= " is the UUID of the active connection you wish to share, and "SH= ARINGPROFILE" is a sharing profile associated with that connection.

I believe the above will work so long as the current= user has permission to both see that active connection and use the specifi= ed sharing profile. The "api/session/tunnels/UUID/activeConnectio= n/" and "api/session/data/IDENTIFIER/activeConnections/UUID/= " paths are equivalent ways of reaching the same active connection res= ource.
<= div class=3D"gmail_quote">

- Mike


--000000000000e9ccfa0574184e25--