LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-29-2004, 08:26 PM   #1
adammthompson
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 2
Posts: 3

Rep: Reputation: 0
Angry 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.
 
Old 11-29-2004, 09:02 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Is the windows box 192.168.0.1?

What's in /var/log/samba/%m.log? (%m is the connecting machine name)
 
Old 11-30-2004, 08:24 PM   #3
adammthompson
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 2
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 11-30-2004, 08:34 PM   #4
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Quote:
Originally posted by adammthompson

When I double click, ...
Click?

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.
 
Old 12-02-2004, 08:01 PM   #5
adammthompson
LQ Newbie
 
Registered: Oct 2004
Distribution: Fedora Core 2
Posts: 3

Original Poster
Rep: Reputation: 0
/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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need some help on Samba file sharing rodneybeighle Linux - Networking 1 09-08-2005 08:35 AM
Samba file sharing kylere Linux - Newbie 2 08-06-2005 01:40 PM
File sharing without Samba? valnar Linux - Networking 3 05-26-2005 02:08 PM
file sharing by using samba caesarkim Linux - Networking 4 07-22-2004 09:49 AM
Samba File Sharing tstephens Linux - Software 1 10-02-2003 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration