From user-return-4978-archive-asf-public=cust-asf.ponee.io@guacamole.apache.org Sun Jan 13 22:47:30 2019 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 A998F18062C for ; Sun, 13 Jan 2019 22:47:29 +0100 (CET) Received: (qmail 30813 invoked by uid 500); 13 Jan 2019 21:47:23 -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 30787 invoked by uid 99); 13 Jan 2019 21:47:23 -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, 13 Jan 2019 21:47:23 +0000 Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com [209.85.210.41]) by mailrelay1-lw-us.apache.org (ASF Mail Server at mailrelay1-lw-us.apache.org) with ESMTPSA id CFA9A43C7 for ; Sun, 13 Jan 2019 21:47:22 +0000 (UTC) Received: by mail-ot1-f41.google.com with SMTP id v23so17704413otk.9 for ; Sun, 13 Jan 2019 13:47:22 -0800 (PST) X-Gm-Message-State: AJcUukc1IHeaZnYH8mAd3e2bXTGlPydhYdrrGcxpeSdiX37nZjjN/R0g EH49VtxlcoIv2d+5yZ0JqYyXNXVXPnxmW7tGvZ+J5w== X-Google-Smtp-Source: ALg8bN6mOmGdijHR7luZUo2QSsPS9RzEbkOzZR6FJB+/IbZaA14NfX4yWMzo3RMgUSwJcPgyXMohEAc7I9ooXkpL2KQ= X-Received: by 2002:a9d:172e:: with SMTP id i46mr14660023ota.322.1547416042165; Sun, 13 Jan 2019 13:47:22 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Mike Jumper Date: Sun, 13 Jan 2019 13:46:45 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ldap groups in 1.0.0 RC1 To: user@guacamole.apache.org Content-Type: multipart/alternative; boundary="000000000000836c46057f5ddf6c" --000000000000836c46057f5ddf6c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, Jan 13, 2019 at 12:29 PM Philip Herbert wrote: > for some reason I do not understand, I can not enable debug logging. > > I have added the logback.xml to /etc/gucamamole (where > guacamole.properties is located) > > > > startup in catalina.out show > > > > Loading logback configuration from > "/usr/share/tomcat7/.guacamole/logback.xml > > > > (this file i seither copied or contains the same information, however I > only get info level logging. > > > What am I doing wrong ? > > (see appended startup messages) > I would double-check that those files are indeed the same, or migrate entirely to just one of either "/usr/share/tomcat7/.guacamole/" or "/etc/guacamole/". Using two of the possible directories for GUACAMOLE_HOME will only cause confusion. If both exist, Guacamole will only read from one of those locations. In this case, the ".guacamole" one will take effect and "/etc/guacamole" will be ignored: http://guacamole.apache.org/doc/gug/configuring-guacamole.html#overriding-g= uacamole-home Once you've reduced things down to one GUACAMOLE_HOME and you're still not seeing what you expect with your logback.xml, post it here and we can look. It may just need fresh pair of eyes. > > Regarding https://issues.apache.org/jira/browse/GUACAMOLE-696 > > > > group based-dn is set tot he root oft the directory, I this is should > cause matching groups =E2=80=A6? > > Yes, assuming your LDAP directory allows queries against the root. It's my understanding that some, like Active Directory, will not always allow this. Once you have debug-level logging successfully enabled, all LDAP queries will be logged, and it will be clearer what's happening. - Mike --000000000000836c46057f5ddf6c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, Jan 13, 2019 at = 12:29 PM Philip Herbert <mail@pherbe= rt.de> wrote:

for some reason I do not understand, I can not= enable debug logging.

I have added the logback.xml to /etc/gucamamol= e (where guacamole.properties is located)

=C2=A0

startup in catalina.out show

=C2=A0

Loading logback configuration from "/usr/= share/tomcat7/.guacamole/logback.xml

=C2=A0

(this file i seither copied or contains the sa= me information, however I only get info level logging.=


What am I doing wrong ?

(see appended startup messages)


I would double-check that those fi= les are indeed the same, or migrate entirely to just one of either "/u= sr/share/tomcat7/.guacamole/" or "/etc/guacamole/". Using tw= o of the possible directories for GUACAMOLE_HOME will only cause confusion.= If both exist, Guacamole will only read from one of those locations. In th= is case, the ".guacamole" one will take effect and "/etc/gua= camole" will be ignored:


Once you've reduce= d things down to one GUACAMOLE_HOME and you're still not seeing what yo= u expect with your logback.xml, post it here and we can look. It may just n= eed fresh pair of eyes.

=C2=A0

Regarding https://issues.apache.= org/jira/browse/GUACAMOLE-696

=C2=A0

group based-dn is set tot he root oft the dire= ctory, I this is should cause matching groups =E2=80=A6?


Yes, assuming your LDAP directory allows queries against t= he root. It's my understanding that some, like Active Directory, will n= ot always allow this.

Once you have debug-level lo= gging successfully enabled, all LDAP queries will be logged, and it will be= clearer what's happening.

- Mike
=
=
--000000000000836c46057f5ddf6c--