From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 127481 invoked by alias); 18 Oct 2019 11:05:08 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 127473 invoked by uid 89); 18 Oct 2019 11:05:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=BAYES_20,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=UD:ru, H*M:yandex, english, HX-Priority:Normal X-HELO: forward100p.mail.yandex.net Received: from forward100p.mail.yandex.net (HELO forward100p.mail.yandex.net) (77.88.28.100) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 18 Oct 2019 11:05:06 +0000 Received: from forward101q.mail.yandex.net (forward101q.mail.yandex.net [IPv6:2a02:6b8:c0e:4b:0:640:4012:bb98]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 886515981BC8; Fri, 18 Oct 2019 14:05:03 +0300 (MSK) Received: from mxback4q.mail.yandex.net (mxback4q.mail.yandex.net [IPv6:2a02:6b8:c0e:6d:0:640:ed15:d2bd]) by forward101q.mail.yandex.net (Yandex) with ESMTP id 84A21CF40002; Fri, 18 Oct 2019 14:05:03 +0300 (MSK) Received: from vla3-11710f0f0dbd.qloud-c.yandex.net (vla3-11710f0f0dbd.qloud-c.yandex.net [2a02:6b8:c15:2584:0:640:1171:f0f]) by mxback4q.mail.yandex.net (nwsmtp/Yandex) with ESMTP id MG3eOGiKFM-53l0T8p1; Fri, 18 Oct 2019 14:05:03 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1571396703; bh=flXkCp4PnZVmrwvJhguAu/FV51jbEHK1cArdnfa1YJQ=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=NDT37seCckG5hAjku5EUR0iokq7H6jwb9isdStJJciz3pCl7/pWHUkxync3Ak1bOB 6/g1xwzutNReOLbSzvCNXJSrhu4gE7K0RxNVhB2n5vWcPMiB2zFpT7B8JWCePGV0mU XkTb/uY4rRh0ZWmMRPftttJe4eTnp4e2MlWjyua8= Authentication-Results: mxback4q.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by vla3-11710f0f0dbd.qloud-c.yandex.net (nwsmtp/Yandex) with ESMTPSA id 1XZlE38qui-52JSkPDq; Fri, 18 Oct 2019 14:05:02 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Fri, 18 Oct 2019 11:01:16 -0000 Date: Fri, 18 Oct 2019 11:05:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <741266361.20191018140116@yandex.ru> To: Maayan Apelboim , cygwin@cygwin.com Subject: Re: getent doesn't work properly In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg00097.txt.bz2 Greetings, Maayan Apelboim! > I posted about this problem in the past but was unable to solve it completely. > It seems getent works intermediately. > Sometimes it shows my user and sometimes it doesn't. > I don't think I have this problem with other users, but maybe I do and > don't feel it as much cause they are less used. The user I'm looking for is > the one responsible for our automations, so every time getent fails to find it, I see it in my scripts. > Any idea why this is happening? You aren't running Cygwin Cygserver and I don't see your nsswitch setup. P.S. Also, please no top-posting in this list. -- With best regards, Andrey Repin Friday, October 18, 2019 13:58:42 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