From 695ee7a6446c9295644e74f44fc37d22e5fceae0 Mon Sep 17 00:00:00 2001 From: bubulle Date: Thu, 22 May 2008 09:48:21 +0000 Subject: Load samba-3.0.29 into branches/samba/upstream. git-svn-id: svn://svn.debian.org/svn/pkg-samba/branches/samba/upstream@1882 fc4039ab-9d04-0410-8cac-899223bdd6b0 --- docs/manpages/net.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/manpages/net.8') diff --git a/docs/manpages/net.8 b/docs/manpages/net.8 index 804bd13a01..f41dcd51d6 100644 --- a/docs/manpages/net.8 +++ b/docs/manpages/net.8 @@ -662,7 +662,7 @@ Store a secret for the specified domain, used primarily for domains that use idm .PP Starting with version 3\.0\.23, a Samba server now supports the ability for non\-root users to add user defined shares to be exported using the "net usershare" commands\. .PP -Members of the UNIX group "sambashare" can create user defined shares on demand using the commands below. +To set this up, first set up your smb\.conf by adding to the [global] section: usershare path = /usr/local/samba/lib/usershares Next create the directory /usr/local/samba/lib/usershares, change the owner to root and set the group owner to the UNIX group who should have the ability to create usershares, for example a group called "serverops"\. Set the permissions on /usr/local/samba/lib/usershares to 01770\. (Owner and group all access, no access for others, plus the sticky bit, which means that a file in that directory can be renamed or deleted only by the owner of the file)\. Finally, tell smbd how many usershares you will allow by adding to the [global] section of smb\.conf a line such as : usershare max shares = 100\. To allow 100 usershare definitions\. Now, members of the UNIX group "serverops" can create user defined shares on demand using the commands below\. .PP The usershare commands are: .IP "" 4 -- cgit v1.2.3