www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/02/09:51:12

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=Sz5/2W7lqruFgmJOf5UaHpxqh68JESbTuquTRGBown9rQUCAP5MLF
Qma/YeyCxWUu2WdUYZBAqqoa7T6YGaYrMjKoRtxufQu6TTvVD3TXOkvmQ8nEeiXP
uhmNaNbPe2BSfWC7iP7eGtQqqaJpxorlTncV3Zri9XmlqMFKov+TSg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=RrnoeI1vm/YcQUf/hYcFfGlOqHU=; b=XnvTfYrLRQAIkhiyB9h5GH+jmgeB
nnuPNokSgQtu7LuS7GAHD8leM8TK2hvtVoATDOUM+9fnWUwRtJxxq15GhzbYTTo2
wzI2ZHOalQJttoSgLk6pxsCAIdOYjSLEd9R4vAuAluN5CViSvAzbG0KmJoq1eE6y
tiIjSw0LsYYotoM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-95.0 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_BRBL_LASTEXT,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=domains, act, accounts
X-HELO: calimero.vinschen.de
Date: Tue, 2 Aug 2016 15:50:42 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: /dev/ptmx fails with Azure accounts
Message-ID: <20160802135042.GL3470@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <579FB010 DOT 40202 AT towo DOT net> <20160802095422 DOT GJ3470 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20160802095422.GJ3470@calimero.vinschen.de>
User-Agent: Mutt/1.6.2 (2016-07-01)

--6lCXDTVICvIQMz0h
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Aug  2 11:54, Corinna Vinschen wrote:
> On Aug  1 22:24, Thomas Wolff wrote:
> > For Azure Domain users (and I do not really know what that means),
> > pts handling does not seem to work, at least not for mintty, where fork=
pty()
> > fails.
> > Please check https://github.com/mintty/mintty/issues/563 for a discussi=
on,
> > and my comment
> > https://github.com/mintty/mintty/issues/563#issuecomment-235310199
> >=20
> > Also, there has been a similar report here:
> > https://sourceware.org/ml/cygwin/2016-02/msg00046.html
> >=20
> > I have no idea how to establish a working startup of mintty for those u=
sers.
>=20
> The problem here is that it's impossible to generate access
> permissions for the pty with those weird accounts.  I like it
> how Microsoft screws up otherwise working software with this
> strange domain handling.
>=20
> To fix this we have to be able to come up with a working user and group
> account for these cases.  For that I need at least output from `whoami
> /all'.  I wonder why supposedly nobody tried that after /fqdn didn't
> work.
>=20
> This may be fixable by somebody with such an account and willing to hack
> on the Cygwin function pwdgrp::fetch_account_from_windows().  There's
> already some code for the so-called "Windows accounts" which seem to
> work in a similar fashion (albeit in this case the user has a local
> account SID).
>=20
> Alternatively I need at least a guinea pig with such an account,

There's another problem with those accounts.  If they act like a domain
account, but there's no valid domain info on the machine (*), then who
should Cygwin ask for shell and home dir?

(*) That's the cause of the "Unknown domain AzureAD".  Usually the local
    machine has a list of domains which is refreshed once in a while.
    Even the local machine SAM is a domain in this view.

    However, while the LookupAccountSid function seems to return
    "AzureAD" as the domain name for this account, the domain list on
    the local machine does not contain this domain.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--6lCXDTVICvIQMz0h
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXoKUyAAoJEPU2Bp2uRE+gq+kP/RXncmpX6IY9JzQ7vQY8pt2V
DfycsNQeb4fwuT69VLF6M8WR3MZDdHESi4qchKkBBtIT9NaExm/hTVg/VJ3OzwM+
K2PexegoPUJ1SJGOiwk+ZZJCTeQPXeyot9GmW238VZb1T1CJkKo9oZxg0dksk3dL
cgRAqA7aKy/FFfv6vXytHCMGm/HHMWBLohMHCTyqrNfsNuSMpYAvERc6HDaAQ5gj
M9p2MJoGtKtElQvd3IMGNDl0/t+wCznWyX3EHMNgZ3muC82JeO0g6f81+TjjQziX
+UImOR/CuDQXcygmblKn3ARJoGntSCEV1hHenCKet6fEyToLzSfnidjvWqKDc1s+
uwSXjQXQNllP8PMR05B7a8LePwKIQNZoy50N5R4JH+DSBdjrmhpyUFEZw5lteAH7
X95BYByXUugOWZ3s1BHRq9+aCVu9YLpS2lVl4Aodwttn4kEiiIGYuqIc3Lx6q0qY
sV8oE5VD1rYLQjXQaTvOj1h8K2UyAinLZYcirxuDF1qHiMo33su/ZklUk/QxYleg
9y+Cw+uJomgKX0i7Y02g+yg7TsYB4y5Ibft8OEzPBliZVCs9DjnqWJw7EnQsoh4L
2S6JPv5atMWc6LEqs6dfwt/Yx8KG4zFBeRruVvJOPsRxlqTk+ydMw3R5k3Qi98iH
dfAmijGQaJ2kP9+41d5r
=Bn2r
-----END PGP SIGNATURE-----

--6lCXDTVICvIQMz0h--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019