File sharing using Samba
Please help. I'm trying to use Samba to share files between a Windows XP Home machine and a Linux machine (Fedora Core 2). Printing and Internet access work fine (the Windows machine is connected to the Internet and to the printer). But I can't get file sharing to work. When I go in Windows Explorer, it shows Mygroup, but when I click on it, the machine hangs up.
Here's my smb.comf: [global] workgroup = mygroup server string = Samba Server hosts allow = 192.168.0.1 printcap name = /etc/printcap load printers = yes cups options = raw log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 username map = /etc/samba/smbusers password server = None guest ok = yes dns proxy = yes [homes] comment = Home Directories browseable = yes writeable = yes [printers] comment = All Printers path = /var/spool/samba browseable = no printable = yes [adam] path = /home/adam browseable = yes writeable = yes guest ok = yes Thanks very much. |
Is the windows box 192.168.0.1?
What's in /var/log/samba/%m.log? (%m is the connecting machine name) |
Yes, the Windows box is 192.168.0.1.
I can't open the log files. When I double click, I get a message that it could not display; the attempt to log in failed. When I right click, the icon disappears. |
Quote:
Try a terminal and more /var/log/samba/machineName.log to see the whole file, or tail /var/log/samba/machineName.log to see the last 10 lines of it. |
/var/log/samba has nmbd.log nmbd.log.1 nmbd.log.2 smbd.log smbd.log.1 smbd.log.2. Here is nmbd.log.2:
[2004/10/31 21:58:29, 0] nmbd/nmbd.c:main(665) Netbios nameserver version 3.0.7-2.FC2 started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2004/10/31 21:58:37, 0] nmbd/nmbd.c:terminate(54) Got SIGTERM: going down... [2004/10/31 21:58:38, 0] nmbd/nmbd.c:main(665) Netbios nameserver version 3.0.7-2.FC2 started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2004/10/31 21:59:11, 0] nmbd/nmbd.c:terminate(54) Got SIGTERM: going down... [2004/10/31 21:59:12, 0] nmbd/nmbd.c:main(665) Netbios nameserver version 3.0.7-2.FC2 started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2004/10/31 22:00:30, 0] nmbd/nmbd.c:terminate(54) Got SIGTERM: going down... [2004/10/31 22:00:31, 0] nmbd/nmbd.c:main(665) Netbios nameserver version 3.0.7-2.FC2 started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2004/10/31 22:06:20, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) ***** Samba name server LOCALHOST is now a local master browser for workgroup MYGROUP on subnet 192.168.0.194 ***** [2004/10/31 22:41:00, 0] nmbd/nmbd.c:terminate(54) Got SIGTERM: going down... Here's smbd.log.2: [2004/10/31 21:58:28, 0] smbd/server.c:main(760) smbd version 3.0.7-2.FC2 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2004/10/31 21:58:37, 0] smbd/server.c:main(760) smbd version 3.0.7-2.FC2 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2004/10/31 21:59:12, 0] smbd/server.c:main(760) smbd version 3.0.7-2.FC2 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 [2004/10/31 22:00:31, 0] smbd/server.c:main(760) smbd version 3.0.7-2.FC2 started. Copyright Andrew Tridgell and the Samba Team 1992-2004 Does this help at all? |
All times are GMT -5. The time now is 11:51 AM. |