delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/11/13/07:05:49

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:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=oNoJG3it+346VpAGIz3gf52zQKee5
ITAFfP3mWQ/jAfP45rg6njQs0HA+yF3LSoRQxByRRdiTJJ8doeOQCna9arOljFOT
m3yFr/VqAjUegPkmPIKfT6R6qM0i/kwd24nvx+KJ1cKt7hVN2nrKr+DgDU5qRfrX
OtoCZ2mY/LMy/o=
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:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=eLVHGH1fS94i9lyDZfFUpybm9JY=; b=xct
Ed+5rhcYp/Ko0DsFCRHeX8biO3dXZofWOXdq/qUueurKhFQlT6u4AG3aTpo21Y7a
tx8OGxf9+xqXlp7XTTtNZpOnuYqbPju3bjoGvobCiTLx3h3ddZSJr1EmT3spBiqr
RAI/okvyJ8FVI8srHyvEE5VcgRu8GX7PjYf8HTQc=
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-Spam-SWARE-Status: No, score=-4.3 required=5.0 tests=AWL,BAYES_00,FORGED_SPF_HELO,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=HTo:U*corinna-cygwin, H*Ad:U*corinna-cygwin, virus
X-HELO: EUR03-DB5-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=It6OTEo1aAdflcViNikkxO62t5jNpZHEQRJRaan1+BZhEOUl22djylL+hfBz1nAWPRDYCi18lm3MZSaBeMk9c3YzFHCrNLNbcUd2wCRxfdmkJ5pQZiPLFvXth2XPGhTAIB877wKzvJ9rdmVoyW29lk/CaCU0NgRChQyUwvlEnBAI68vs9AR75FTavKg2pa5RwUGZO83BVkPqSvbhYqvg8ehamhQdgknBwv3MTX0g3Y9IoxvTXKCSKJNXyi/Ex+RTgs+2jt5VZCsuBfdKpaGqOugA/Z3hTK90Yjawuk1zZkapf7VRl8B988+bf9msrT9jAeaHBxeuJdEaZyU43y3VUg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qXPvLqQ+7hOOQQlLjRj0+3Xv2TO6BGwCGaQ3HlzDPzY=; b=DVQyN0mBzIQgbFIv/d7A8gtvXQxnvw23aeh2ZMk+mXVFVCpCyycl9/X87MB9d9OrX9mFysZ1ZspWIK+9Z5YSw6tgezu9uuXg3e97CpKYzwpii8m36kpvEHSTwn6S1kBYCJOy9Ze19184S5kVr3S9+Hx27XRc5L7gVUs38QalZA91LTwlqY7TAxir1IBYY4kdm24HqhkehKIagqAiND1zQUu0T6U4d+9pCJoYg6qUsTKhKuFJLDSYaFmFkn57Xmy8GnX8iNr6ZL0LFiDfoUURx/RWBEa9gYRdn5iu8Hfw9SC4JGKdoocbjCO3AY2ySE6vtfwvgjSW2l1aaEa9Iyorvw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=clarizen.com; dmarc=pass action=none header.from=clarizen.com; dkim=pass header.d=clarizen.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=clarizen.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qXPvLqQ+7hOOQQlLjRj0+3Xv2TO6BGwCGaQ3HlzDPzY=; b=Uy9bE3whoMhi5NsZGySvBtd/y7bCCs3jkXDWH/avsrgYirT1Yie2Tp/8EAtgtieHtjAD0nKVBXaEjEKLGgfw04hGG7ymEDSAjE0gaeu/GRXDxtm0ftx6/hvxIn/h163JYaPuh0fO0R6BbPUFy934PdmV3oIDhgyBOdlxYUwi5Q0=
From: Maayan Apelboim <Maayan DOT Apelboim AT clarizen DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>,
"corinna-cygwin AT cygwin DOT com" <corinna-cygwin AT cygwin DOT com>
Subject: RE: getent doesn't work properly
Date: Wed, 13 Nov 2019 12:04:52 +0000
Message-ID: <AM4PR07MB3473C2E47E242084A10441F895760@AM4PR07MB3473.eurprd07.prod.outlook.com>
References: <AM4PR07MB34733571EBDE3D0F1EB778C795660 AT AM4PR07MB3473 DOT eurprd07 DOT prod DOT outlook DOT com>
In-Reply-To: <AM4PR07MB34733571EBDE3D0F1EB778C795660@AM4PR07MB3473.eurprd07.prod.outlook.com>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Maayan DOT Apelboim AT clarizen DOT com;
x-ms-oob-tlc-oobclassifiers: OLM:9508;
received-spf: None (protection.outlook.com: clarizen.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: rXHEZYPQzhOE2q9LX5iT24PuEWF428Y22gQPnr3G11UyuYrDD76sEYjtRZpkrx6t+PyUoPSH+i7NBY8ZgM55AmSD8PEYF9U9TEAGGBEv4nQ=
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id xADC5VTw015844

Hello again,

Unfortunately the problem returned :(
For the same server and now an additional one.
This time removing from the domain and deleting the entries did not do the trick, maybe if I delete from all DC servers instead waiting for replication it might help, but since the issue started again this is not a final solution anyway.

There is AV software installed on any of these servers.

Feel free to send me the additional info you mentioned.

Thanks a lot for the help!
Much appreciated!



-----Original Message-----
From: Maayan Apelboim [mailto:Maayan DOT Apelboim AT clarizen DOT com] 
Sent: Monday, October 28, 2019 10:57 AM
To: cygwin AT cygwin DOT com
Subject: RE: getent doesn't work properly


Thanks.  What happens is that in the non-working scenario the user name is refused by Cygwin because it's apparently not in the primary domain of the machine.  I.e., if the machine's primary domain is "dom0", and "user1" is in "dom1", then the account has to be called "dom1+user1".  The name only is forbidden in this case.

However, this doesn't explain why this happens at all since apparently "user1" is in the primary domain of the machine, and why it only fails intermittendly.  In both cases, working and non-working, the domain is returned by the same Windows call LookupAccountNameW.

What's really strange is that in the working case a lot of network related Windows DLLs are loaded into the process, e.g. wshqos.dll, WSHTCPIP.DLL, wship6.dll etc., while this does not happen in the non-working case.  None of these DLLs is requested by Cygwin, so this is something occuring in the native Windows background.  This is a bit suspicious and may point to some interaction with a virus scanner or something along these lines, and which for some reason doesn't always work as desired (Avast, anybody?)  Can you check this, perhaps?

Apart from that first question is, is the domain really called "dom"
and is the user account name really "user1"?  I'm asking because the name may collide with another account name from a builtin or second domain, and sometimes the wrong user account is returned by the Windows functions for whatever reason.

Second question is, can I send you the URL to a Cygwin test DLL with extended debug info in private email?  In this case I'd only need the non-working trace, preferredly verbatim, and you can return the trace by private email as well.


Thanks,
Corinna

--
Corinna Vinschen
Cygwin Maintainer



---------------------------------

After reading your email I started to suspect having a domain issue.
I removed the server from the domain, deleted all its relevant records and rejoined it.
It seems the problem was solved for now.
I already tried in the past removing it from the domain, and even reinstalled the server, but it didn't help, I think deleting all corresponding records after removing from domain did the trick.

I will update if this issue re-occurs.

I really appreciate the help!

Thanks!



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