From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25811 invoked by alias); 27 May 2019 09:15:52 -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 25762 invoked by uid 89); 27 May 2019 09:15:52 -0000 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 Received: from mail-eopbgr40073.outbound.protection.outlook.com (HELO EUR03-DB5-obe.outbound.protection.outlook.com) (40.107.4.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 27 May 2019 09:15:51 +0000 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= Received: from AM6PR07MB5334.eurprd07.prod.outlook.com (20.177.198.212) by AM6PR07MB4120.eurprd07.prod.outlook.com (52.134.117.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1943.9; Mon, 27 May 2019 09:15:48 +0000 Received: from AM6PR07MB5334.eurprd07.prod.outlook.com ([fe80::3466:9369:4bc1:aacf]) by AM6PR07MB5334.eurprd07.prod.outlook.com ([fe80::3466:9369:4bc1:aacf%3]) with mapi id 15.20.1943.015; Mon, 27 May 2019 09:15:47 +0000 From: Maayan Apelboim To: "cygwin@cygwin.com" Subject: getent doesn't show all domain users Date: Mon, 27 May 2019 09:15:00 -0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Maayan.Apelboim@clarizen.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" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Maayan.Apelboim@clarizen.com X-SW-Source: 2019-05/txt/msg00233.txt.bz2 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 mkpas= swd -d returns all users. When I try to chown user /home/user I get "invalid user" error - but this u= ser 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