Add variable to define if a share should be hidden.
authorAndreas Schneider <anschneider@suse.de>
Fri, 22 Feb 2008 16:35:53 +0000 (17:35 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 26 Feb 2008 20:34:05 +0000 (21:34 +0100)
commita3da677bf0faed56e6731ee96708a7847a61d118
tree2a04aa5d0db47cffbd14f551a301a962cdf3a00b
parent3e1f88c90e4c5721381778062edfe6e681c8eec3
Add variable to define if a share should be hidden.

If you create a share on a Windows machine called foo$ then this share is
of the type STYPE_DISKTREE. So it is possible to administrate this kind of
share. Tested on Windows NT and 2003.

In samba we assume that if a share with a $ at the end must be of the type
STYPE_DISKTREE_HIDDEN. This is wrong, so we need a variable in the config
to define if the share should be hidden or not.
source/param/loadparm.c
source/rpc_server/srv_srvsvc_nt.c