X2Go Bug report logs - #1609
Unable to start an x2go session for a user with $ in the username

Package: libx2go-server-db-perl; Maintainer for libx2go-server-db-perl is X2Go Developers <x2go-dev@lists.x2go.org>; Source for libx2go-server-db-perl is src:x2goserver.

Reported by: Bart Janssens <bjanssens@inuits.eu>

Date: Wed, 12 Jul 2023 09:15:02 UTC

Severity: normal

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1609: Unable to start an x2go session for a user with $ in the username
Reply-To: Bart Janssens <bjanssens@inuits.eu>, 1609@bugs.x2go.org
Resent-From: Bart Janssens <bjanssens@inuits.eu>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: owner@bugs.x2go.org
X-Loop: owner@bugs.x2go.org
Resent-Date: Wed, 12 Jul 2023 09:15:02 +0000
Resent-Message-ID: <handler.1609.B.168915312130134@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1609
X-X2Go-PR-Package: perl-x2go-server-db
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.168915312130134
          (code B); Wed, 12 Jul 2023 09:15:02 +0000
Received: (at submit) by bugs.x2go.org; 12 Jul 2023 09:12:01 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 required=3.0 tests=BAYES_05,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE,
	URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2
Received: from zimbra88.inuits.eu (zimbra88.inuits.eu [176.31.37.175])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id E7BF55DA21
	for <submit@bugs.x2go.org>; Wed, 12 Jul 2023 11:11:53 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by zimbra88.inuits.eu (Postfix) with ESMTP id DC1F211C0D8F
	for <submit@bugs.x2go.org>; Wed, 12 Jul 2023 11:11:52 +0200 (CEST)
Received: from zimbra88.inuits.eu ([127.0.0.1])
	by localhost (zimbra88.inuits.eu [127.0.0.1]) (amavisd-new, port 10032)
	with ESMTP id QcWT9GDqZIBz for <submit@bugs.x2go.org>;
	Wed, 12 Jul 2023 11:11:51 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by zimbra88.inuits.eu (Postfix) with ESMTP id AD56111C0D51
	for <submit@bugs.x2go.org>; Wed, 12 Jul 2023 11:11:51 +0200 (CEST)
DKIM-Filter: OpenDKIM Filter v2.10.3 zimbra88.inuits.eu AD56111C0D51
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inuits.eu;
	s=E845565C-8838-11E9-A43F-52B5C8A0861E; t=1689153111;
	bh=Hs7VL0PfQUoL3ZDWO++Spj85yRag3S83Uwy0pJ01HUU=;
	h=Date:From:To:Message-ID:Subject:MIME-Version;
	b=euokPh41ccYspKIHHB4mt6maDDzN5Qw3t0y/xLJAMvlD/JlK9S7uEf/7qdSVv4axC
	 /0EbASId5F8TMzj7jsvGcNs55GmFvW+XvIlRt79TMGfebaf1axc5M6K9GX/QPrOH+H
	 dASKRBsyoP/OdPrUzwR5mGYcUad0/rSgrRyZr7G/GC52a+j2gspCQvnTitPRtMoC+O
	 UH1sRhF8bHpZ3wTdY5KPUqfUYvJSO8moRvOXzFk9p5ozaiwHqaTPPgmLAAFVrncjZj
	 RUe2mcqUvOUfSe6LiRhP/X0jJXVznBrAvzMATbX9cBMurXTMFTyOXfZUNPgoRFKmfH
	 6WJhz+R8iyBmw==
X-Virus-Scanned: amavisd-new at zimbra88.inuits.eu
Received: from zimbra88.inuits.eu ([127.0.0.1])
	by localhost (zimbra88.inuits.eu [127.0.0.1]) (amavisd-new, port 10026)
	with ESMTP id NWpqnN9kmxP3 for <submit@bugs.x2go.org>;
	Wed, 12 Jul 2023 11:11:51 +0200 (CEST)
Received: from zimbra88.inuits.eu (zimbra88.inuits.eu [10.0.228.250])
	by zimbra88.inuits.eu (Postfix) with ESMTP id 8882D11C0463
	for <submit@bugs.x2go.org>; Wed, 12 Jul 2023 11:11:51 +0200 (CEST)
Date: Wed, 12 Jul 2023 11:11:51 +0200 (CEST)
From:  Bart Janssens <bjanssens@inuits.eu>
To: submit@bugs.x2go.org
Message-ID: <1832360733.13246.1689153111399.JavaMail.zimbra@inuits.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.0.228.250]
X-Mailer: Zimbra 8.8.15_GA_4508 (ZimbraWebClient - FF114 (Linux)/8.8.15_GA_4508)
Thread-Index: 9/DuxW48DAW2gHFEHdBjrKD/JJtOkQ==
Thread-Topic: Unable to start an x2go session for a user with $ in the username
Package: perl-X2Go-Server-DB
Version: 4.1.0.3-3.el7.x86_64

Hello,

When trying to create a new session with a user that has a $ in their name the scripts fail at the point where the session is inserted into the database:
db_insertsession called, display: 50, server: server.name, session ID: bj-50-1688552459_stDXFCE_dp24
backend: sqlite
/usr/lib64/x2go/libx2go-server-db-sqlite3-wrapper
err: 

As can be seen the call to the wrapper does not return any response. When trying on the same machine with a user that does not have a $ in the username the wapper does insert the session correctly in the DB.

More OS information:
Linux server.name 3.10.0-1062.el7.x86_64 #1 SMP Wed Aug 7 18:08:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Cheers,
Bart Janssens

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri May 17 03:46:58 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.