Solved

Mac OS X to Ubuntu SMB connection fails from 1 IP address only

Posted on 2011-02-27
7
380 Views
Last Modified: 2012-05-11
I have a cloud based Ubuntu 10.10 server running smbd for a single shared directory. I am Linux n00b, but have successfully installed SMB and several other services.

I can connect perfectly to it from any location except my home IP address. argh. Using my Mac laptop from another Internet connection works fine. So I know it is not an issue with the laptop.

Connecting from any machine behind my public IP address fails.

Here is what does work from the machines that can't connect to the samba share :
• SSH into the server
• Ping server
• resolve host name
• ftps into server

There are no firewalls in place on either end. I can also connect to a SMB share I have running on a Mac server here in my office remotely so I know that my ISP is not blocking port 139 at all. I have also confirmed with the cloud server host that they are not performing any filtering.

There are no allow.hosts or deny.hosts entries.

I am at a total loss as to why just connections from my IP address on multiple computers would not work.

Is there some kind of max connections or max failed attempts in a configuration file that would cut me off?
0
Comment
Question by:MazarothIT
  • 4
  • 3
7 Comments
 
LVL 15

Expert Comment

by:roylong
ID: 34992607
Have you tried connecting from the Linux server via SMB to one of your macs on your local LAN?
You don't have a firewall rule forwarding SMB traffic through your firewall to a specific address do you?  Have you ever had a remote connection into your LAN for SMB traffic?
0
 
LVL 15

Expert Comment

by:roylong
ID: 34992613
Just re-read your post and you already answered the SMB question...

How are you doing authentication both ends?
0
 

Author Comment

by:MazarothIT
ID: 34992687
Thanks for your idea Roy.

I have not tried to make a connection from Ubuntu server to my Mac Server here at the affected IP address ( home office )

I'll try that next.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:MazarothIT
ID: 34993097
Authentication is handled by smbusers mapped to ubuntu users.


# "security = user" is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
   security = user
   username map = /etc/samba/smbusers


I don't think its an authentication issue though, works everywhere else...
0
 

Accepted Solution

by:
MazarothIT earned 0 total points
ID: 34993281
UNBELIEVABLE....

F-ING COX. blocking outgoing 136-139 and 445. Even after they told me there was no filtering on the phone.

http://ww2.cox.com/residential/sandiego/support/internet/article.cox?articleId=%7Bcacf82f0-6407-11df-ccef-000000000000%7D
0
 
LVL 15

Expert Comment

by:roylong
ID: 34993397
...as Sherlock Holmes surmised; once you eliminate the impossible, what ever remains, no matter how improbable, must be the truth.. .. :) or something like that :p
0
 

Author Closing Comment

by:MazarothIT
ID: 37854912
solved
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question