Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Simple Samba server example?
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
eauclair
n00b
n00b


Joined: 21 Mar 2003
Posts: 52

PostPosted: Sat Mar 22, 2003 8:15 pm    Post subject: Simple Samba server example? Reply with quote

I'm trying to get to Samba to share a drive with the other computers on my LAN. The drive is a Fat32, which I have mounted under the mount point "/mnt/data".

I have tried both "security=user" and "security=share", but I keep getting either an error - or I see ane mpty directory. I did chmod 777 on /mnt/data, I think I read I needed to do that some where.

My smb.conf has:
[data]
path = /mnt/data
guest = ok
writeable = yes
public = yes

All I want to do is share this mounted drive with my othe PC's, I don't care about security since this is my home LAN. Any suggestions?

thanks!
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20589

PostPosted: Sat Mar 22, 2003 8:22 pm    Post subject: Reply with quote

Moved from Other Things Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
handsomepete
Guru
Guru


Joined: 21 Apr 2002
Posts: 548
Location: Kansas City, MO

PostPosted: Sat Mar 22, 2003 8:51 pm    Post subject: Reply with quote

You could just emerge webmin and make it really easy... what's the error? If you haven't yet, man smbpasswd. I don't remember how to make it completely authentication-less, but I imagine it's possible. Google tells me this:

Passwordless Access to All Services for Specific Users / Machines

The option hosts equiv = allows you to specify a file (usually called '/etc/hosts.equiv') which contains the profile and NetBIOS names of users allowed to use all services without having to provide a password. Quote 'man smb.conf':

I recommend that the hosts equiv option be only used if you really know what you are doing, or perhaps on a home network where you trust your spouse and kids. And only if you really trust them :-).
See man hosts.equiv for the structure of the 'hosts.equiv' file.
Back to top
View user's profile Send private message
eauclair
n00b
n00b


Joined: 21 Mar 2003
Posts: 52

PostPosted: Sun Mar 23, 2003 12:15 am    Post subject: Reply with quote

Ok, I ran "emerge webmin" - and it did a lot of stuff. Now what do I do? I have 6 config files that I need to update, I think I use to have only 5. I'm a little bit new to linux, and Gentoo.
Back to top
View user's profile Send private message
eauclair
n00b
n00b


Joined: 21 Mar 2003
Posts: 52

PostPosted: Sun Mar 23, 2003 1:00 am    Post subject: Reply with quote

I can now share my /mnt/data directory, but I cannot see the files in it. Is this because it is a "vfat" partition?

I *can* see the files on my shared ext3 partitions. I did a "chmod 777" every where, and I can only see the files on the ext3 partitions.

As a matter of fact, maybe the error is because I am doing "chmod 777" on the mount point (which is really just a directory), and not on the device itself. Do I need to do a chmod on /dev/hdb1? (the fat32/vfat 2nd hard drive which is mounted under /mnt/hdb1).

I'm close, but I cant see the files!
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