View previous topic :: View next topic |
Author |
Message |
eauclair n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Mar 2003 Posts: 52
|
Posted: Sat Mar 22, 2003 8:15 pm Post subject: Simple Samba server example? |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20589
|
Posted: Sat Mar 22, 2003 8:22 pm Post subject: |
|
|
Moved from Other Things Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
handsomepete Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/13418445623edb80a6d913d.jpg)
Joined: 21 Apr 2002 Posts: 548 Location: Kansas City, MO
|
Posted: Sat Mar 22, 2003 8:51 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
eauclair n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Mar 2003 Posts: 52
|
Posted: Sun Mar 23, 2003 12:15 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
eauclair n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Mar 2003 Posts: 52
|
Posted: Sun Mar 23, 2003 1:00 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|