delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/15/12:29:55

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=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 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=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 AT aboutgolf DOT com
Date: Mon, 15 Aug 2016 12:29:29 -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: <20160808115840.GG32150@calimero.vinschen.de>
References: <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> <1470251109 DOT 311822327 AT apps DOT rackspace DOT com> <20160804070058 DOT GA2333 AT calimero DOT vinschen DOT de> <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>
X-Auth-ID: rmora AT aboutgolf DOT com
Message-ID: <1471278569.482829599@apps.rackspace.com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u7FGTq1w002942


On Monday, August 8, 2016 07:58, "Corinna Vinschen" <corinna-cygwin AT cygwin DOT 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 AT 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 AT 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 AT 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


- Raw text -


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