Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-05-2005, 01:10 AM   #1
LQ Newbie
Registered: Aug 2005
Location: New Zealand
Distribution: Fedora 4.0
Posts: 27

Rep: Reputation: 15
File sharing between Linux and Win XP

Hello All,

I am trying to network a linux (Fedora Core 4) and Windows (XP Home Ed) together with the intention of using the linux box as a file server.

I have got the network up and running, can ping each other, and both can access internet via ADSL router / modem.

I have Samba running, and can see the Samba Server when I explore the network under windows. BUT, when I try to open the server (double click, or right click, open), it asks for user name and password. I have tried root user, and the one other user I have configured on linux, and I've tried all the windows passwords, but it won't let me in. I have tried "root", and also "linux-garage\root" (Linux-Garage is the host name of the linux box), I have tried all sorts of combinations with no luck.

On the linux box, I can browse to the windows box, and can even see each of shares on that box, but it won't let me open the shares on the windows box.

Help !!..... I'm brand new to linux, but class myself as a medium level windows user with reasonable understanding of networking / TCP-IP etc.

One other thing, I had to turn off the IP tables to get to the above point, I believe that is something to do with the firewall. Also I have zonealarm (firewall) running on the windows box, but have the local subnet in the trusted zone.
Old 09-05-2005, 01:34 AM   #2
Registered: Aug 2003
Posts: 57

Rep: Reputation: 15
You need to use the smbpasswd command to add valid user names. Read the manpage for details.
Old 09-07-2005, 01:11 AM   #3
LQ Newbie
Registered: Aug 2005
Location: New Zealand
Distribution: Fedora 4.0
Posts: 27

Original Poster
Rep: Reputation: 15
ok, that has allowed me to browse the linux box...But I seem to have ready only privilages. I have checked the permissions on the folder that I shared, and they are set to anyone, and I've checked the permissions on the Samba share, and again set to everyone.

Ideas ?
Old 09-07-2005, 07:00 AM   #4
LQ Guru
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,311

Rep: Reputation: Disabled
You have to go thru smb.conf with an editor in order to suit your needs. Also, see what 'swat' can do for you. I know, Samba documentation is overwhelming but you need to read at last some of it. Or google for tutorials.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
File sharing with Win XP Pro and MDK 9.1 how to? Kramer Linux - Networking 1 07-03-2004 06:45 PM
Win Xp and RH9 File Sharing steve_d555 Linux - Wireless Networking 13 04-14-2004 08:15 PM
Question: Linux + Win file sharing with Samba yurlittlepony Linux - Networking 2 08-29-2003 11:39 PM
win xp file sharing Judas Linux - Newbie 2 10-17-2002 09:04 AM
Automating Linux/Win file sharing on startup deesto Linux - Networking 11 09-11-2002 12:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:19 PM.

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