commit 9bd5cf6a2e7fc7b947222ce4a3dd467e9ca8a764 Author: Lars Müller Date: Fri Oct 7 15:06:34 2011 +0200 Merge suggested fix from bug 7511 and enhance it a) The location in the filesystem defaults to STATEDIR/usershare b) If undefined the default location is used; if set to zero (the default) user defined shares are ignored. diff --git a/docs-xml/smbdotconf/misc/usersharepath.xml b/docs-xml/smbdotconf/misc/usersharepath.xml index 9e0bfe5..cad64be 100644 --- a/docs-xml/smbdotconf/misc/usersharepath.xml +++ b/docs-xml/smbdotconf/misc/usersharepath.xml @@ -11,8 +11,7 @@ "sticky" bit must also be set, restricting rename and delete to owners of a file (in the same way the /tmp directory is usually configured). Members of the group owner of this directory are the users allowed to create - usershares. If this parameter is undefined then no user defined - shares are allowed. + usershares. For example, a valid usershare directory might be /usr/local/samba/lib/usershares, @@ -29,5 +28,5 @@ -NULL +STATEDIR/usershare with the compile time value of STATEDIR.