Created attachment 6414 [details] Patch for nsswitch/winbind_nss_freebsd.c Declarations of endgrent, setgrent, endpwent and setpwent in winbind_nss_freebsd.c are mistakenly swapped.
Created attachment 6415 [details] Patch for 3.5 This is the patch for git am
Comment on attachment 6415 [details] Patch for 3.5 looks fine
Karolin, please add to 3.5 and 3.4
Pushed to both branches. Closing out bug report. Thanks!
I believe we've fixed Bug 7829 too. Exactly the same symptoms inspired me to investigate what's wrong. Now 'id' shows secondary groups as well as 'getent' enumerates domain accounts and groups.