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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=XLsDKCJTOusC7qOn Xge2AauGwM7mrkyHYTp14wK0/xMxb6qh6V2UwfCaq+3PUl42ZQIFr/zwjRKmI3Vo rlZluoan0h0HkVElEhpGABTBsYLxCw7TG5/DT7lMNDTsmhMq1ck6dR1/a0m+/+RA SBmfbO39G0IbOwzC+CkrkZ9kUjo= 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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=6Vldh2bpgcsNPqotvvdSFY EjGhU=; b=avoi09nV0JAZ3AV9hyMWZI2VGJxx5UybJooBIz0swiW6VB7L0j5w0V QpehAAlDT6ol95FF9WTO5abmeWRiJCkg0Hs1pI7wm9a83K8zhI1czo0mDDDw6HFi kPnDjFsmnbwIuqreaP30XdtGlq92+VSZSNxzHVNUtXEE41wA8XX64= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=Andrey, andrey, Repin, getent X-HELO: smtp-out-no.shaw.ca Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: getent doesn't work properly To: cygwin AT cygwin DOT com References: <741266361 DOT 20191018140116 AT yandex DOT ru> <1185423087 DOT 20191028202914 AT yandex DOT ru> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <9ac40199-8d4a-206d-4081-a6057e357405@SystematicSw.ab.ca> Date: Mon, 28 Oct 2019 18:03:20 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <1185423087.20191028202914@yandex.ru> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 2019-10-28 11:29, Andrey Repin wrote: >>> You aren't running Cygwin Cygserver and I don't see your nsswitch setup. >> 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: > 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. Running cygserver will also cache info and speed up processing if you run many: - service daemons under Cygwin, especially cron jobs or ssh sessions - concurrent processes, especially deeply nested, forked, or background (some cron jobs background subprocesses *heavily* to reduce run time) - XSI IPC message queues - semaphores - shared memory segments otherwise that has to be managed by either the process itself or the root parent process, possibly in parallel threads. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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