X2Go Bug report logs - #1258
x2goclient hangs when connecting with Kerberos auth

version graph

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

Reported by: Mike DePaulo <mikedep333@gmail.com>

Date: Mon, 19 Feb 2018 04:30:02 UTC

Severity: normal

Tags: pending

Found in version 4.1.1.0

Fixed in version 4.1.1.2

Done: X2Go Release Manager X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

Received: (at submit) by bugs.x2go.org; 19 Feb 2018 04:28:27 +0000
From mikedep333@gmail.com  Mon Feb 19 05:28:20 2018
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) 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,FREEMAIL_FROM,URIBL_BLOCKED autolearn=ham
	autolearn_force=no version=3.4.1
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 0D8DF5DAEA
	for <submit@bugs.x2go.org>; Mon, 19 Feb 2018 05:28:20 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Gc2zRvaIusNT for <submit@bugs.x2go.org>;
	Mon, 19 Feb 2018 05:28:14 +0100 (CET)
Received: from mail-qt0-x230.google.com (mail-qt0-x230.google.com [IPv6:2607:f8b0:400d:c0d::230])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 5D8795DAC9
	for <submit@bugs.x2go.org>; Mon, 19 Feb 2018 05:28:14 +0100 (CET)
Received: by mail-qt0-x230.google.com with SMTP id v90so7990773qte.12
        for <submit@bugs.x2go.org>; Sun, 18 Feb 2018 20:28:14 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:from:date:message-id:subject:to;
        bh=3akfDnX8moS76YvzsbnT38ytmHFZI0lZJ44HOL4Zi74=;
        b=J1c8x5B4E+Nzyop799VTyPjan4MV1fH7YJ0+q8uLVqn2cmu8HeLcOZKHhyPiOe9Skf
         2f0r56qqyFdF2cbjHQOnkkC+kNf4HPBRs+F0gRFI/1pzd9xKIFZwkuE2vkq+Rqhk+Pd3
         SV5wvIrKAgBAGfaQ+wiPHiilcfy3wFPzxyGiqZ4H6VYg0Sk1LFsfhp/nQ97S/eiIpmbJ
         FLbEDV/JusFE4l1+DOopU109ZBev/uKRm76nyjoyWYct5JdX7noBe5eimucL9HP9reGo
         K03uJCib/TLMwubXptibxTwvJpKIC0vOVnoQpMVhE1AByGnFnzse9Gq9Rti2YkHNw/Qw
         bByg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
        bh=3akfDnX8moS76YvzsbnT38ytmHFZI0lZJ44HOL4Zi74=;
        b=eZd3tpxiTNVcYnbG8e7TeJBRNwufJSvJXoAP/S27tYB9WN8nzsEtzOKHBBWm+nlRBw
         3iox9OQAEENbE0LR7J2N3e+EjA4N4gCumre7nc7BqPnnAcZxU28fc6KRoXBEqqBPjnnL
         KzC5rCQKyg/NRd4EgV6mOEjJFACNNWG0qO5vL2Q2fqC2w/AD5IleadP7J/qPBfDEREfQ
         vz2xm/zYmIVW4X7gh2Zg45NvFNMvzl2y2l2hNwEfs/Mr4FeI06JhaVssMSCiPGKFHYNl
         dmuZDyjn7EyeVOtgujr2dERnWr79xCR+LwXxuUIgoXid7OIdm3OZkUVfOZYW3MDUh165
         y2ag==
X-Gm-Message-State: APf1xPBJSNgA3V6a2gGu0DsrcjsjkGJoZ/vgXfCx01viWNSIFisxGsTD
	+xFhBDSqxcnEiD+2SBuc4sc/4cvt7pD6LOqAzrljwO+s
X-Google-Smtp-Source: AH8x225jePWFMfWTGQaYXgLtzsHU89Mf7o+o4Vlibm2bL+pVupPCAlCTs06RuIT7ne4B1whlloXEgxyze2Vyj1o3AHg=
X-Received: by 10.200.44.154 with SMTP id 26mr22784470qtw.214.1519014492736;
 Sun, 18 Feb 2018 20:28:12 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.232 with HTTP; Sun, 18 Feb 2018 20:28:12 -0800 (PST)
From: Mike DePaulo <mikedep333@gmail.com>
Date: Sun, 18 Feb 2018 23:28:12 -0500
Message-ID: <CAMKht8he2RvDvE914Dvh4+dTL2jvCijvtaug_ejN40yWESArmQ@mail.gmail.com>
Subject: x2goclient hangs when connecting with Kerberos auth
To: submit@bugs.x2go.org
Content-Type: text/plain; charset="UTF-8"
Package: x2goclient
Version: 4.1.1.0

When attempting to connect to an X2Go server with GSSAPI/Kerberos
auth, x2goclient hangs indefinitely.

This was observed with nightly builds for Windows, and was assumed to
be Windows-specific.

The fix has already been committed to master. I will update master
with another commit (& change to debian/changelog) stating that this
was fixed:
commit 7cbd8d525309edb8bd05d27ec57ac72e2d8c90e8
Author: Mike DePaulo <mikedep333@gmail.com>
Date:   Sun Feb 18 19:52:22 2018 -0500

    Do not attempt to perform Interaction with SSH Server

    (e.g. for changing expired password) when using GSSAPI/Kerberos
    because the interaction code does not support it yet.


But as I was fixing it, I noticed that Linux & Mac OS X are probably
affected too.

The cause of the issue is that the new Interaction Dialog feature
introduced by this commit contains libssh-specific function calls, but
we use PuTTY binaries on Windows & the OpenSSH ssh client binary on
Linux/MacOS for GSSAPI/Kerberos:
commit 68bbf328132125eaad5c53b0ac82490bf818e42e
Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de>
Date:   Wed May 10 15:22:11 2017 +0200

    Interaction with SSH server (for example for changing expired
password). Fixes: #592.

And the "fix" for this is to bypass that new feature when
GSSAPI/Kerberos auth is used.

I will open up a separate issue about the fact that the Interaction
Dialog feature does not work with GSSAPI/Kerberos.

-Mike


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 16:09:03 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.