delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/05/27/05:16:03

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: <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.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 <Maayan DOT Apelboim AT clarizen DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: getent doesn't show all domain users
Date: Mon, 27 May 2019 09:15:47 +0000
Message-ID: <AM6PR07MB5334FC3FCC1D6BD79438A91A951D0@AM6PR07MB5334.eurprd07.prod.outlook.com>
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
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Maayan DOT Apelboim AT clarizen DOT com
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


- Raw text -


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