LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-01-2012, 06:11 PM   #1
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Rep: Reputation: 7
Unable to connect to Samba on CentOS 6.2 machine


Hey all, I'm stumped. I've configured Samba on all of my Linux servers as an easy way to move files to and from my XP workstation (<-- sorry). I just created a CentOS 6.2 machine and I'm unable to connect to it from Windows. I even copied the smb.conf file from another machine with a working Samba configuration but I still can't connect. Restarting smbd and nmbd looks good -- no errors. I know that they ARE starting because:

Code:
[root@CentOS62 Shares]# ps -ef | grep [sn]mbd
root      2973     1  0 15:33 ?        00:00:00 /usr/sbin/smbd start
root      2974  2973  0 15:33 ?        00:00:00 /usr/sbin/smbd start
root      2976     1  0 15:34 ?        00:00:00 /usr/sbin/nmbd start
BUT, if I run nmap on this machine the only open port below 5000 is 22. So why isn't port 139 opening up???

Thanks,

Joe B
 
Old 08-01-2012, 06:40 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Have you configured the firewall if running and selinux for SMB traffic?
 
Old 08-02-2012, 11:28 PM   #3
jbruyet
Member
 
Registered: Feb 2011
Location: North Central Washington
Distribution: Debian, OpenSUSE, Kali, Ubuntu
Posts: 178

Original Poster
Rep: Reputation: 7
Wow, thanks michaelk, that was it. I was so sure I turned iptables off that I didn't bother to confirm it.

Thanks again,

Joe B
 
Old 08-03-2012, 08:50 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Your welcome. Please mark this thread as solved.
 
  


Reply



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
unable to connect to machine via NOMACHINE frznchckn Linux - Newbie 2 10-09-2011 06:35 PM
cannot connect to internet from centos machine mbanwi Linux - Newbie 3 07-08-2009 08:40 PM
Unable to connect to machine via hostname, DNSs seem ok sarajevo Linux - Networking 2 05-25-2008 01:46 AM
Samba: can't connect to my local linux machine but can connect to windows. Royle Linux - Networking 3 01-18-2005 05:32 PM
Linux unable to connect to another Linux machine via Samba (SMB) Please help shassouneh Linux - Networking 4 03-11-2002 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:55 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
Open Source Consulting | Domain Registration