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=AEdcAMidvuMmcR770sCbvRB4CgRVe35
	VwRTy82JTdHO2F3dpFA2XJfwpolTuFpR7+IMO6BHQdZUJAemeW/WCUCYimd47jAR
	vPbm+gr6ui2bkpbYaHXkgDHnQISS80AnRBshw20uV7no115AVAOoFEpZbgVcwaNc
	LTYo6u6Ebawc=
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=BCpXxc0DW+0l0um3wcVNrxAgOng=; b=qYNQY
	s7WsRNHiNp1JgX1g2DtwvzJDoMUgPIZVBX4CFUDtXAGpcyapYlZ2fL0bT0ZgH32L
	AYAC9GpgUaELqVgs4GwUhL69dIIShg7XCjwJunguTBVeVmWfU1/Rd1wW/148A/Zw
	KxwrTitpKKQxb9F2tiOwlxYXxkG8dUKhL+axu0=
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=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=accounts, russell, Hx-spam-relays-external:0.0.0.0, H*RU:0.0.0.0
X-HELO: smtp74.iad3a.emailsrvr.com
X-SMTPDoctor-Processed: csmtpprox beta
X-Sender-Id: rmora@aboutgolf.com
Date: Mon, 15 Aug 2016 12:29:29 -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: <20160808115840.GG32150@calimero.vinschen.de>
References: <20160803143207.GB17526@calimero.vinschen.de>  <1470243211.01868925@apps.rackspace.com>  <20160803180012.GC25811@calimero.vinschen.de>  <20160803181649.GD25811@calimero.vinschen.de>  <1470251109.311822327@apps.rackspace.com>  <20160804070058.GA2333@calimero.vinschen.de>  <20160805102751.GK25811@calimero.vinschen.de>  <20160807032711.GC31990@dimstar.local.net>  <20160808070527.GB32150@calimero.vinschen.de>  <20160808114807.GD31990@dimstar.local.net>  <20160808115840.GG32150@calimero.vinschen.de>
X-Auth-ID: rmora@aboutgolf.com
Message-ID: <1471278569.482829599@apps.rackspace.com>
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u7FGTq1w002942



On Monday, August 8, 2016 07:58, "Corinna Vinschen" <corinna-cygwin@cygwin.com> said:

> On Aug  8 21:48, Duncan Roe wrote:
>> On Mon, Aug 08, 2016 at 09:05:27AM +0200, Corinna Vinschen wrote:
>> > On Aug  7 13:27, Duncan Roe wrote:
>> > > I've been trying your tests out of interest (no Axure accounts here), and
>> they all worked except this last one which segfaults:
>> >
>> > That you, I think I see where I made the mistake.  Can you try the
>> > attached?
>> >[...]
>>
>> Runs to completion again,
>>
>> Cheers ... Duncan.
> 
> Thanks for testing!
> 

Hi

Sorry for the delay in getting back to this. Here is the output I get:

Unknown+User@Lenovo-PC /cygdrive/c/cygwin64
$ gcc -W azure-check3.c -l Netapi32 -o azure-check3
azure-check3.c: In function ‘main’:
azure-check3.c:50:1: warning: ‘status’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 printf ("DsGetDcNameW: %u\n", status);
 ^

Unknown+User@Lenovo-PC /cygdrive/c/cygwin64
$ ./azure-check3
 Sid: S-1-12-1-2043906341-1249388050-2635137163-399631282
Dom\Name: AzureAD\RussellMora
DsGetDcNameW: 0
NetUserGetInfo(NULL, 3): 2221
NetUserGetInfo(NULL, 24): 2221

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

Does that help at all?

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


