X2Go Bug report logs - #140
x2gobroker: agent-query-mode in sessionprofiles ignored

version graph

Package: x2gobroker; Maintainer for x2gobroker is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2gobroker is src:x2gobroker.

Reported by: Anders Bruun Olsen <abo@dsl.dk>

Date: Wed, 6 Mar 2013 14:33:01 UTC

Severity: normal

Tags: wontfix

Found in version 0.0.0.6

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: git-admin@x2go.org
Subject: Bug#140: x2gobroker: agent-query-mode in sessionprofiles ignored
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 140@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Resent-To: x2go-dev@lists.berlios.de
Resent-CC: X2Go Developers <x2go-dev@lists.berlios.de>
X-Loop: git-admin@x2go.org
Resent-Date: Wed, 06 Mar 2013 17:42:39 +0000
Resent-Message-ID: <handler.140.B140.136259174232430@bugs.x2go.org>
Resent-Sender: git-admin@x2go.org
X-X2Go-PR-Message: followup 140
X-X2Go-PR-Package: x2gobroker
X-X2Go-PR-Keywords: wontfix
Received: via spool by 140-submit@bugs.x2go.org id=B140.136259174232430
          (code B ref 140); Wed, 06 Mar 2013 17:42:39 +0000
Received: (at 140) by bugs.x2go.org; 6 Mar 2013 17:42:22 +0000
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id C98005DB0D;
	Wed,  6 Mar 2013 18:42:22 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 9E3121068;
	Wed,  6 Mar 2013 18:42:22 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 836AC3B9B1;
	Wed,  6 Mar 2013 18:42:22 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id AxEbamzOdibE; Wed,  6 Mar 2013 18:42:22 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 6187D3BACC;
	Wed,  6 Mar 2013 18:42:22 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 4034F3B9B1;
	Wed,  6 Mar 2013 18:42:22 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	grimnir.das-netzwerkteam.de
X-Spam-Flag: NO
X-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00,
	MIME_QP_LONG_LINE,URIBL_BLOCKED autolearn=ham version=3.3.1 running as userid=
X-Spam-Level: 
X-Spam-Bayes-Score: 0.0000
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id F008F3BA89; Wed,  6 Mar 2013 18:42:21 +0100 (CET)
Received: from fylgja.das-netzwerkteam.de (fylgja.das-netzwerkteam.de
 [78.46.204.97]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Wed, 06 Mar 2013 18:42:21 +0100
Message-ID: <20130306184221.208478rhytsrn119@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Wed, 06 Mar 2013 18:42:21 +0100
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Anders Bruun Olsen <abo@dsl.dk>
Cc: 140@bugs.x2go.org, control@bugs.x2go.org
References:  <CAFJm-UP+K-ND-5syc0urRGxUr5EzizeKnuDzoaoDrcUGuyD2Uw@mail.gmail.com>
 <20130306180730.1027260dp4d6wdsi@mail.das-netzwerkteam.de>
 <CAFJm-UM+1-oOBUf5Y_TDqWHO+qBHTB7E3X-AZ10MH13HgcVxbw@mail.gmail.com>
In-Reply-To:  <CAFJm-UM+1-oOBUf5Y_TDqWHO+qBHTB7E3X-AZ10MH13HgcVxbw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_766ipbhioa9p";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)
[Message part 1 (text/plain, inline)]
close #140
thanks

Hi Anders,

On Mi 06 Mär 2013 18:15:26 CET Anders Bruun Olsen wrote:

> 2013/3/6 Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
>>
>> Indeed the option agent-query-mode is ignored in
>> x2gobroker-sessionprofiles.**conf, as it is only available in the backend
>> sections of x2gobroker.conf.
>>
>
> Right. My mistake. My understanding was "per profile", not "per backend",
> even though it clearly says per-broker-backend in the comment. Concept
> confusion I'm afraid.
>
>
>> I see that the new autologin (which works) uses self.get_profile_broker()
>>> instead of self.config to access settings. This might be the source of the
>>> problem?
>>
>> I could not find the usage of self.get_profile_broker() in
>> self.get_agent_query_mode(). If I missed something, can you point me to the
>> exact line?
>>
>
> In branch 0.0.0.6 from git:
> abo@x2go-broker:~/x2gobroker/x2gobroker$ grep -n self.get_profile_broker
> brokers/base_broker.py
> 478:        _profile = self.get_profile_broker(profile_id)
> 504:        _profile = self.get_profile_broker(profile_id)
>
> But that was just me trying to figure out why the autologin setting was
> being picked up from x2gobroker-sessionprofiles.conf while agent-query-mode
> wasn't. Since the answer is, that it works as intended, this last part is a
> non-issue as well.

Marking this issue as done, then.

Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 20:52:37 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.