delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/10/23/07:43:34

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:date:from:to:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=ZdP4s8n/1nUZsYLQFa9Hp7ISV9FW5VQcD/GIAXHV9hy05YZ2yVJmx
V2kHrj1vl/w7LVola37/jhWuSTtnjkqX+AVVe5CowuGmvhq2czkqco1dPB7Y93UL
7LFFIPN/xUS6X7RV8erMtoBFDd+PBZqhhp8Sh7BFrX3nNBMIbBnZeA=
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:date:from:to:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=wQqXxnpLiHaxWw1C/XzOu3vkfSI=; b=oWHN36MlQIocql7JV4zd+XfuJg0C
3zcwgA6FGETtnqzaWnLqbv2yklvHkJhmaTYCQLQvZ8A/aodOiKszzF436+4zJLmT
JmqDaUWG8XxRmFr6y7+jDdvA+Uuu+855mkT7f8czMkdRJxm4y5IXt37IyTQkUzVG
MOef/2dbzgM/Z7I=
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=-106.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=Apelboim, apelboim, Maayan, maayan
X-HELO: mout.kundenserver.de
Date: Wed, 23 Oct 2019 13:42:34 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: Maayan Apelboim <Maayan DOT Apelboim AT clarizen DOT com>
Cc: cygwin AT cygwin DOT com
Subject: Re: getent doesn't work properly
Message-ID: <20191023114234.GZ16240@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: Maayan Apelboim <Maayan DOT Apelboim AT clarizen DOT com>, cygwin AT cygwin DOT com
References: <20191018105229 DOT GE16240 AT calimero DOT vinschen DOT de> <AM4PR07MB34731435DFE766479991C050956B0 AT AM4PR07MB3473 DOT eurprd07 DOT prod DOT outlook DOT com>
MIME-Version: 1.0
In-Reply-To: <AM4PR07MB34731435DFE766479991C050956B0@AM4PR07MB3473.eurprd07.prod.outlook.com>
User-Agent: Mutt/1.12.1 (2019-06-15)

--1J4USyVh4Jt5OGCL
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Oct 23 11:17, Maayan Apelboim wrote:
>=20
> Is "UK" the name of the local machine or the name of your domain?
>=20
> How does your /etc/nsswitch.conf file look like?
>=20
> 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 ve=
rbatim to your reply?
>=20
>=20
> Thanks,
> Corinna
>=20
> --
> Corinna Vinschen
> Cygwin Maintainer
>=20
>=20
> ----------------------------
> Hi,
>=20
> UK is my domain.=20
> 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.

Since I can't reproduce this problem, would you mind trying to run
getent under strace?  It would be helpful to get 2 strace outputs
for the same account, one working, one failing.  Call it like this:

  $ strace -o getent-1.trace getent passwd <account>


Thanks,
Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--1J4USyVh4Jt5OGCL
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl2wPKoACgkQ9TYGna5E
T6AD9w//YdUAiF2KuBwIyoNsXQFuRV2BjQaSw1TdAQDJ0/Xv8gn4hfE1n90wB4pn
d4lxP37LVYOVL9iTfhQruKwz3LGAq8NfyJ3T4C9NiUjh5lU3UFo2vaSaIu8Icw9A
LVWx4z3HS5xGyQ2ygqLydudDt6PakFBofGMT8yu2c+tJYkwSRSmdp4Xix/C/meE1
tACubZYjjqM6yBvMAC60UO4tltIlzrXAjg445pXaF6z81cNSR8T2xEysQiKUchDf
YLnPjlmnAdJyyu9JmMsX6b7wG1Yy4IM0waMIf2kHOTW3K5w2XlO7FzqQ8lifFlzJ
hjhygKFuVcdFE3Xe8dGMp/mURa+iYKwFkBtdX7HuQLT04GKIXFIzokEO+KKzz6Fm
CUMR6/ub20Tce/Qwnff8Y8cxNVBZcKaLaaoZwZm0Ma5LJq4DU2DmsXBvMa116MKT
rXNyyAg6wAFiF5HIY3giiBpSsUyVdEQrOAl9sgz++EU6c+Mx9mnZ/GmVCoXs17GT
PTJMz58USbTzBsFsL20P/lHvXRPoIywX46yUlicAdpV64K+4RA05qrirmxvw9CJn
MRjg7EqwEllr5TcucLhRdYMv9o3yTmlhJU5wQ3h5QIN6w8fV2IyUPzfl0pT6Ftrn
rIf7pSdXXnydaR3vLg0rLPooe0TzgV2PGVrS0xelIQhEJZMoovE=
=/5Er
-----END PGP SIGNATURE-----

--1J4USyVh4Jt5OGCL--

- Raw text -


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