Description of problem: getent group doesn't obey 'winbind use default domain' setting. Version-Release number of selected component (if applicable): Fedora release 9 (Sulphur) glibc-2.8-3.i686 glibc-common-2.8-3.i386 samba-client-3.2.0-2.17.fc9.i386 samba-winbind-3.2.0-2.17.fc9.i386 samba-common-3.2.0-2.17.fc9.i386 My settings: # /etc/nsswitch.conf passwd: files winbind group: files winbind # /etc/samba/smb.conf workgroup = VN winbind separator = / winbind enum users = Yes winbind enum groups = Yes winbind use default domain = Yes Actual results: # getent passwd|grep vchepkov vchepkov:*:10022:10000:Vadym Chepkov:/home/vchepkov:/usr/local/bin/winbind.sh this works as expected # getent group|grep vchepkov domain admins:*:10014:VN/Administrator,VN/vchepkov vpn admins:*:10045:VN/vchepkov Expected results: It should not return VN/ prefix
Forgot to mention, this started to happen after upgrade to Fedora 9, prior the upgrade it worked as expected. The bug brakes all ADS group memberships check This version worked fine [2008/07/05 04:16:27, 1] nsswitch/winbindd.c:main(990) winbindd version 3.0.28a-1.fc7 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 This doesn't [2008/07/05 10:00:23, 0] winbindd/winbindd.c:main(1120) winbindd version 3.2.0-17.fc9 started. Copyright Andrew Tridgell and the Samba Team 1992-2008
It seem it has been reported upstream too: https://bugzilla.samba.org/show_bug.cgi?id=5571 Will followup when upstream fixes it.
Access Denied You are not authorized to access bug #5571. :(
Sorry it has been restricted because the original poster accidentally added a comment with private information and he asked to block that info from public view. I will post the patch here too.
Created attachment 311196 [details] Patch proposed upstream, still pending verification
Still an issue: samba-common-3.2.3-0.20.fc9.i386 samba-client-3.2.3-0.20.fc9.i386 samba-winbind-3.2.3-0.20.fc9.i386
This patch was not included in 3.2.3, I am working to push it now.
Fixed in samba-common-3.2.4-0.21.fc9.i386 samba-client-3.2.4-0.21.fc9.i386 samba-winbind-3.2.4-0.21.fc9.i386