Web lists-archives.com

Re: user/group mapping for NFS

I have thousands of users and they change all the time. I really don’t want to have to update a file on all windows machines. That’s the point of having LDAP.

> On Jan 11, 2019, at 4:17 AM, Corinna Vinschen <corinna-cygwin@xxxxxxxxxx> wrote:
> On Jan 10 20:28, Charles Hedrick wrote:
>> On Jan 10, 2019, at 12:57 PM, Corinna Vinschen <corinna-cygwin@xxxxxxxxxx<mailto:corinna-cygwin@xxxxxxxxxx>> wrote:
>> Well, it should.  What happens is this:  After asking the non-AD LDAP
>> server for the account name, it asks the account fetching algorithm for
>> that name from scratch.  This depends on the /etc/nsswitch.conf
>> settings, of course (*).  Assuming "passwd: files db", it first checks
>> the local /etc/passwd file for a matching entry for that account name,
>> then the OS, preferring AD on an AD member machine, then local SAM.
>> In my scenario there’s nothing in /etc/passwd, AD, or SAM for most users, but they are all available from LDAP.
> Sure there's nothing in /etc/passwd.  The file is created by *you* on
> demand, not automatically by Cygwin (except on older releases).
> Corinna
> -- 
> Corinna Vinschen
> Cygwin Maintainer