Merge suggested fix from bug 7511 and enhance it
authorBjörn Jacke <bj@sernet.de>
Tue, 26 Jun 2012 09:33:36 +0000 (11:33 +0200)
committerBjoern Jacke <bj@sernet.de>
Tue, 26 Jun 2012 17:55:00 +0000 (19:55 +0200)
Changes from Lars Müller and Olaf Flebbe:

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.

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Tue Jun 26 19:55:00 CEST 2012 on sn-devel-104

docs-xml/smbdotconf/misc/usersharepath.xml

index 9e0bfe57d51514b2e2aa922e09a3ce635b121ade..cad64be7511fb92f746e4b8a18f0975b1eec4112 100644 (file)
@@ -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.
        </para>
        <para>
        For example, a valid usershare directory might be /usr/local/samba/lib/usershares,
@@ -29,5 +28,5 @@
        </para>
 
 </description>
-<value type="default">NULL</value>
+<value type="default">STATEDIR/usershare</value> with the compile time value of STATEDIR.
 </samba:parameter>