www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/03/15:05:37

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: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 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=-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 AT aboutgolf DOT com
Date: Wed, 3 Aug 2016 15:05:09 -0400 (EDT)
Subject: Re: /dev/ptmx fails with Azure accounts
From: "rmora AT aboutgolf DOT com" <rmora AT aboutgolf DOT com>
To: cygwin AT cygwin DOT com
Cc: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-Type: plain
In-Reply-To: <20160803181649.GD25811@calimero.vinschen.de>
References: <1470156870 DOT 684316691 AT apps DOT rackspace DOT com> <20160803143207 DOT GB17526 AT calimero DOT vinschen DOT de> <1470243211 DOT 01868925 AT apps DOT rackspace DOT com> <20160803180012 DOT GC25811 AT calimero DOT vinschen DOT de> <20160803181649 DOT GD25811 AT calimero DOT vinschen DOT de>
X-Auth-ID: rmora AT aboutgolf DOT com
Message-ID: <1470251109.311822327@apps.rackspace.com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u73J5YKw001406

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

> On Aug  3 20:00, Corinna Vinschen wrote:
>> On Aug  3 12:53, rmora AT aboutgolf DOT 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 AT 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 AT 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


- Raw text -


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