Red Hat Bugzilla – Bug 173238
winbindd: getpwnam(username) returns NULL-string gecos for some users
Last modified: 2007-11-30 17:07:08 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Description of problem:
For some reason winbind doesn't return correct gecos-information for all users
when using getpwnam(username), I'm only getting a null-string.
In the other hand getpwent() works correctly and every account has it's
gecos-information when printing the whole userbase in a while loop.
Removing netsamlogon_cache.tdb also "resolves" temporarily this problem until
the cache gets "corrupted" again.
Samba 2.0.21rc1 changelog:
* Re-add the netsamlogon_cache tdb and ensure that user entries
are updated from the PAC data during kerberos ticket
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install samba with winbindd
This bug is filed against RHEL 3, which is in maintenance phase.
During the maintenance phase, only security errata and select mission
critical bug fixes will be released for enterprise products. Since
this bug does not meet that criteria, it is now being closed.
For more information of the RHEL errata support policy, please visit:
If you feel this bug is indeed mission critical, please contact your
support representative. You may be asked to provide detailed
information on how this bug is affecting you.