Samba Public Share Problem

Vestal, Roy L. rvestal at rti.org
Thu Jan 25 16:17:50 GMT 2001


Bill,
  That fixed it!  Thanks alot!!!

-----Original Message-----
From: William R. Knox [mailto:wknox at mitre.org]
Sent: Thursday, January 25, 2001 11:12 AM
To: Vestal, Roy L.
Cc: 'samba at lists.samba.org'
Subject: Re: Samba Public Share Problem


Assuming you have version 2.X of samba, you need to add the global setting
of 'map to guest = Bad User', which tells samba to, as it implies, map
anyone trying to connect who lacks a valid UID to the guest account. This
used to be done with a compilation option, if you are used to samba 1.9.X.
Let me know if this does the trick for you. Good luck!

			Bill Knox
			Senior Operating Systems Programmer/Analyst
			The MITRE Corporation

On Thu, 25 Jan 2001, Vestal, Roy L. wrote:

> Date: Thu, 25 Jan 2001 11:06:50 -0500
> From: "Vestal, Roy L." <rvestal at rti.org>
> To: "'samba at lists.samba.org'" <samba at us5.samba.org>
> Subject: Samba Public Share Problem
>
> I'm trying to make a SAMBA share on a Solaris 2.8(x86) server "Public".  I
> want folks, whether or not they have an account on the server, to be able
to
> READ this share.  Here is the smb.conf:
>
> [global]
> 	workgroup = MYDOMAIN
> 	encrypt passwords = Yes
> 	update encrypted = Yes
> 	local master = No
> 	wins server = w.x.y.z
> 	hosts allow = w.x.0.0/subnet
>
> [D]
> 	comment = D drive on Server
> 	path = /export/drives/ddrive
> 	read list = @nobody
> 	force group = nobody
> 	guest ok = Yes
>
> It's sharing to those with accounts, but not those without.  Any ideas?
>
>




More information about the samba mailing list