Bug 7061 - getent passwd while libnss_winbind actived on a s4 host didn't return the "windows" users
getent passwd while libnss_winbind actived on a s4 host didn't return the "...
Status: RESOLVED FIXED
Product: Samba 4.0
Classification: Unclassified
Component: Other
unspecified
Other Linux
: P3 normal
: ---
Assigned To: Andrew Bartlett
samba4-qa@samba.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-25 16:11 UTC by Matthieu Patou
Modified: 2010-02-26 07:19 UTC (History)
0 users

See Also:


Attachments
Content of my nsswitch.conf file (529 bytes, application/octet-stream)
2010-01-25 16:46 UTC, Matthieu Patou
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Patou 2010-01-25 16:11:13 UTC
The code for implementing the winbindd side of function needed by getent passwd is incomplete.
Comment 1 Matthieu Patou 2010-01-25 16:46:21 UTC
Created attachment 5220 [details]
Content of my nsswitch.conf file
Comment 2 Matthieu Patou 2010-01-25 17:05:03 UTC
Using "unitary" command works quite ok:

mat@ares:/usr/local/src/samba4/source4$ id Guest
uid=3000000(Guest) gid=3000001(Domain Guests) groupes=3000001(Domain Guests)
but trying to list the entire password table do not work:

mat@ares:/usr/local/src/samba4/source4$ getent passwd | grep -i Gu
mat@ares:/usr/local/src/samba4/source4$

Although we should have from a fresh provision: Administrator and Guest at least.
Comment 3 Matthias Dieter Wallnöfer 2010-02-26 07:19:53 UTC
Fixed by commit b792e5575c8dcd1ec4f5a572561a48ea5744000c. Thanks to ekacnet for his wonderful patch.