re-sent; prior reply sent to wrong address On Mon, Mar 11, 2013 at 9:55 PM, Steve Langasek <vor...@debian.org> wrote:
> severity -1 normal > tags -1 moreinfo > thanks > > You have not described a data loss bug. Please don't overinflate bug > severities. > Sorry about that. I'll do better in future. > > > You say that you're trying to set up a share for guest access. What is > the > setting of 'usershare allow guests' on the server? The upstream default > for > this setting is 'no'; the default in the Debian-provided smb.conf is 'yes'. > Unless this is set to 'yes', users are not allowed to set up > guest-accessible shares. > > > Here's the relevant section from the server's smb.conf: # Setup usershare options to enable non-root users to share folders # with the net usershare command. # Maximum number of usershare. 0 (default) means that usershare is disabled. usershare max shares = 100 # Allow users who've been granted usershare privileges to create usershare allow guests = yes To enable a user to set up shares per https://www.samba.org/samba/docs/man/manpages/net.8.html I'd earlier added: usershare path = /usr/local/samba/usershares and created that directory, owned by group sambashare. Appended that group to the share-creating user and was able to use net usershare add without errors, with the share reported in net usershare info. -- <a href="http://www.fsf.org/fb"><img src=" http://static.fsf.org/nosvn/no-facebook-me.png" alt="Not f'd — you won't find me on Facebook" /></a>