Ok. I have installed Fedora Core 6 on my server (clean install) and wanted to setup samba to enter my shares on the server (and printing etc but thats another story).
I moved from RH9, so Fedora is a bit new for me, but I suggested that I could use my old smb.conf file.
This is my smb.conf file as far as it is now.
Code:
[global]
workgroup = workgroup
server string = Linux Server
hosts deny = ALL
hosts allow = 192.168.1. 127.
log file = /var/log/samba/%m.log
max log size = 1000
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
bind interfaces only = True
interfaces = eth0 192.168.1.1/32
encrypt passwords = Yes
[Server downloads]
path = /downloads
public = Yes
guest ok = Yes
browsable = Yes
writable = Yes
printable = No
[Shared]
path = /mnt/shared
public = Yes
guest ok = Yes
browsable = Yes
writable = Yes
printable = No
So after restarting Samba I went to my local network inside Windows,a nd the Linux server was listed between the others. I can also enter the server to see its shares. Now here's the strange thing. I can enter the [Server downloads] folder whithout any problems (only thing is I can't write files but thats a problem for later), but when I enter the [Shared] folder my windows explorer crashes.
The [Shared] folder is, as you can see, a mounted partition (/dev/hdb1). I can enter and read the contents of this folder whithout any problems via my linux server self. On my previous config (using RH9) this also was a mounted partition (worked whitout problems).
This is an output of the log files:
smdb.log
Code:
[2006/11/07 02:03:57, 0] smbd/server.c:main(847)
smbd version 3.0.23c-2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2006/11/07 02:15:56, 0] smbd/server.c:main(847)
smbd version 3.0.23c-2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
[2006/11/07 02:16:00, 0] lib/util_sock.c:get_peer_addr(1229)
getpeername failed. Error was Transport endpoint is not connected
[2006/11/07 02:16:00, 0] lib/util_sock.c:get_peer_addr(1229)
getpeername failed. Error was Transport endpoint is not connected
[2006/11/07 02:19:32, 0] smbd/server.c:main(847)
smbd version 3.0.23c-2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2006
And here a part of the log with my (windows) computers name:
Code:
[2006/11/07 02:16:09, 0] smbd/service.c:make_connection_snum(911)
'/mnt/shared' does not exist or permission denied when connecting to [Shared] Error was Permission denied
[2006/11/07 02:16:09, 0] smbd/service.c:make_connection_snum(911)
'/mnt/shared' does not exist or permission denied when connecting to [Shared] Error was Permission denied
[2006/11/07 02:16:10, 0] smbd/service.c:make_connection_snum(911)
'/mnt/shared' does not exist or permission denied when connecting to [Shared] Error was Permission denied
[2006/11/07 02:16:11, 0] smbd/service.c:make_connection_snum(911)
'/mnt/shared' does not exist or permission denied when connecting to [Shared] Error was Permission denied
[2006/11/07 02:16:12, 0] smbd/service.c:make_connection_snum(911)
'/mnt/shared' does not exist or permission denied when connecting to [Shared] Error was Permission denied
[2006/11/07 02:16:14, 0] smbd/service.c:make_connection_snum(911)
I'm not sure what I'm doing wrong because this used to be a good working config with no probs.