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:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=WQnL1jTilDcSMLfu
	d9a60/rgdGGpKdAN2hMdm/g1l32EhTLoEmP2fnYuBnacI/wlRw7qhhKDnn2aB6W+
	Pb3DWJmYeeWoNs3wY4vseoV03A0MmgTEsOH1MHIrHqSFdMaQBwFsoCHeV+ac7lM/
	wcD8nGAtGsU2xI1hNk0EwpnIC8Y=
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:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=9DDnitsQNcUqxKKmZyiB0N
	RyCHI=; b=ONH8tMZjKUa7MKdfyPQFXr43YASTa0nkOh0esQ8klrZuncrTb57t2f
	3Ybr7nMT7NS83NdSEYLyh4zYNm9bGQ7RvOE71tj0rbvI+cILEe8Tbe8LRj8m8E+P
	eYSmdFqpUuSOIOiXvxGtjFKGyC6lHLP8WBh+eA5JmyW2LEjBQbEMA=
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-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=UD:ru, Andrey, andrey, maayan
X-HELO: forward103p.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1572284101;	bh=GbJRzZlBIAKv2JHoFzGs6SKzSuQyajBslAZHW/gVyxI=;	h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date;	b=OdvmGlOkU+uKimohjSqIbo2DmqP+y8az/PevStMmhEAq0DQi6NZRl6SUoxsBqqQT9	 U4918Svhh/jDkdJys2PG18PZUEgxLH62VbyxzxqxswYfgHlbUD4KPRMe/B3v5Rz6WN	 fzy7gh8J5YVhpgU9+Z+bZ3CcKbZ7KK6r7MnfFy6o=
Authentication-Results: mxback3q.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Mon, 28 Oct 2019 20:29:14 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1185423087.20191028202914@yandex.ru>
To: Maayan Apelboim <Maayan.Apelboim@clarizen.com>, cygwin@cygwin.com
Subject: Re: getent doesn't work properly
In-Reply-To: <AM4PR07MB34735BAE3859C6770382E2B995680@AM4PR07MB3473.eurprd07.prod.outlook.com>
References: <AM4PR07MB3473294020CA8F67E79E0217956D0@AM4PR07MB3473.eurprd07.prod.outlook.com>   <741266361.20191018140116@yandex.ru>  <AM4PR07MB34735BAE3859C6770382E2B995680@AM4PR07MB3473.eurprd07.prod.outlook.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Maayan Apelboim!

>> You aren't running Cygwin Cygserver and I don't see your nsswitch setup.
>
>> P.S.
>> Also, please no top-posting in this list.

> Sorry for top posting, my bad :)
> I have the default nsswitch - This is my configuration:
> # /etc/nsswitch.conf
> #
> #    This file is read once by the first process in a Cygwin process tree.
> #    To pick up changes, restart all Cygwin processes.  For a description
> #    see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch
> #
> # Defaults:
> # passwd:   files db
> # group:    files db
> # db_enum:  cache builtin
> # db_home:  /home/%U
> # db_shell: /bin/bash
> # db_gecos: <empty>

That should be sufficient for most use cases.

> Why do I need cygserver?

You don't exactly NEED cygserver. But if you have
1. Domain (or even multi-domain) environment.
2. and/or remote/slow/flaky connection to the domain server.
cygserver may provide a smoother experience as it caches some information
related to names resolution.

> I don't have it on any other server and everything works fine.
> I actually have this problem only in one env - the rest works as expected.
> All servers are installed the same, but for some reason this problem
> persists only in one env / domain, and one server specifically has this
> problem more than others (even after reinstallation).


-- 
With best regards,
Andrey Repin
Monday, October 28, 2019 20:25:38

Sorry for my terrible english...


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

