LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-24-2011, 03:46 PM   #1
JeanF
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?

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

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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, 04:33 PM   #3
JeanF
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, 09:01 AM   #4
velska
Member
 
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:

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.

Last edited by velska; 03-01-2011 at 09:03 AM.
 
Old 03-01-2011, 09:01 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
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.
 
Old 03-01-2011, 10:39 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,328
Blog Entries: 12

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

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


Reply


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


All times are GMT -5. The time now is 04:32 PM.

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