Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 268C2200CD9 for ; Thu, 3 Aug 2017 16:33:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 250A016BB23; Thu, 3 Aug 2017 14:33:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 438A116BB22 for ; Thu, 3 Aug 2017 16:33:12 +0200 (CEST) Received: (qmail 70326 invoked by uid 500); 3 Aug 2017 14:33:11 -0000 Mailing-List: contact commits-help@guacamole.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@guacamole.incubator.apache.org Delivered-To: mailing list commits@guacamole.incubator.apache.org Received: (qmail 70317 invoked by uid 99); 3 Aug 2017 14:33:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2017 14:33:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0DF48C1D14 for ; Thu, 3 Aug 2017 14:33:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.191 X-Spam-Level: X-Spam-Status: No, score=-99.191 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, T_FILL_THIS_FORM_SHORT=0.01, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id C7vULBzN5_hc for ; Thu, 3 Aug 2017 14:33:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 815FD5F242 for ; Thu, 3 Aug 2017 14:33:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3A833E0031 for ; Thu, 3 Aug 2017 14:33:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 70C5024656 for ; Thu, 3 Aug 2017 14:33:00 +0000 (UTC) Date: Thu, 3 Aug 2017 14:33:00 +0000 (UTC) From: "Nick Couchman (JIRA)" To: commits@guacamole.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (GUACAMOLE-358) CAS Authentication issue handling sessions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Aug 2017 14:33:13 -0000 [ https://issues.apache.org/jira/browse/GUACAMOLE-358?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nick Couchman reassigned GUACAMOLE-358: --------------------------------------- Assignee: Nick Couchman > CAS Authentication issue handling sessions > ------------------------------------------ > > Key: GUACAMOLE-358 > URL: https://issues.apache.org/jira/browse/GUACAMOLE-358 > Project: Guacamole > Issue Type: Bug > Components: guacamole-auth-cas, guacamole-auth-jdbc > Affects Versions: 0.9.13-incubating > Environment: Ubuntu Xenial 16.04, Tomcat 8, dedicated. Enviroment= built using the script from https://www.chasewright.com/guacamole-with-mys= ql-on-ubuntu/ > Reporter: Rodrigo Gon=C3=A7alves > Assignee: Nick Couchman > > After activating CAS authentication and being able to login, can't access= the setttings interface. It stays with the running gear and nothing is sho= wn. > On the browser console the following messages are show: > http://xxx:8080/guacamole/api/session/data/cas/users/100000000281061?toke= n=3D116AF1455BF7D95621229E33C66D5C633636EE4BEC12FF859EE6E6F3E604FF9A 404 (N= ot Found) > http://xxx:8080/guacamole/api/session/data/cas/self/permissions?token=3D1= 16AF1455BF7D95621229E33C66D5C633636EE4BEC12FF859EE6E6F3E604FF9A 404 (Not Fo= und) > Looking at the request, the following data is returned: > {quote}{"message":"Session not associated with authentication provider \"= cas\".","translatableMessage":{"key":"Session not associated with authentic= ation provider \"cas\".","variables":null},"statusCode":null,"expected":nul= l,"type":"NOT_FOUND"}{quote} > Already included records in tables guacamole_user and guacamole_user_perm= ission to configure the logged in user with 'ADMINISTER' permission but no = success. > {quote}mysql> select * from guacamole_user_permission; > +---------+------------------+------------+ > | user_id | affected_user_id | permission | > +---------+------------------+------------+ > | 1 | 1 | READ | > | 1 | 1 | UPDATE | > | 1 | 1 | ADMINISTER | > | 1 | 2 | ADMINISTER | > +---------+------------------+------------+ > 4 rows in set (0.00 sec) > mysql> select * from guacamole_user > -> ; > +---------+-----------------+----------------------------------+---------= -------------------------+---------------------+----------+---------+------= ---------------+-------------------+------------+-------------+----------+-= ----------+---------------+--------------+---------------------+ > | user_id | username | password_hash | password= _salt | password_date | disabled | expired | acces= s_window_start | access_window_end | valid_from | valid_until | timezone | = full_name | email_address | organization | organizational_role | > +---------+-----------------+----------------------------------+---------= -------------------------+---------------------+----------+---------+------= ---------------+-------------------+------------+-------------+----------+-= ----------+---------------+--------------+---------------------+ > | 1 | guacadmin | =E2=96=92E=E2=96=92}IN;=E2=96=92$=E2=96=92= =E2=96=92=E2=96=92u=E2=96=92Ul=E2=96=92=E2=96=92,-}=E2=96=92c;=E2=96=92J)= =E2=96=92A` | =E2=96=92$=E2=96=92=E2=96=92=E2=96=92+%(=E2=96=92= =E2=96=92=E2=96=92zy=E2=96=92B=E2=96=92=E2=96=92`d=E2=96=92i=C5=B3w=E2=96= =92=E2=96=92"d | 2017-08-02 11:33:00 | 0 | 0 | N= ULL | NULL | NULL | NULL | NULL = | NULL | NULL | NULL | NULL | > | 2 | xxxxxxxx | - | NULL = | 2017-08-02 00:00:00 | 0 | 0 | NULL = | NULL | NULL | NULL | NULL | NULL = | NULL | NULL | NULL | > +---------+-----------------+----------------------------------+---------= -------------------------+---------------------+----------+---------+------= ---------------+-------------------+------------+-------------+----------+-= ----------+---------------+--------------+---------------------+{quote} -- This message was sent by Atlassian JIRA (v6.4.14#64029)