Comment 35 for bug 212098

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Jessie - The problem isn't that the Samba daemon needs restarting. The problem is that nautilus-share (which was introduced in to Hardy) uses a feature of Samba called 'usershare', which allows the administrator to control who can add shares. The administrator does this by adding users to the 'sambashare' group. Members of this group can then add and remove shares.

The maintainer scripts for Samba automatically add all users who are members of group 'admin' to group 'sambashare' when Samba is installed. However, the user won't belong to this group until they log out and back in again (and I don't think that there is any way around that).

This wasn't a problem in Gutsy because the usershare feature wasn't used, and users were not added to a new group when Samba was installed. In Gutsy, only administrators could add/remove shares.

Hope that clarifies it a bit.