delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/19/13:22:19

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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; q=dns; s=default; b=GDsQ/
A3rOJazpYQN287E898gpfDR9NgbnxREKHkyHEG9KklrksFaFONjrx1G5nmXxM8Xc
Zjjta9csyRPx8CC/l1D6Qs0VxAiXbUpFJFKcm4WNYi5Mkt4J+EZBCUtBltru0bJo
YtkPw62/AI2zbS8lZwKyF5MbIekaL8uzq0yerU=
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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; s=default; bh=Sn1+gEtawLx
7+mZZbeRmYad1wDM=; b=wbpY2AoRsEkV6FhTL7Faf2TTgZCyduo4f+Azh/SiT1z
NC7/YVWKyMvIjG66+zlKxeLAk1wQFLcuu/4X5/r8uHKYfCq2ctwMOx3IahhXt3mA
FRy1xwzGT328pIuSayD0PalsJESdIC70XQpxJYuPOxOxCY2h2Njh0qQBh259B+lk
=
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=-6.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-in-09.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-18.arcor-online.net 9FD553DC32B
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Windows Server 2012R2 64bit and 32bit Cygwin sshd
References: <8761hphfps DOT fsf AT Rainer DOT invalid> <loom DOT 20140819T152804-628 AT post DOT gmane DOT org> <20140819170235 DOT GB29878 AT calimero DOT vinschen DOT de>
Date: Tue, 19 Aug 2014 19:21:37 +0200
In-Reply-To: <20140819170235.GB29878@calimero.vinschen.de> (Corinna Vinschen's message of "Tue, 19 Aug 2014 19:02:35 +0200")
Message-ID: <87bnrgpf8e.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux)
MIME-Version: 1.0

Corinna Vinschen writes:
> This is a call to the Win32 API call NetUserGetGroups creating an
> exception due to an "access denied".  The difference between 32 and 64
> bit is probably a result of the differences in exception handling, and
> given that an ExceptionCode 5 will be ignored by Cygwin's exception
> handler, it's probably the next handler in the chain.

Well, as I said, Cygwin64 dutifully ignores the exception and then goes
to fetch my password from the registry and forks off the command given
to ssh.

> Are you running sshd under a local cyg_server account or under a domain
> cyg_server account?  Is it possible that this is a local cyg_server
> account, and as a non-domain account actually gets an "access denied"
> when trying to request AD user information?

It's a local account, actually I've got a separate account cyg_server32
for that.  I've double checked that this is set up the same way as the
original cyg_server account except for the home directory.

> If your cyg_server is a local account I'd suggest to try with an
> AD account per https://cygwin.com/faq/faq.html#faq.using.sshd-in-domain

I can try but the AD admins are still sitting on their thumbs for the
sshd domain account, so I don't have high hopes for fast enough
turnaround.  Plus, they have new rules that forbid administrative
accounts that have unlimited activation, so I don't know how much use
this is.

> Other than that I have a funny idea how to workaround this problem from
> inside Cygwin.  If you want to give it a try, I'll send you a pointer
> to a 32 bit DLL via PM.

Yes please.  As long as I don't get sshd to work, I can't use this
installation for its intended purpose anyway.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

--
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