Bug 173238 - winbindd: getpwnam(username) returns NULL-string gecos for some users
Summary: winbindd: getpwnam(username) returns NULL-string gecos for some users
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: samba
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Simo Sorce
QA Contact: David Lawrence
URL: https://bugzilla.samba.org/show_bug.c...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-15 15:12 UTC by Pasi Sjöholm
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-19 18:51:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Pasi Sjöholm 2005-11-15 15:12:19 UTC
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:
--cut--
    * Re-add the netsamlogon_cache tdb and ensure that user entries
      are updated from the PAC data during kerberos ticket 
      validation.
--cut--

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install samba with winbindd
2.
3.
  

Additional info:

Comment 1 RHEL Program Management 2007-10-19 18:51:10 UTC
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:
http://www.redhat.com/security/updates/errata/
 
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.


Note You need to log in before you can comment on or make changes to this bug.