3.0.23c breaks "getent passwd"

Matthew Mastracci matthew at mastracci.com
Tue Sep 12 02:14:47 GMT 2006


After testing with 3.0.23c for a while, the only problem I've found that 
"getent passwd" no longer lists all the winbind users.

The strange thing is that "getent passwd username" gets the proper entry 
and both "wbinfo -u" and "wbinfo -g" list the correct users and groups. 
  PAM works great too.  Running strace on getent passwd indicates that 
winbind is actually being consulted:

connect(5, {sa_family=AF_FILE, 
path="/var/lib/samba/winbindd_privileged/pipe"}, 110) = 0
close(4)                                = 0
select(6, [5], NULL, NULL, {0, 0})      = 0 (Timeout)
write(5, "8\7\0\0\6\0\0\0L\34\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
1848) = 1848
select(6, [5], NULL, NULL, {5, 0})      = 1 (in [5], left {5, 0})
read(5, "\250\f\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
3240) = 3240
close(3)                                = 0
munmap(0xb7f0a000, 4096)                = 0
select(6, [5], NULL, NULL, {0, 0})      = 0 (Timeout)
write(5, "8\7\0\0\7\0\0\0L\34\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
1848) = 1848
select(6, [5], NULL, NULL, {5, 0})      = 1 (in [5], left {5, 0})
read(5, "\250\f\0\0\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
3240) = 3240
exit_group(0)                           = ?

I built my 3.0.23c package from the RHEL makerpms.sh on Fedora Core 5 
(I've been using this for some time now without problems), so I don't 
think this is a factor.

Any clues for possible debugging?  It appears to be either within the 
NSS library or Winbind.



More information about the samba-technical mailing list