[Samba] hidden share

Helmut Hullen Hullen at t-online.de
Sun Aug 16 09:54:00 MDT 2009


Hallo,

I'm using Samba 3.0.36, 3.2.13 and older.

My "smb.conf" (stripped):


[global]
	server string	= c't/ODS-Schulserver %h mit Samba %v
	workgroup	= WORKGROUP

# ...

	domain logons	= yes
	logon script	= logon.bat
	logon home	= \\%L\%U
	# nur für Windows 9x
	logon path	= \\%L\Profile\%U\%a
	logon drive	= U:

	hosts allow	= 127., 192.168., 172.16.0.0/12, 10.

	lanman auth	= yes
	client lanman auth	= yes
	ntlm auth	= yes

 	include = /etc/samba/Profile.txt

# ...

# ---------------------------

And my "Profile.txt":

[Profile]
	comment		= Windows-Profile
	path		= /home/Profile
	public		= yes
	writable	= yes
	read only	= no
	browseable	= no
	store dos attributes = yes
	directory mask	= 0700
	create mask	= 0600
	map hidden	= no
	map system	= no
	browseable	= yes
	wide links	= no
	guest ok	= no
	admin users	= adm, root
	printable	= no
	hide files	= /desktop.ini/outlook*.lnk/*Briefcase*/
#
# ----------------------------------------------

  smbclient -N -L $Server

doesn't show the "Profile" share, but "testparm -sv" shows it. And it  
seems to work as expected.

Should I worry about it?

Viele Gruesse!
Helmut


More information about the samba mailing list