Rolland I think you really need the map to guest from looking at your config
and make sure you can cd to your share with your pcguest unix account. I'm
guessing that your guest account does not have access to home and share.
Maybe move music to /music and give the permissions there.
Just some stuff to try.
create a unix user called pcguest, use strict permissions (the default is
nobody in SAMBA)
create the samba password for pcguest
create a directory public2 on /
$ su pcguest
$ cd /public2
$ exit
# want to make sure that pcguest has access to /public2
[global]
guest account = pcguest
map to guest = bad password
[public2]
comment = Public2
path = /public2
browseable = yes
writable = yes
create mode = 0777
directory mode = 0777
;guest = yes
public = yes
only guest = yes
force group = @pcguest
force user = pcguest
-----Original Message-----
From: Roland Thompson [mailto:roland@thompson.name]
Sent: Thursday, January 16, 2003 2:12 PM
To: 'Joel Hammer'; samba@lists.samba.org
Subject: RE: [Samba] guest ok = yes
It was html, sorry wont happen again.
Thanks for the advice but it still doesn't work. I've tried everything
that's been suggested, but still asks for a username and password
The client is XP if that makes any difference.
Do I have a allow access from my ip address?
Smb.conf
[global]
netbios name = THOR
workgroup = LANGHOLME
server string = Samba 2.2.7a
local master = yes
os level = 99
domain master = yes
preferred master = yes
encrypt passwords = yes
security = guest
wins support = yes
# guest account = ftp
[music]
comment = Music Share
path = /home/share/music
browseable = yes
read only = no
guest ok = yes
#[public]
# comment = Public Share
# path = /home/share/public
# browseable = yes
# writeable = yes
# create mode = 0777
# directory mode = 0777
# guest ok = yes
# #public = yes
# only guest = yes
# force group = @guest
# force user = guest
-----Original Message-----
From: Joel Hammer [mailto:Joel@HammersHome.com]
Sent: 15 January 2003 23:28
To: Roland Thompson; samba@lists.samba.org
Subject: Re: [Samba] guest ok = yes
That wasn't html email was it? It just had extra lines.
Try putting:
guest account = ftp
into global.
For a real thrill, try:
guest account = root
Joel
On Wed, Jan 15, 2003 at 07:58:18PM -0000, Roland Thompson
wrote:> Hi,
>
>
>
> I've got samba up and running, but I have the guest ok = yes option.
>
> Now I have the book Using Samba by o'reilly, and if I'm correct
this
> setting should enable be to access the share without using a
> username/password, however it doesn't work, then if I enter a valid
> samba user when it prompts it works fine!
>
>
>
> I've included my smb.conf file, any suggestions would be appreciated.
> I'm also new to linux, so could it be something to do with the
> permissions for this folder?
>
>
>
> [global]
>
> netbios name = THOR
>
> workgroup = LANGHOLME
>
> server string = Samba 2.2.7a
>
>
>
> local master = yes
>
> os level = 99
>
> domain master = yes
>
> preferred master = yes
>
>
>
> encrypt passwords = yes
>
> security = user
>
>
>
> wins support = yes
>
>
>
> [music]
>
> comment = Music Share
>
> path = /home/share/music
>
> browseable = yes
>
> read only = no
>
> guest ok = yes
>
>
>
>
>
> Thanks
>
>
>
> Roland
>
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba