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]

RE: getent doesn't work properly


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

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