Unable to get to remote samba share
        Posted  
        
            by 
                tubaguy50035
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by tubaguy50035
        
        
        
        Published on 2012-10-09T03:17:10Z
        Indexed on 
            2012/10/09
            3:39 UTC
        
        
        Read the original article
        Hit count: 296
        
I have a remote VPS that I would like to setup samba on and only allow my IP access to it. I currently have in my smb.conf:
[global]
    netbios name = apollo
    security = user
    encrypt passwords = true
    socket options = TCP_NODELAY
    printing = bsd
    log level = 3
    log file = /var/log/samba/log/%m
    debug timestamp = yes
    max log size = 100
[hosting]
    path = /hosting/
    comment = Hosting Folder
    browseable = yes
    read only = yes
    guest account = yes
    valid users = nick
I have the ports (137,138,139,445) open in iptables (they're open to everyone right now while I debug) and I see nothing in the syslog about iptables blocking my requests.
When I try to open a file browser to my address \\ipaddress, it hangs for a good thirty seconds, and then opens a log in box.  I enter my user name and password for the server, hit okay.  It then opens the same box, I enter my credentials again and hit enter.  Windows then tells me it could not connect.  My user account is added to Samba already.
Anybody have any suggestions what I can do to get this working?
© Server Fault or respective owner