Add variable to define if a share should be hidden.
authorAndreas Schneider <anschneider@suse.de>
Fri, 22 Feb 2008 16:06:24 +0000 (17:06 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 26 Feb 2008 20:29:24 +0000 (21:29 +0100)
commit5cd0c8a8d2323986907c8a3cec2b7955136fe230
treed05691a4c81ce3b9df0e657f99b9af45986339ba
parenta68e574edbce99ebe1a2eee11304c76520fd46b2
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