From user-return-3815-archive-asf-public=cust-asf.ponee.io@guacamole.apache.org Sun Apr 29 21:40:39 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 49E0D18063A for ; Sun, 29 Apr 2018 21:40:39 +0200 (CEST) Received: (qmail 57467 invoked by uid 500); 29 Apr 2018 19:40: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 57456 invoked by uid 99); 29 Apr 2018 19:40:38 -0000 Received: from mail-relay.apache.org (HELO mailrelay1-lw-us.apache.org) (207.244.88.152) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Apr 2018 19:40:38 +0000 Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) by mailrelay1-lw-us.apache.org (ASF Mail Server at mailrelay1-lw-us.apache.org) with ESMTPSA id 31BD9708 for ; Sun, 29 Apr 2018 19:40:37 +0000 (UTC) Received: by mail-lf0-f43.google.com with SMTP id j193-v6so9509578lfg.6 for ; Sun, 29 Apr 2018 12:40:36 -0700 (PDT) X-Gm-Message-State: ALQs6tD2kK+mmn73OgcSKyr4TiaEd/NbiUl+ugxpSuUF+UZIHjqNy3lG ry7TYhi14LUNoLWQFrpupA1weENb2xwB5x4I+HY= X-Google-Smtp-Source: AB8JxZrpXXCKJCSnD/Ks22HGI7sqBMA2rFmFeAe2O885ehbuAD54zWXXQYcfgBLFwzN+16Lotctag3dYI6oPCxu/AFg= X-Received: by 2002:a19:180a:: with SMTP id o10-v6mr5592346lfi.117.1525030835434; Sun, 29 Apr 2018 12:40:35 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:3b9d:0:0:0:0:0 with HTTP; Sun, 29 Apr 2018 12:40:34 -0700 (PDT) In-Reply-To: <000a01d3dfed$afa69710$0ef3c530$@lindenberg.one> References: <000a01d3dfed$afa69710$0ef3c530$@lindenberg.one> From: Nick Couchman Date: Sun, 29 Apr 2018 15:40:34 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: tree support in user-mapping.xml To: user@guacamole.apache.org Content-Type: multipart/alternative; boundary="00000000000037bc5d056b01e9af" --00000000000037bc5d056b01e9af Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Apr 29, 2018 at 3:10 PM, Joachim Lindenberg wrote: > Hello, > > I do have my extension for Hyper-V, that does authentication and > authorizations for my Hyper-V guests. However I also would like to includ= e > some of my infrastructure (SSH, VNC, etc.) into the solution =E2=80=93 an= d > preferably not as a flat list but with some hierarchy. I do understand th= at > I can run a database and insert all information, likely in parallel to my > own extension. However I think that=C2=B4s overkill (with one user, and s= ystem > load and backup is an issue) and would prefer if the user-mapping.xml > > could be extended to support a (simple, i.e. one level totally fine) tree > structure. > > > No, the basic file authentication (user-mapping.xml) extension does not support any organization to the connections. The JDBC module is actually the only module that does - all of the other modules that support connections (LDAP, upcoming QuickConnect, and Basic File Authentication) simply put the connections in a single, flat root group with no ability to organize them. If you need this functionality, you need to use the JDBC module - it's worth the very slight overhead and additional 10 minutes of work to get it set up. -Nick --00000000000037bc5d056b01e9af Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Apr 29, 2018 at 3:10 PM, Joachim Lindenberg &= lt;joachim@lind= enberg.one> wrote:

Hello,

I do have my= extension for Hyper-V, that does authentication and authorizations for my = Hyper-V guests. However I also would like to include some of my infrastruct= ure (SSH, VNC, etc.) into the solution =E2=80=93 and preferably not as a fl= at list but with some hierarchy. I do understand that I can run a database = and insert all information, likely in parallel to my own extension. However= I think that=C2=B4s overkill (with one user, and system load and backup is= an issue) and would prefer if the user-mapping.xml co= uld be extended to support a (simple, i.e. one level totally fine) tree str= ucture.


=

No, the basic file authentication (user-ma= pping.xml) extension does not support any organization to the connections.= =C2=A0 The JDBC module is actually the only module that does - all of the o= ther modules that support connections (LDAP, upcoming QuickConnect, and Bas= ic File Authentication) simply put the connections in a single, flat root g= roup with no ability to organize them.=C2=A0 If you need this functionality= , you need to use the JDBC module - it's worth the very slight overhead= and additional 10 minutes of work to get it set up.

-Nick=C2=A0
--00000000000037bc5d056b01e9af--