Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with Samba
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Raftysworld
Apprentice
Apprentice


Joined: 27 Feb 2005
Posts: 236
Location: Snohomish, WA

PostPosted: Fri Jun 24, 2005 4:33 pm    Post subject: Help with Samba Reply with quote

Hey all,

I need some help with Samba. I would like everyone on my local network (192.168.0.1-192.168.0.255) to be able to access my shares, with full read/write access. And I literally mean no authentication, just point and click as one would and you're in. I was wondering how the relevant part of my smb.conf file should look. Right now, it asks for authentication but when i punch in the password it denies access to my shares. Here's what my file looks like:

Code:

[global]
map to guest = Bad User
guest account = root
restrict anonymous = no
guest ok = yes
domain master = no
preferred master = no
workgroup = WIRELESSNETWORK
max protocol = NT
ldap ssl = No
server signing = Auto
security = user

[Eric's Music]
case sensitive = no
msdfs proxy = no
read only = no
comment = 4000+ Songs
hosts allow = *
path = /mnt/windows/Documents and Settings/Eric Hare/My Documents/My Music

[EricsHP]
printable = yes
printer name = EricsHP
comment = HP Deskjet 3820
hosts allow = *
path = /dev/lp0
Back to top
View user's profile Send private message
ter_roshak
Apprentice
Apprentice


Joined: 31 Jan 2004
Posts: 171
Location: Everett, WA

PostPosted: Fri Jun 24, 2005 4:58 pm    Post subject: Reply with quote

A good start would be to change

Code:

security = user


to

Code:

security = share


And see if that works for you after you restart Samba.
_________________
Josh Miller -- RHCE, VCP
Ditree Consulting
http://ditree.com/
Registered Linux User #318200
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Fri Jun 24, 2005 6:47 pm    Post subject: Reply with quote

Personally I would take out
guest user = root

and then just
Code:
chown -R nobody:nobody *

in the root of the share, that's how I have my open shares set up at home and it works just as you require.
Back to top
View user's profile Send private message
Raftysworld
Apprentice
Apprentice


Joined: 27 Feb 2005
Posts: 236
Location: Snohomish, WA

PostPosted: Thu Jun 30, 2005 4:47 pm    Post subject: Reply with quote

Thanks for your help both of you, problem solved. Oh, and I live in Snohomish ter_roshak, small world.
Back to top
View user's profile Send private message
ter_roshak
Apprentice
Apprentice


Joined: 31 Jan 2004
Posts: 171
Location: Everett, WA

PostPosted: Thu Jun 30, 2005 5:53 pm    Post subject: Help with Samba [SOLVED] Reply with quote

Raftysworld wrote:
Thanks for your help both of you, problem solved. Oh, and I live in Snohomish ter_roshak, small world.


Hah, it is a small world!

(Great to hear that it's working.)
_________________
Josh Miller -- RHCE, VCP
Ditree Consulting
http://ditree.com/
Registered Linux User #318200
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum