This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

getent doesn't work properly


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.
I don't think I have this problem with other users, but maybe I do and don't feel it as much cause they are less used. The user I'm looking for is the one responsible for our automations, so every time getent fails to find it, I see it in my scripts.

Any idea why this is happening?

Adding command outputs:
myUser@dom1-job11 ~
$ getent passwd user1

myUser@dom1-job11 ~
$ getent passwd user1

myUser@dom1-job11 ~
$

myUser@dom1-job11 ~
$

myUser@dom1-job11 ~
$ getent passwd user1

myUser@dom1-job11 ~
$ getent passwd user1

myUser@dom1-job11 ~
$ getent passwd user1

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

myUser@dom1-job11 ~
$

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

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

myUser@dom1-job11 ~
$ getent passwd user1

Attachment: cygcheck.out
Description: cygcheck.out

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]