X-Recipient: archive-cygwin@delorie.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:subject:from:to:cc:mime-version
	:content-type:content-transfer-encoding:in-reply-to:references
	:message-id; q=dns; s=default; b=iwxym0XbiKMR7/cQfpNbuailVFVYHfP
	csuPd5SFxxkfU4/srZ+8rry/SFXDjTd+1ol7LJAMrpFgNfH+IRl6eng4+Pz+3KPt
	pSBwQbs2+SH0A4URuhgXgplxeE/fq9l/v5TbqyVUGm0vZMdexyL8aqlomekXaQFN
	RmgfL++fxzZk=
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:subject:from:to:cc:mime-version
	:content-type:content-transfer-encoding:in-reply-to:references
	:message-id; s=default; bh=zsQAY4YXGeHS0mvCeZzTxIH1uQ0=; b=snZaO
	6RPPCKjFroKKMOvGZsOfXsXct8uOkqE5BI2F1E1pra5NWMtfH9pT8k2ju06YODgb
	w77o3gTLxy+KNrTEhIFS0J8nf2N3piyNr3yQNqLM5O8ZanEVw5nVxiW8fd29gH1J
	j1hIUoorV2ImlnP3gRcBRqsOeu66PIXf5otmBU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1456, Administrator, HX-Priority:Normal, administrator
X-HELO: smtp122.iad3a.emailsrvr.com
X-SMTPDoctor-Processed: csmtpprox beta
X-Sender-Id: rmora@aboutgolf.com
Date: Wed, 3 Aug 2016 15:05:09 -0400 (EDT)
Subject: Re: /dev/ptmx fails with Azure accounts
From: "rmora@aboutgolf.com" <rmora@aboutgolf.com>
To: cygwin@cygwin.com
Cc: cygwin@cygwin.com
MIME-Version: 1.0
Content-Type: text/plain;charset=UTF-8
X-Type: plain
In-Reply-To: <20160803181649.GD25811@calimero.vinschen.de>
References: <1470156870.684316691@apps.rackspace.com>  <20160803143207.GB17526@calimero.vinschen.de>  <1470243211.01868925@apps.rackspace.com>  <20160803180012.GC25811@calimero.vinschen.de>  <20160803181649.GD25811@calimero.vinschen.de>
X-Auth-ID: rmora@aboutgolf.com
Message-ID: <1470251109.311822327@apps.rackspace.com>
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u73J5YKw001406

On Wednesday, August 3, 2016 14:16, "Corinna Vinschen" <corinna-cygwin@cygwin.com> said:

> On Aug  3 20:00, Corinna Vinschen wrote:
>> On Aug  3 12:53, rmora@aboutgolf.com wrote:
>> >
>> >
>> > The output is as below. This was without Run As Administrator - with
>> > it the Group 0 Sid changed to S-1-16-12288/High Mandatory Level, which
>> > *seems* appropriate....
>>
>> It is.  Thanks for this test, the result is as horrifying as I imagined.
>> Can you please try the testcase attached to this mail, too?  It should
>> be built and run the same way:
>>
>>   $ gcc -g -o azure-check2 azure-check2.c -lnetapi32
>>   $ ./azure-check2
> 
> Pleae use the one attached in this mail.  I noticed I forgot to print
> primary group info.  It's not unimportant to see it as well.
> 

Here it is:

Unknown+User@Lenovo-PC /cygdrive/c/cygwin64
$ ./azure-check2
  Sid: S-1-12-1-2043906341-1249388050-2635137163-399631282
Dom\Name: AzureAD\RussellMora
Primary Group:
  Sid: S-1-12-1-2043906341-1249388050-2635137163-399631282
  Dom\Name: AzureAD\RussellMora
NetUserGetInfo: 53

Unknown+User@Lenovo-PC /cygdrive/c/cygwin64
$

(As an aside, I assume that the fact that the permissions on the compiled executable are totally messed up, and thus the executable won't run until I fix them via Windows, is incidental to the fact that I am running under "Unknown+User" and thus you don't want any information on that as well.....)

Cheers,
Russell.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


