This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: getent doesn't work properly
- From: Maayan Apelboim <Maayan dot Apelboim at clarizen dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Wed, 23 Oct 2019 11:17:17 +0000
- Subject: RE: getent doesn't work properly
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=clarizen.com; dmarc=pass action=none header.from=clarizen.com; dkim=pass header.d=clarizen.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1bsdQBFvkIyR6+r/z1gIcloBEkRNqi//8BDsXDXalWg=; b=RDEalNA0pXc6jZVBVzddW2DXGWWkHaD6Qq4wKKkjUzQn4h3hS9jwyIYwvGMDuHZyJAv0VyeFyyj4idkdX+aGng8BkEUqSCGeeZSrw2HQ6ygsQoF+hsVy5LB5erop8YkEz4CwtMW5R3qmSzWLi8hK5Xce38qx90VqVpai4nNrgLIIY4tklnjziDFhU3SB8IoVBRqEcPopdEimyt0dsK9JihQ2lKMMJy8vl5kaww0lExxJ4xvAMewBaDMkti9wOlvfnkG6KS/pGXuxek0BMeTLBofKKneZYY2HrUZN1/qpFiVb3SHcfxpCcsy//ghYNkVNW2ZjkmS8Mp3QXdNwzVoxDQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bseUgzvtzO9ty48LBrsYM3a4mTmvXENZnD/mmsBW138Vyrq8cETe3dyQ609qtlGWDeeZ2iFDIQbZYqw31jFf0nXBuKLCb7SZ/bJFm9x2A+Xl+DxI5XDU5HZEe99qgfaWmgOiEQwrjrvSrToJGdc0WDTqsUvX+SiLuvcXVIZl7zVw10r2TpDeV3R0FtvjjxSVid17iUOp62MHXc3+4OZOZKBBSuzlMy57t8oE0ZGqyDzVBakXDH8EN681U2semWTDpmUFiCYxrOB8Ztjp8zfQFtdjTPClzFL+lKg+n270spK4Qn7Lg35BORUGRoQVXkQb7whmmbT+ewzy6AsV7yMdrQ==
- References: <20191018105229.GE16240@calimero.vinschen.de>
Is "UK" the name of the local machine or the name of your domain?
How does your /etc/nsswitch.conf file look like?
Do you still have /etc/passwd and /etc/group files? If so, does removing the files change the above behaviour? If so, can you attach both files verbatim to your reply?
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Maintainer
----------------------------
Hi,
UK is my domain.
I'm not using passwd and group files after being advised in the past not to.
My /etc/nsswitch.conf is default. Didn't make any changes to this file.
# /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: <empty>
Thanks