On Feb 18 19:18, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: > This will not work (verified!) for code run from under an unmanaged > Windows service account (NT_Service\...), once the machine changes its > password per security policy (the access then becomes anonymous and will > result in only first 100 entries returned): > > winsup\cygwin\passwd.cc: > else if (group) > ret = NetGroupEnum (NULL, 2, (PBYTE *) &buf, MAX_PREFERRED_LENGTH, > &max, &total, &resume); > else > ret = NetUserEnum (NULL, 20, FILTER_NORMAL_ACCOUNT, (PBYTE *) &buf, > MAX_PREFERRED_LENGTH, &max, &total, > (PDWORD) &resume); > > This is what I was trying to point out, in my earlier message...
These functions are not called for domain accounts, only for local accounts. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgp65ncuVeiHk.pgp
Description: PGP signature