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:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=ddL 9NrD/bQoae7V2VHaOZ3pI+7SamloMJapsQuW045ebwVC1I3BwsS1YEo3+89wu2DL F4/kIXc6S+zBmuTqE47BRarDbi3y8Te9W10vGPM3KOxN57BR+HEouKsdMgHQ7/Sv 5aOpn8gU5/jqzG//lvxFPVuBeMP4ePGv8U91J5hA= 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:content-type :content-transfer-encoding:mime-version; s=default; bh=ZgRLxhWVm sVTSVVyHs6c6bqA6x8=; b=etMicmJ6OSY5DMzzBAGQXfw4kKBib24JXAZ37RgmJ WtYy7w4n4S9dExrCU6E6gsaaq1WmfWTLiTAEF3DK801oxQjLC0cILUnOrNFy4P2g l2cjRUlNQJV5YwZv+nY6YkL/KJkZ+EF4sOey3iqxFak38myMu8o3lGOaIygEnyQ5 pA= 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.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:641, logging X-HELO: EUR03-DB5-obe.outbound.protection.outlook.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=clarizen.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UusokFYHSteeGSEubZDeY31ejxPLPiZLFIT/WiXtLo0=; b=jTRiUsm4oO5eDBHCIB+N17GEcyfyb7dgRxH2rw4mopoF2whK6j5I2aN1i5b6J0Pgg0qX+fF8/3gT0nEITGvrKrYRy5tJffjAgggzV7ESqhMPp6YvTPgisIoXgcKFv0iJW3oiYaVbGjqax8LHZCF2GUIlbbKC+Z49NSleyEpKi2M= From: Maayan Apelboim To: "cygwin AT cygwin DOT com" Subject: getent doesn't show all domain users Date: Mon, 27 May 2019 09:15:47 +0000 Message-ID: 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 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Maayan DOT Apelboim AT clarizen DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x4R9G1PV017098 Hello, I have a server in the domain (duplicated from another domain if it matters). At first "getent passwd" run I see the user from the different domain, but after a few runs it disappears. Even after it disappears getent doesn't return all domain users while mkpasswd -d returns all users. When I try to chown user /home/user I get "invalid user" error - but this user exists in the domain. After a few restarts to the server or logging with the user the problem is solved. But I don't have a constant work around that works smoothly. Is there a way to actively "refresh"/"restart" getent? 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