67comet Apprentice
Joined: 29 Oct 2004 Posts: 262 Location: Ogden, UT
|
Posted: Thu Nov 11, 2004 1:30 pm Post subject: Wayword noob samba boxes don't play nice togher. |
|
|
First off, I've tried #smaba/samba docs/samba's webside and default smb.conf file (several).
I have used samba before, so when I got my old box fired up with all it's little bells and whistles, I thought dragging my smb.conf file back over and starting samba would make it just like it was. Wrong.
What I've got it down to isn't the smb.conf file (I don't think - and it's included here), but the computer allowing acces via the netowork. It's also my Apache/proFTPd server, and provides access to the internet for my other two internal computers (the ones that can not use samba) can ping the samba box.
I chmod 777 ALL files in the directory I've selected for my internal network (and even a GOB of directories used with ftp and apache - just cuz I was/am desperate).
Code: |
#Test smb.conf
[global]
dns proxy = No
encrypt passwords = Yes
null passwords = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
max log size = 50
hosts allow = 192.168.0. 127.
workgroup = STEIGERS
server string = FileServer
log file = /var/log/samba/log.%m
os level = 99
[FileServer]
comment = FileServer
path = /mnt/FileServer
force user = nobody
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes
delete readonly = Yes
[homes]
comment = Linux User Home
path = %H
writeable = yes
valid users = %S
create mode = 0600
directory mode = 0700
locking = no
|
This smb.conf file is the most recent attempt. I know there are things in there that aren't needed, but as I mentioned above, I just use this internaly, and want to give my wife (xp computer) and me (gentoo box) access to all the files in /mnt/FileServer.
The other reason this is in Networking & Security is that I think it's a network problem. Although the samba file spacificly shows host allow all internal ip's it's still not working. Is there something in my firewall I need to add? (I use Firestarter because it's worked out of the box since verison .wayback).
Thanks for any and all input,
Justin
P.S. I just tried this:
Code: | justins root # smbclient -L 192.168.0.1 -N
| From my computer (ip is that of my servers internal nic). I used the ip address because it wasn't working with the host name (FILESERVER).
and I got this:
Code: | timeout connecting to 192.168.0.1:445
Anonymous login successful
Domain=[STEIGERS] OS=[Unix] Server=[Samba 3.0.7-2]
Sharename Type Comment
--------- ---- -------
FileServer Disk FileServer
homes Disk Linux User Home
IPC$ IPC IPC Service (FileServer)
ADMIN$ IPC IPC Service (FileServer)
Anonymous login successful
Domain=[STEIGERS] OS=[Unix] Server=[Samba 3.0.7-2]
Server Comment
--------- -------
FILESERVER FileServer
Workgroup Master
--------- -------
STEIGERS FILESERVER |
Hope I made sence, cuz it's getting a little fuzzy here. _________________ A Pile of Code (basically dead).
Personal Site (basically useless). |
|