delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/10/17/20:09:56

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:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=QZdHFXOm+8iBvoI3qoCHpGdryOPzu
KjWQqdfgLgdjSHG8xhgQF9hhma8MDzRLPvn777KYIGDmF7oyqsXr8vjxc4dMsGZO
yQv5OvjA5sLi86lkJ7PNoIaR6zp82ssGf3R7k6vo2qMOX+vlOqjYPN1FoYLN4349
fHme2eKDhqdGlE=
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:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=geUVsIEy2SIQUBmGXvAorej2Mk4=; b=qxO
hdwVW3XKlwQ8ySnl4y3lURWHrUsaIVQc/el4LOIZatjY5uBLV7G4dLxO/Ss4vLia
qIhtKcdSuA6utE0lj8+n0LodGmC4JEv1LrU3fBbjTq6IDuATxABD6QohhdhYYckF
U/pLIV97OsKTQt2r1lRk+vdu44vtJm9Y3tODb+H0=
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.1 required=5.0 tests=AWL,BAYES_00,FORGED_SPF_HELO,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=no version=3.3.1 spammy=jose
X-HELO: EUR02-HE1-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hp7b40jE1CSZdKJ7bRhJVDeOo9QQcwX8cnLCubtJU7PXS0b5olklzR5DHhr+fYPBwSgPzqOLzuFS8qVc0u7fabprZ6hfaGUOdODklPNhWJK63zw/5zB6bE73xJnwU+UtvnHUab4ua1WDbh90HjDec9tZoelYJYl9zorDaLI1AwsUzheUzLsI8AQ7L3RJUSH5eFyV09ctB1EEZAmOscgPdBeSDEmGuQXDX+/pBV/UMXXwkOQGeNhBbA7HjZ7+xW02q5RRwTgHspHMebRsw0aXnQvh3PQ3pf8It73fmgg+Uq23Sj60os6qiFSnggka57ffWGVWWSm1A67EfTzjkgfbXg==
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=wf31uacy5W9zfdCFpn4uUzebdNL2KW9EcHA/o6Ju6kY=; b=JpNKpTw7xOJHmKN0EkDUWh0neMnlVEQeX5SIDP4BWAeBfmVLeNtuMnmSHy79bjTp13eAUD+74IEdk1ZQU/MFGXo+IHur9Cei+4cV3q4QJXFzYHtTgrVdqPMc3P92sVtchHmLbCcluBXYGR07uXFtdcm70UpxXkK5t6sosE7+UeWBadm/RUbNmLjPvVaYhIwL/2NfzMDbpNGHwA7o7jIDsXy24STYcIgGGo0dNt/Vv97qwhtVOMaZECRCLygc32q2JlIlkjvH+whpbN/XJojuZjh4fAbxmopl9+z7q1oqbmxrT5PDs8Uf4aIUqi9QmsMulUmEr/uX0ekqBxi+QoixIQ==
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
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=clarizen.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wf31uacy5W9zfdCFpn4uUzebdNL2KW9EcHA/o6Ju6kY=; b=J48nA9rwEGQ5DujX+/w2UOr4FyOijViPm1iEGn5PdDM1WRMC/uuVgkTGkeDVBO/JaV/RJ8gFDf9eREp8fCXgmlQNwm8uIrJjbSKGderA+dIzxohrQytD9Zbjqghmm+jgAzJVURdbPR4uwoUwVoRyua/1JIe0t0tY93WPf2+kAkQ=
From: Maayan Apelboim <Maayan DOT Apelboim AT clarizen DOT com>
To: Jose Isaias Cabrera <jicman AT outlook DOT com>,
"cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: getent doesn't work properly
Date: Thu, 17 Oct 2019 13:02:22 +0000
Message-ID: <AM4PR07MB34732CB5E56CB53C82B2350F956D0@AM4PR07MB3473.eurprd07.prod.outlook.com>
References: <AM4PR07MB3473294020CA8F67E79E0217956D0 AT AM4PR07MB3473 DOT eurprd07 DOT prod DOT outlook DOT com> <VI1P195MB0765A1363436FD291CEB0E42DE6D0 AT VI1P195MB0765 DOT EURP195 DOT PROD DOT OUTLOOK DOT COM>
In-Reply-To: <VI1P195MB0765A1363436FD291CEB0E42DE6D0@VI1P195MB0765.EURP195.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:2958;
received-spf: None (protection.outlook.com: clarizen.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: b554tfhg90cFjrM4l64sDIMzK/23kEJWYtdbMnbAmNcUj/1S2bXp6iH15Ds+ZhFvbFQQRwKbVNKfHcF+OgQVkkRxXwv+P8XzU7waocTmz3Q=
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x9I09VU3012001

It works fine for other users as much as I can tell.
The problem seems to be with one specific user.

myUser AT dom1-job11 ~
$ getent passwd myUser
myUser:*:1049686:1049089:U-UK\myUser,S-1-5-21-892078619-2706518417-4190201681-1110:/home/myUser:/bin/bash

myUser AT dom1-job11 ~
$ getent passwd user1

myUser AT dom1-job11 ~
$

myUser AT dom1-job11 ~
$ getent passwd user1

myUser AT dom1-job11 ~
$

myUser AT dom1-job11 ~
$

myUser AT dom1-job11 ~
$ getent passwd myUser
myUser:*:1049686:1049089:U-UK\myUser,S-1-5-21-892078619-2706518417-4190201681-1110:/home/myUser:/bin/bash

myUser AT dom1-job11 ~
$ getent passwd myUser
myUser:*:1049686:1049089:U-UK\myUser,S-1-5-21-892078619-2706518417-4190201681-1110:/home/myUser:/bin/bash

myUser AT dom1-job11 ~
$ getent passwd myUser
myUser:*:1049686:1049089:U-UK\myUser,S-1-5-21-892078619-2706518417-4190201681-1110:/home/myUser:/bin/bash

myUser AT dom1-job11 ~
$ getent passwd myUser
myUser:*:1049686:1049089:U-UK\myUser,S-1-5-21-892078619-2706518417-4190201681-1110:/home/myUser:/bin/bash

myUser AT dom1-job11 ~
$ getent passwd myUser
myUser:*:1049686:1049089:U-UK\myUser,S-1-5-21-892078619-2706518417-4190201681-1110:/home/myUser:/bin/bash


From: Jose Isaias Cabrera [mailto:jicman AT outlook DOT com] 
Sent: Thursday, October 17, 2019 3:23 PM
To: Maayan Apelboim <Maayan DOT Apelboim AT clarizen DOT com>; cygwin AT cygwin DOT com
Subject: Re: getent doesn't work properly


Maayan Apelboim, on Thursday, October 17, 2019 05:02 AM, wrote...
>  
> Hi All,
> 
> I posted about this problem in the past but was unable to solve it completely.
> It seems getent works intermediately.
> Sometimes it shows my user and sometimes it doesn't.

> myUser AT dom1-job11 ~
> $ getent passwd user1
> user1:*:1049703:1049089:U-UK\user1,S-1-5-21-892078619-2706518417-4190201681-1127:/home/user1:/bin/bash

Do me a favor and try,

getent passwd myUser

and see if that works better.  Thanks.

josé


--
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