From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 Description of problem: When querying domain groups for a user via nsswitch/winbindd the buffer passed to libnss_winbind is too small (about 1k). libnss_winbind returns NSS_TRYAGAIN and sets errno=ERANGE. As far as I can tell, glibc never "trys again" it just fails, so all calls to getgrgid fail for groups that have a lot of members. I have only tested this using winbind, it is the only nss component I have installed that will return large numbers of users/groups. As a result, users cannot authenticate to my Samba server when it's set for domain security. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Configure samba with "security = domain" and to use winbind 2.Add winbind to passwd and group lines of /etc/nsswitch.conf 3.Issue "groups <domain user>" at the command prompt. Actual Results: (long pause) id: cannot find name for group ID 10001 (or some other number in winbind's range) Expected Results: List of domain groups the user belongs to Additional info: Works fine in RedHat 7.3
Can you please try rawhide glibc (like 2.3.1-46)?
Installing rawhide glibc-2.3.1-46 has fixed the problem.
Well, installing RawHide fixed the Samba problem, but broke several other programs, including rpm. :(
Since the problem is fixed, I close the bug.