Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Alternative Computing > Linux Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Linux Support Linux - Operating Systems and Applications Support

Reply
 
LinkBack Thread Tools
Old 05-17-2008, 09:28 PM   #1 (permalink)
Registered User
 
PAS_PAA's Avatar
 
Join Date: Aug 2005
Posts: 11
OS: XP/Ubuntu


Trying to create a samba fileserver

Hi,

I'm trying to set up a file server using samba running on Ubuntu 7.10 and accessing the shared directory from a windows XP machine. My problem is that when I try to "map network drive" from windows explorer I get a log in screen for the server (which I don't think I should) and when trying to log in with linux userID/password (same as Samba userID/password) I get an error message that the network path could not be found. What I want is for the directory on the linux box to be accessible for everyone in the workgroup without having to log in.

I'm pretty sure the networking part is ok. The XP and linux boxes can "see" each other.

My smb.conf looks like this (the part that I added, rest is default)
-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-
[hdb public hard disk]
comment = Public Folder
path = media/store
public = yes
writable = yes
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
guest ok = yes
-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-

In the log file (/var/log/samba/log.xxx) I get the following messages:
-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-
[2008/05/17 22:14:56, 0] lib/util_sock.c:write_data(562)
write_data: write failure in writing to client 192.168.15.10. Error Connection
reset by peer
[2008/05/17 22:14:56, 0] lib/util_sock.c:send_smb(769)
Error writing 4 bytes to client. -1. (Connection reset by peer)
[2008/05/17 22:15:52, 0] smbd/service.c:make_connection(1191)
colt (192.168.15.10) couldn't find service media
-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-

Does anyone know how to interpret this or have any idea what I'm missing??

Thanks in advance
__________________
ASUS A8N SLI, AMD Athlon 64 3700+ socket 939
ASUS GF6600, 1GB Corsair TWINX 3200 RAM
300GB Seagate SATA HD
PAS_PAA is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 05-19-2008, 07:54 PM   #2 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Littleton, Colorado USA
Posts: 470
OS: xp 64 sp2 Fedora Core 8 (vmware xp core 8 x32) Minix


Re: Trying to create a samba fileserver

Make sure all your iptables firewalls are turned off.

As a check to see if things are working on the Ubuntu, from a command window:

"smbclient -L 127.0.0.1" (change 127.0.0.1 to the servers IP address also).

It will prompt for a password, so the first time just hit enter. You should see the samba shares on your server. After that enter your Linux password and see you can see more info. Also type in a wrong password and see the errors. "smbclient" mimics a windows machine, so until you can connect using "smbclient" then the "/etc/samba/smb.conf" configuration file is not set up correctly. Smbclient is a lowlevel way of checking your setup.

I hope this help.
lensman3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 11:17 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85