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 74CFE200CFE for ; Fri, 8 Sep 2017 18:26:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 73B9F1609C0; Fri, 8 Sep 2017 16:26:05 +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 9152D1609BD for ; Fri, 8 Sep 2017 18:26:04 +0200 (CEST) Received: (qmail 41782 invoked by uid 500); 8 Sep 2017 16:26:02 -0000 Mailing-List: contact user-help@guacamole.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@guacamole.incubator.apache.org Delivered-To: mailing list user@guacamole.incubator.apache.org Received: (qmail 41772 invoked by uid 99); 8 Sep 2017 16:26:02 -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; Fri, 08 Sep 2017 16:26:02 +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 5CF71CF1E4 for ; Fri, 8 Sep 2017 16:26:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.479 X-Spam-Level: ** X-Spam-Status: No, score=2.479 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=guac-dev-org.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id uI5GOfa-fWrk for ; Fri, 8 Sep 2017 16:26:01 +0000 (UTC) Received: from mail-ua0-f178.google.com (mail-ua0-f178.google.com [209.85.217.178]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 621955F569 for ; Fri, 8 Sep 2017 16:26:00 +0000 (UTC) Received: by mail-ua0-f178.google.com with SMTP id c27so4602023uah.2 for ; Fri, 08 Sep 2017 09:26:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=guac-dev-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=xbwp+/Zee5ZEs4/Aeu9A4gh+hk3RhHicerXaxU+KAh4=; b=H0BKlKl+jwzx0yfJqlK4FGVOdBLEEYrYwFuyoBhQvTKBh75dY9gY3ffZ8/6Cap31F4 04D4pc8h3lnYI/XU6DwQ9KgwqYFLjOECrDa2wO22L/uGKR/7R+Sa74lrVhHYqWdPvl/Y 2pasLgqi4NBqrTwfknENnxGG1SY+brP2KUaOg/B+VRLGwR1X5P6NUh1zZj4YgutZRGk5 x/ZhcHri+uG62HqK9OnOQbknMrPDUqgqq2z53U8xxw2io09rEcCncDOhPGsIKYohH/To GcSQ15RlP43BJUH1ibjZS/ZoNZG6+XkH1xSydfquM2etKYiRlw6wYLw8Yv+lSekXPvsi I9Hg== 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=xbwp+/Zee5ZEs4/Aeu9A4gh+hk3RhHicerXaxU+KAh4=; b=c2Ij5DyPlH9/ci/VNn3OOvqWvyhL4a+ikGEx7DmAVnrS2YMTTmHq6qMYUyJTa1bmNj XLdoPhwO3R3bQFBQd4Et1VukBH9p/Zpy0X9M2d7WWyRjkDHju1vlz8z+aubZJTS3tVgd M+yscxsnVZnVTBAENWqX1e7vjDsjb5S12SQLi2DEJB2/Uwxy5Kwe+B2MBlhNmAj7ekEM 0bBUyq+Dr4et1kx9bxKoysd2KIRZwCiWQWLMuduJDQBe7MivP5nRHV8iC0yhcwCxuzZ/ /whNgnFQZnvCv/m+dENQ0IxefMMaZtepMyzrE5UhEUElIeNsj2a+otMZzIyhzU5aKLEU 9yIQ== X-Gm-Message-State: AHPjjUj2mRvSywug33krSxGDp/TAIMwFhRd1ZfDuv83yG5W9FsRiqb9R 4kQMPByfLoSMaAVSDEGvIIEtZ4//Ath73j4= X-Google-Smtp-Source: ADKCNb5uJ2mJNhc7mv6YBGHOPHHOpRm8xyJ0AMwqzJNPVMiv7TaaaIestrlhN+E9tfBzdj5wjOP7424C7R4Xviw8bZo= X-Received: by 10.176.21.109 with SMTP id p42mr2382930uae.49.1504887958674; Fri, 08 Sep 2017 09:25:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.82.162 with HTTP; Fri, 8 Sep 2017 09:25:18 -0700 (PDT) X-Originating-IP: [172.56.39.216] In-Reply-To: References: <1504835304397-0.post@n4.nabble.com> <688504838.5334990.1504876087681@mail.yahoo.com> From: Mike Jumper Date: Fri, 8 Sep 2017 09:25:18 -0700 Message-ID: Subject: Re: Guacamole not reading guacamole.properties To: user@guacamole.incubator.apache.org Content-Type: multipart/alternative; boundary="001a114558be3498870558b00802" archived-at: Fri, 08 Sep 2017 16:26:05 -0000 --001a114558be3498870558b00802 Content-Type: text/plain; charset="UTF-8" On Fri, Sep 8, 2017 at 8:28 AM, D Chen wrote: > Looks like the logs got dropped...Anyways, I did more testing (Alpine 3.6, > Guacamole 0.9.13) and narrowed it down to the "user-mapping" property > contained within the guacamole.properties file not being read. > > guacamole.properties properties: > > guac:/etc/guacamole# cat guacamole.properties > > guacd-port: 7777 > user-mapping: /etc/guacamole/map/user-mapping.xml > > > The manual is incorrect in a couple ways here: 1) The "user-mapping" property doesn't actually exist and will have no effect. The property is actually "basic-user-mapping": https://github.com/apache/incubator-guacamole-client/blob/1c0ee41d0ecd5bc4a3550804b74b73b901e074c2/guacamole/src/main/java/org/apache/guacamole/auth/file/FileAuthenticationProvider.java#L72-L84 2) The "basic-user-mapping" property was supposed to be deprecated in favor of GUACAMOLE_HOME/user-mapping.xml. It shouldn't be documented in the manual at all: https://github.com/apache/incubator-guacamole-client/blob/1c0ee41d0ecd5bc4a3550804b74b73b901e074c2/guacamole/src/main/java/org/apache/guacamole/auth/file/FileAuthenticationProvider.java#L128 The manual needs to be updated to remove mention of this property, as (in addition to being wrong) it shouldn't be used in new deployments. For reference, the deprecation was due to the development associated with the initial migration to the Apache Incubator: https://issues.apache.org/jira/browse/GUACAMOLE-1 And is mentioned in the release notes of the first release under the Incubator: http://guacamole.incubator.apache.org/releases/0.9.10-incubating/#deprecation--compatibility-notes Anyway, as far as your case is concerned, the proper solution would be to place "user-mapping.xml" within GUACAMOLE_HOME ("/etc/guacamole"). Anything else leverages deprecated features. - Mike --001a114558be3498870558b00802 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On F= ri, Sep 8, 2017 at 8:28 AM, D Chen <perktvacc@gmail.com> w= rote:
Looks like the logs got dropped...Anyways, I did more testing (A= lpine 3.6, Guacamole 0.9.13) and narrowed it down to the "user-mapping= " property contained within the guacamole.properties file not being re= ad.

guacamole.properties properties:

guac:/etc/guacamole# cat guacamole.properties
guacd-port: 7777
user-mapping: /etc/guacamole/map/user-mapping.xml


The manual is incorrect in a couple ways here:

= 1) The "user-mapping" property doesn't actually exist and wil= l have no effect. The property is actually "basic-user-mapping":<= /div>


2) The "basic-user-mapping" property was supposed to be d= eprecated in favor of GUACAMOLE_HOME/user-mapping.xml. It shouldn't be = documented in the manual at all:


The manual needs to be updated to remove= mention of this property, as (in addition to being wrong) it shouldn't= be used in new deployments. For reference, the deprecation was due to the = development associated with the initial migration to the Apache Incubator:<= /div>

=

And is mentioned in the release notes of the first rele= ase under the Incubator:


Anyway, as = far as your case is concerned, the proper solution would be to place "= user-mapping.xml" within GUACAMOLE_HOME ("/etc/guacamole"). = Anything else leverages deprecated features.

- Mik= e

--001a114558be3498870558b00802--