[PATCH] Add variable to define if a share should be hidden.
Stefan (metze) Metzmacher
metze at samba.org
Tue Feb 26 14:20:46 GMT 2008
Andreas Schneider schrieb:
> Stefan (metze) Metzmacher wrote:
>> Andreas Schneider schrieb:
>>> 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.
>>> Start / Programs / Administrative Tools / Active Directory Users and
>>> Shares / Select Share / Right Mouse Click / Manage
>>> In samba we assume that if a share with a $ at the end must be of the
>>> STYPE_DISKTREE_HIDDEN. This is wrong, so we need a variable in the
>>> to define if the share should be hidden or not.
>>> Attached are patches for 3.0 and 3.2 and a xml file for the
>> Hi Andreas,
>> isn't that what browseable = no is for? Instead of adding a new
>> "hidden = yes" parameter.
> Then you have to set the STYPE_HIDDEN bits if browseable = No. IPC$ and
> ADMIN$ are STYPE_DISTREE_HIDDEN, but are set to browseable = Yes.
> So you have to change them to 'browseable = No' to set STYPE_HIDDEN.
> I think its better introduce a new variable.
I got it, just ignore me:-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20080226/d4cd4d04/signature.bin
More information about the samba-technical