LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Trying to run samba from linux to windows xp machine... (https://www.linuxquestions.org/questions/linux-networking-3/trying-to-run-samba-from-linux-to-windows-xp-machine-172305/)

jmax24 04-19-2004 10:00 PM

Trying to run samba from linux to windows xp machine...
 
Hey, i am a newbi with linux and am trying to set up samba so i can share files b/w my windows xp pro and redhat 8 machines.

1 problem i am having is that i can't seem to find the samba protocol to install on the windows xp machine. I have gone into my network connection and searched both the windows xp cd and the hard drive, but it doesn't seem to be there. The only other protocol i could find was netbeui. If anyone could fill me in on where to get samba for windows xp or if it is even needed it would be greatly appreciated.

next, i am not really sure on how to set up the smb.config file. If anyone has any documentation or a sample on that would really help.

thx,

jmax24

MS3FGX 04-19-2004 11:38 PM

You don't need to install anything on the Windows XP machine.

Your system should already have a sample smb.conf file in the "/etc/samba" directory.

kovalja 04-20-2004 03:43 AM

As already said before, you don't need any "samba protocol" on your XP machine. You only need to correctly set up your /etc/samba/smb.conf file. Lok for parameter
Code:

workgroup = your_group
and change the "your_group" to the name of your windows group. If you need you can set up also parameter
Code:

guest account = nobody
It allows all windows users to browse and use your sharing without any passwords or users' logins. At the end of this config file you can see some examples how to share some directories or printers to Windows users. Try to modify it to fit your system configuration or let it be as defined. After that try to re-run samba service and check if something is shared by default:
Code:

cd /etc/init.d/
./smb restart
testparm

You should see some sharing. Then go to your Windows machine and try to browse Neighbor's computers. If you see your Linux machine as some Samba server, you won. If not. Try to Search the network for Linux machine's IP.

If you cannot find the Linux machine, you have a problem with your network.

I hope, it will help you.

Bye
kovalja


All times are GMT -5. The time now is 03:12 AM.