LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can i Share files using RedHat with a Windows computer? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-share-files-using-redhat-with-a-windows-computer-864831/)

JeanF 02-24-2011 02:46 PM

How can i Share files using RedHat with a Windows computer?
 
Hi Guys,

I just made my first RedHat Enterprise v5 installation,

the thing is that i have on my network a windows server that i use for storage, i want to be able to share files between the windows server and the RH server, i already edit the smb.conf file and put my workgroup name, but i still cant see my the windows server. When o try to connect using the connect to server option it says, "could not open the location 'smb://server_ip_address/'
Unknown error code: 46", i can ping the windows server

can you give me a hand on this please?

Thanks

MS3FGX 02-24-2011 02:53 PM

Have you checked that Samba is actually running? If it is, did you make sure to restart Samba after making changes to smb.conf? You should also check the system logs to see if Samba has logged any errors.

JeanF 02-24-2011 03:33 PM

I did restart the server after i made the changes on the smb.conf file, sry, but how can i check if samba is running?

velska 03-01-2011 08:01 AM

Hey, I don't know if you already got an answer to this question, but you can check your samba status thusly:

Quote:

$[sudo] /etc/init.d/smb status
NB! the square brackets around "sudo" means you either use "sudo" or you are already logged in as root (must have root/admin level access to do this). When you're logged in as root, your prompt will usually be a "pound/hash" (#) instead of a "dollar" ($).

If you use "stop", "start" or "restart" you can stop, start or restart samba. Also, you must have at least nmbd running, so while you're at it, put "nmb" or "winbind" instead of "smb" in the above command, and you will have the nmb or winbind status.

chrism01 03-01-2011 08:01 PM

Actually, if the MSWin system is the 'server' in this LAN, then you only need smbclient on the RHEL box.
http://linux.die.net/man/1/smbclient & chap 19 http://www.linuxtopia.org/online_boo...ion/index.html
Samba is a client-server system, like NFS; it's not a server-server eg cluster type service.

frankbell 03-01-2011 09:39 PM

As root, run ps -A.

It will show smbd as a process if Samba is running.


All times are GMT -5. The time now is 06:09 PM.