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=kRGu8yKTJ4uiLrChDSEYc1y/R9bznS0Cizs9AmW7fvRyBtwBMcHt8 YvA27k3NS/T3K6zM1QXXKUePM1Yorv+FlNIZTGAdVPniUprgAXZaOBqulu/amVWG c3OOXietE7thE3sZUN9iz/tMml+gBFaEJi3s5AAkuqdxt/qj08PvGI= 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=LxH/0qcCw4RSyIDW0p+tusSqktw=; b=vMRpisu5bJwYJ2YzFj+hBvlcB/G+ 0CxFD/ndD2EtMciLxlI3sFNWyuS2Bqk//G13gzBpuY7gCzmRBamMHqg497tJ0O6Y 46Ow4glhyjZqaYaX+ucmm4Jr02kaFi3ZXqmzjEdFwovoajEiLTdQxgCcKpMpVVcX YPtnyYZuUfNBKIU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.1 required=5.0 tests=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=Hx-languages-length:1617, feared X-HELO: calimero.vinschen.de Date: Thu, 18 Aug 2016 11:35:28 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: /dev/ptmx fails with Azure accounts Message-ID: <20160818093528.xfho2uoa67qiz526@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20160805102751 DOT GK25811 AT calimero DOT vinschen DOT de> <20160807032711 DOT GC31990 AT dimstar DOT local DOT net> <20160808070527 DOT GB32150 AT calimero DOT vinschen DOT de> <20160808114807 DOT GD31990 AT dimstar DOT local DOT net> <20160808115840 DOT GG32150 AT calimero DOT vinschen DOT de> <1471278569 DOT 482829599 AT apps DOT rackspace DOT com> <1471279732 DOT 794730680 AT apps DOT rackspace DOT com> <20160816091236 DOT yws3hk3o5fihlbe7 AT calimero DOT vinschen DOT de> <1471361255 DOT 019511497 AT apps DOT rackspace DOT com> <20160816154526 DOT 5snup4t2423hijbu AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="53efq6bvkt3c4v7c" Content-Disposition: inline In-Reply-To: <20160816154526.5snup4t2423hijbu@calimero.vinschen.de> User-Agent: Mutt/1.6.2-neo (2016-07-23) --53efq6bvkt3c4v7c Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 16 17:45, Corinna Vinschen wrote: > On Aug 16 11:27, rmora AT aboutgolf DOT com wrote: > > Hi Corinna > >=20 > > On Tuesday, August 16, 2016 05:12, "Corinna Vinschen" said: > >=20 > > > Hi Russell, > > >=20 > > > This is as bad as I feared. Apart from the username and the Windows > > > home dir, there are no other information which could be fetched by > > > the usual means. Quite apart from the fact that there are no means to > > > *store* this information somewhere, other than creating an explicit > > > /etc/passwd and matching /etc/group entry. > > >=20 > > > But, anyway, I prepared some code for the Cygwin DLL to handle these > > > accounts even if no /etc/passwd and /etc/group entries are present. = It > > > still needs some work, though, and for that I'd ask you to perform a > > > last test. > > > [...] > > Unknown+User AT Lenovo-PC /cygdrive/c/cygwin64 > > $ gcc -W azure-check5.c -l Netapi32 -o azure-check5 > >=20 > > Unknown+User AT Lenovo-PC /cygdrive/c/cygwin64 > > $ ./azure-check5 > > Sid: S-1-12-1-2043906341-1249388050-2635137163-399631282 > > Dom\Name: AzureAD\RussellMora > > Reverse Sid (RussellMora): S-1-12-1-2043906341-1249388050-2635137163-39= 9631282 > > Reverse Sid (AzureAD\RussellMora): S-1-12-1-2043906341-1249388050-26351= 37163-399631282 >=20 > Good to know, thank you. Give me a bit and I'll come up with a Cygwin > DLL for testing. FTR, this has been kinked out off-list. The resulting patch is in git master now. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --53efq6bvkt3c4v7c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXtYFgAAoJEPU2Bp2uRE+gz2oP/1d2wgtQwpt/ZOeuOF/uM549 VH7v1Un3EZqi2BkGQ0tP8bw7Qp7mG08cq8T/UYZp6lWK0hdHaFfup8tTqZcCpbFw lAXoGvC9io2tylY7EorbAEcy0csUpXcFL6H7GdiH3nEjBUtK5MTjIzU/3SdHaS50 Ly/ZqWAVSCDoaKFDH8OVEY9e5Cf28TI2hV0+91jbD0IyTgRFQr0lxsAxpPm4sApI ceLVFPZTHuqV+QCCJhm0D3cMewlLGB43CGZNxIoEO6UDUUiYyzTdhfAzsCWlApee W3xe0erlmFpFGwZQLEwKTmgyw5LYA92ZAXKsO832953tg/5X3ODkgg+lfBJ4q4re B1y5++iLXAn6nDNafM/iauSeAHG6Yq9VDmhr1gvssBgSjIEGzElv//mFIjypr8wd dy24w2ebSWZazllOK5jxkO7XQVDR82bNZPkKzR+5bR0rum+g/YVLZ5MgaBvhBcFI oj4/Dus0JhgTgy4Uuj09lKAAPrdbCYRDPI+UiqMIt6bJEdeHsXEB2vhLoAu4tCyc DP0G2mzhjX0VUQCA9wJ1Ak2Io06X2jtLjBAiGMOuUh/PJAQ1HCIYeeKNeNq7A5JG wvoKnjsXS2tbJ/BFme+bEcWBt9qmjP1t8mowacH9EvMyysRk++Ve7dSpKsh2owWL QRA+l6RngGuHe7hcL20a =4t8v -----END PGP SIGNATURE----- --53efq6bvkt3c4v7c--