Welcome to the most active Linux Forum on the web.
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 02-24-2011, 02:46 PM   #1
LQ Newbie
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
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?

Old 02-24-2011, 02:53 PM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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.
Old 02-24-2011, 03:33 PM   #3
LQ Newbie
Registered: Feb 2011
Posts: 3

Original Poster
Rep: Reputation: 0
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?
Old 03-01-2011, 08:01 AM   #4
Registered: Aug 2003
Location: Finland
Distribution: Fedora 14, Ubuntu 10.4 LTS
Posts: 65

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

$[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.

Last edited by velska; 03-01-2011 at 08:03 AM.
Old 03-01-2011, 08:01 PM   #5
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.3
Posts: 17,548

Rep: Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423Reputation: 2423
Actually, if the MSWin system is the 'server' in this LAN, then you only need smbclient on the RHEL box. & chap 19
Samba is a client-server system, like NFS; it's not a server-server eg cluster type service.
Old 03-01-2011, 09:39 PM   #6
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 14,079
Blog Entries: 24

Rep: Reputation: 3798Reputation: 3798Reputation: 3798Reputation: 3798Reputation: 3798Reputation: 3798Reputation: 3798Reputation: 3798Reputation: 3798Reputation: 3798Reputation: 3798
As root, run ps -A.

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


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
Windows XP use able to map to Linux share on previous computer but not his new tonie05 Linux - Networking 1 11-04-2010 07:43 AM
How can I share files between Debian and Vista, both on same computer? alegre Linux - Desktop 13 08-03-2010 05:37 AM
Easiest way to share files between two linux installations on same computer? KindOfNeutral Linux - Newbie 15 05-24-2009 08:20 AM
trying to mount share from windows computer o2bfishn Ubuntu 0 10-16-2007 05:47 PM
How to build a network/share files with and XP Computer??? aktiwers Linux - Networking 1 06-03-2004 07:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:16 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