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?
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@rti.org> > To: "'samba@lists.samba.org'" <samba@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? > >
Bill, That fixed it! Thanks alot!!! -----Original Message----- From: William R. Knox [mailto:wknox@mitre.org] Sent: Thursday, January 25, 2001 11:12 AM To: Vestal, Roy L. Cc: 'samba@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@rti.org> > To: "'samba@lists.samba.org'" <samba@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 ableto> 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? > >