Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SAMBA woes - no guest access

Status
Not open for further replies.

castalla

Technical User
Apr 19, 2011
1
ES
All I want is a simple Samba installation that anonymous users/guests can access. I have modified the smb.conf file so much using 'tips' that should enable a simple folder share. Nothing works.

If I share the folder using Nautilus share then the folder is accessible without any credentials from only Win7 and android ES File Explorer. XP can't see the folder, nor can any other linux device.

I've been struggling with this for days. I want to switch to linux as a main OS but without shares it's not practical.

Does anyone have a stripped down smb.conf which provides guest access to a single folder?

here's the testparm

Code:
 $ testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
	workgroup = MSHOME
	server string = %h server (Samba, LinuxMint)
	security = SHARE
	map to guest = Bad User
	obey pam restrictions = Yes
	pam password change = Yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
	unix password sync = Yes
	syslog = 0
	log file = /var/log/samba/log.%m
	max log size = 1000
	dns proxy = No
	usershare allow guests = Yes
	panic action = /usr/share/samba/panic-action %d
	path = /home/mint/Shared
	read only = No
	create mask = 0777
	guest ok = Yes

[printers]
	comment = All Printers
	path = /var/spool/samba
	read only = Yes
	create mask = 0700
	guest ok = No
	printable = Yes
	browseable = No

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/printers
	read only = Yes
	guest ok = No
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top