I've tried to put together a test case in the bug description, but
apparently I've overlooked something in the setup that isn't covered
very clearly in the samba howtos, because even 'wbinfo -g' fails for me
when trying to run this test.

** Description changed:

  Binary package hint: samba
  
  I encountered this bug on a hardy domain controller using winbind to
  fetch user/group informations from another NT domain (the Samba domain
  trusts the NT domain). Calling getent group just crashes winbindd, as
  seen in the log attached.
  
- This is a bug known and fixed upstream [0] (in 3.2.6 and 3.3.0).
- Fixing jaunty is a matter of uploading the latest 3.2 version or 3.3.
- Fixing hardy requires backporting the patch (I successfully tested it 
already). Actually the bug is not fixed in any maintenance release of 3.0, and 
I'm not sure it will ever be (as it seems to be EOL), but I got upstream to 
confirm the fix is appropriate for this branch as well [1] and commit it [2].
- If someone is interested, we could also fix intrepid. I don't know about 
other releases.
+ TEST CASE:
  
- [0] https://bugzilla.samba.org/show_bug.cgi?id=5906
- [1] http://lists.samba.org/archive/samba-technical/2009-February/063155.html
- [2] 
http://gitweb.samba.org/?p=samba.git;a=commit;h=db4a435d235bedf48d668a0f4418dd46f38044ed
+ 1. Install samba and winbind 3.0.28a-1ubuntu4.7 from hardy-updates.
+ 2. Configure samba as an NT4 domain controller by setting 'domain logons = 
yes' in /etc/samba/smb.conf, and also set 'winbind enum users = yes' and 
'winbind enum groups = yes'
+ 3. Restart samba and winbind with sudo /etc/init.d/winbind restart; sudo 
/etc/init.d/samba restart
+ 4. Set up a domain trust to another NT4 domain (Windows NT, or a second Samba 
instance) using the instructions at 
http://man.chinaunix.net/newsoft/samba/docs/man/Samba-HOWTO-Collection/InterdomainTrusts.html#id2577358
+ 5. edit /etc/nsswitch.conf to list 'group: compat winbind'
+ 6. run 'getent group' and verify that the winbind service has stopped.
+ 7. upgrade samba and winbind to version 3.0.28a-1ubuntu4.8 in hardy-proposed.
+ 8. run 'getent group' again to verify that the winbind service no longer 
crashes.

-- 
getent group crashes winbindd on domain controller
https://bugs.launchpad.net/bugs/328874
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to