![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| 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: * 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 |
|
|||||||
| Linux Support Linux - Operating Systems and Applications Support |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
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 |
|
|
|
| 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 |
|
|
#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. |
|
|
|
![]() |
| Thread Tools | |
|
|