[Samba] Re: Hiding a share

Marco De Vitis starless at supereva.it
Tue Mar 4 02:13:50 GMT 2003


On Sun, 02 Mar 2003 08:28:52 +0100, Kurt Weiss wrote:

> i don't understand your question. - we're using "browsable = no" over 
> years. but i did not find, where u'll see the share. i can't see the 
> share with 'net view' and not in network neighbourhood. - only if it's 

Uhm, sorry, I thought I already did everything correctly, but part of my 
problem might have been actually my fault: I remembered seeing shares 
which I shouldn't have seen, but I now did more specific tests, reviewed 
all options, and "browseable = no" seems to work fine.

"Seems", because I still get a strange behaviour with the special 
[homes] share, but this might be due to its special way of working.

Please note that I'm talking about visibility of the share in the 
network neighbourhood tree, without having the network resource 
expressly added.

> if it's not so as descripted, then please send me smb.conf and 
> versionnr. / version of used windows (incl. sp).

The clients are Win2000 SP3.
The relevant smb.conf sections are below (I customized a smb.conf from 
an IBM developerWorks tutorial).
What happens is: user "goofy" logs in, browses the network neighbourhood 
tree, and CAN see a "goofy" share. I suppose this happens because the 
share is automatically added in his network resources, right?

The strange thing is that, when goofy logs out and another user logs in, 
this different user can still see (but not access) goofy's share! Maybe 
the share is permanently added in the tree view, for ALL users, once a 
user added it to its resources?

Thanks.

[.......]
	os level = 64
	preferred master = yes
	local master = yes
	domain master = yes
	enhanced browsing = no
	security = user
	encrypt passwords = yes
	domain logons = yes
	logon drive = Z:
	logon path = \\%L\profiles\%U
	logon script = netlogon.bat

[netlogon]

	path = /home/netlogon
	read only = yes
	browseable = no

[homes]

	comment = Directory home
	browseable = no
	writeable = yes

[profiles]

	path = /home/samba/profiles
	writeable = yes
	browseable = no
	create mask = 0600
	directory mask = 0700
[.......]

-- 
Ciao,
  Marco.

..."Red", King Crimson 1974



More information about the samba mailing list