winbind init script triggers "invalid group" error

Bug #191857 reported by Whit Blauvelt
2
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: samba

This is in a current install of Ubuntu Server 7.10:

# /init/winbind restart
 * Stopping the Winbind daemon winbind [ OK ]
 * Starting the Winbind daemon winbind
chgrp: invalid group `winbindd_priv'

Yet:

# cat group | grep winbind
winbindd_priv:x:115:

I'm trying to do an ADS share using winbind, which isn't working yet. Not sure if this is part of the problem. I haven't done anything to change users or groups for any of Samba's components.

Revision history for this message
Whit Blauvelt (whit-launchpad) wrote :

The samba package is: 3.0.26a-1ubuntu2.3

Revision history for this message
Whit Blauvelt (whit-launchpad) wrote :

("/init" is a symlink to /etc/init.d on my system - same error if invoked /etc/init.d/winbind restart - of course)

Revision history for this message
Whit Blauvelt (whit-launchpad) wrote :

The error happens when nsswitch is set to use winbind as so:

===
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd: winbind
group: winbind
shadow: winbind

hosts: files dns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis
===

It's specifically the passwd, group and shadow entries that are at issue. I've got ADS working now. If I add "files" before or after "winbind" on those lines there's no error message, but on the other and ADS no longer works.

Revision history for this message
Whit Blauvelt (whit-launchpad) wrote :

But that means there's a major bug! After awhile, without "files" in passwd, group or shadow, local users are lost! So the bug title here isn't the major one. The real bug is that "files winbind" or "winbind files" does not result in a working winbind, while narrowing it to just "winbind" does, but after awhile breaks the whole system.

Revision history for this message
Chuck Short (zulcss) wrote :

Hello,

You might want to take a look at likewise-open for hardy.

Thanks
chuck

Changed in samba:
status: New → Incomplete
Revision history for this message
Chuck Short (zulcss) wrote :

Any update?

Thanks
chuck?

Revision history for this message
Whit (whit+ubuntu) wrote :

Haven't worked on it since, but will be returning to it. Are there any docs on implementing likewise-open yet? Went to their site in February and there wasn't much there, and I couldn't get a subscription to their listserv despite application for it. When I sent questions to them by e-mail, their only reply was to try to sell me their commercial product. The concept looks good though, so if Ubuntu's going to be providing documentation, I will try to implement it.

Revision history for this message
Jayson Rowe (jayson.rowe) wrote :

Since it's been a very long time since any additional info was added to this bug, I'm just checking to see if this is still an issue, and find out what additional work should be done on this bug.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? May you please with Intrepid or Jaunty? Thanks in advance.

Changed in samba:
importance: Undecided → Low
Revision history for this message
Chuck Short (zulcss) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in samba (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.