RE: getent doesn't work properly

2019-11-25 Thread Maayan Apelboim
Update: - I tried installing cygserver as a service but problem persists. - Also tried verifying the user in the domain with net user. While getent fails to find my user, net user finds it with no issues. - Tried installing and configuring krb5-workstation but it didn’t help as well. Will

RE: getent doesn't work properly

2019-11-13 Thread Maayan Apelboim
Hi, Well it might help, but since I don't have this installed in any other envs and everything is working fine I prefer to try as a last resort. If I won't be able to find the root cause I'll try this as well. Thanks! >> Why do I need cygserver? > You don't exactly NEED cygserver. But if you

RE: getent doesn't work properly

2019-11-13 Thread Maayan Apelboim
: Monday, October 28, 2019 10:57 AM To: cygwin@cygwin.com Subject: RE: getent doesn't work properly Thanks. What happens is that in the non-working scenario the user name is refused by Cygwin because it's apparently not in the primary domain of the machine. I.e., if the machine's primary domain

Re: getent doesn't work properly

2019-10-28 Thread Brian Inglis
On 2019-10-28 11:29, Andrey Repin wrote: >>> You aren't running Cygwin Cygserver and I don't see your nsswitch setup. >> I have the default nsswitch - This is my configuration: >> # /etc/nsswitch.conf >> # >> #This file is read once by the first process in a Cygwin process tree. >> #To

Re: getent doesn't work properly

2019-10-28 Thread Andrey Repin
Greetings, Maayan Apelboim! >> You aren't running Cygwin Cygserver and I don't see your nsswitch setup. > >> P.S. >> Also, please no top-posting in this list. > Sorry for top posting, my bad :) > I have the default nsswitch - This is my configuration: > # /etc/nsswitch.conf > # > #This file

RE: getent doesn't work properly

2019-10-28 Thread Maayan Apelboim
Thanks. What happens is that in the non-working scenario the user name is refused by Cygwin because it's apparently not in the primary domain of the machine. I.e., if the machine's primary domain is "dom0", and "user1" is in "dom1", then the account has to be called "dom1+user1". The name

Re: getent doesn't work properly

2019-10-24 Thread Corinna Vinschen
On Oct 23 13:33, Maayan Apelboim wrote: > > > 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

RE: getent doesn't work properly

2019-10-23 Thread Maayan Apelboim
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 Thanks, Corinna -- Corinna Vinschen Cygwin

Re: getent doesn't work properly

2019-10-23 Thread Brian Inglis
On 2019-10-23 05:42, Corinna Vinschen wrote: > On Oct 23 11:17, Maayan Apelboim wrote: >>> 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

Re: getent doesn't work properly

2019-10-23 Thread Corinna Vinschen
On Oct 23 11:17, Maayan Apelboim wrote: > > 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

RE: getent doesn't work properly

2019-10-23 Thread Maayan Apelboim
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?

RE: getent doesn't work properly

2019-10-22 Thread Maayan Apelboim
You aren't running Cygwin Cygserver and I don't see your nsswitch setup. P.S. Also, please no top-posting in this list. Hi, Andrey! Sorry for top posting, my bad :) I have the default nsswitch - This is my configuration: # /etc/nsswitch.conf # #This file is read once by the

Re: getent doesn't work properly

2019-10-18 Thread Brian Inglis
On 2019-10-17 10:55, Jose Isaias Cabrera wrote: >> Maayan Apelboim, on Thursday, October 17, 2019 09:02 AM, wrote: >> It works fine for other users as much as I can tell. >> The problem seems to be with one specific user. >> myUser@dom1-job11 ~ >> $ getent passwd myUser >>

Re: getent doesn't work properly

2019-10-18 Thread Andrey Repin
Greetings, Maayan Apelboim! > 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

Re: getent doesn't work properly

2019-10-18 Thread Corinna Vinschen
On Oct 17 09:02, Maayan Apelboim 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. > I don't think I have this problem with other users, but maybe I do

Re: getent doesn't work properly

2019-10-17 Thread Jose Isaias Cabrera
> > > From: Maayan Apelboim, on Thursday, October 17, 2019 09:02 AM, wrote... > > It works fine for other users as much as I can tell. > The problem seems to be with one specific user. > > myUser@dom1-job11 ~ > $ getent passwd myUser >

RE: getent doesn't work properly

2019-10-17 Thread Maayan Apelboim
...@outlook.com] Sent: Thursday, October 17, 2019 3:23 PM To: Maayan Apelboim ; cygwin@cygwin.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 una

Re: getent doesn't work properly

2019-10-17 Thread Jose Isaias Cabrera
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@dom1-job11 ~ > $ getent passwd

getent doesn't work properly

2019-10-17 Thread Maayan Apelboim
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