delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/10/28/13:36:07

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: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 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=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 AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1185423087.20191028202914@yandex.ru>
To: Maayan Apelboim <Maayan DOT Apelboim AT clarizen DOT com>, cygwin AT cygwin DOT com
Subject: Re: getent doesn't work properly
In-Reply-To: <AM4PR07MB34735BAE3859C6770382E2B995680@AM4PR07MB3473.eurprd07.prod.outlook.com>
References: <AM4PR07MB3473294020CA8F67E79E0217956D0 AT AM4PR07MB3473 DOT eurprd07 DOT prod DOT outlook DOT com> <741266361 DOT 20191018140116 AT yandex DOT ru> <AM4PR07MB34735BAE3859C6770382E2B995680 AT AM4PR07MB3473 DOT eurprd07 DOT prod DOT outlook DOT com>
MIME-Version: 1.0
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

- Raw text -


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