#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    14
    Rep Power
    0

    Unable to connect to SAMBA server( from XP )


    Hello,

    I'm able to ping my linux machine, which has SAMBA, up and running( smbd & nmbd ), but I'm unable to map a drive using

    net use z: \\IP\global.

    It reports

    System error 53 has occurred. The network path couldn't be found.

    What am I doing wrong ? Thanks.

    Kramer.
    Last edited by shankariyer; January 22nd, 2004 at 12:48 AM.
  2. #2
  3. Big Daddy
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Sep 2003
    Location
    Boston
    Posts
    1,473
    Rep Power
    37
    Make sure iptables isn't blocking it. Flush out all the rules to test.

    $ iptables -F;
    $ iptables -P INPUT ACCEPT;
    $ iptables -P OUTPUT ACCEPT;

    See if that helps.

    Chris
    Pop, pop, fizz, fizz, oh what a relief it is!
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    14
    Rep Power
    0
    Chris,

    It works ! Great ! Thanks.

    But I've one question : what is the impact of this flush as I saw about a screen full of entries when I did a iptables -L, before I flushed it.

    Thank you very much.
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    14
    Rep Power
    0
    Interestingly I see that in the old listings( which I flushed ) it is showing as "Accept" against my the IP of my laptop
    ACCEPT udp -- laptop_ip anywhere udp spt:domain dpts:1025:65535
  8. #5
  9. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Posts
    14
    Rep Power
    0
    oops...

    I think its my firewall( iptables ) that's causing the problem.
    I cleared the iptable entries and I was able
    to view/access the Linux directories thro' Windows.

    But after that I had to reboot my Linux machine and now its alienated.

    But I do see an try for my laptop's IP in the IP tables' list

    ACCEPT udp -- < laptop-ip > anywhere udp spt:domain dpts:1025:65535

    Then why is it kicking the requests out ????

    Thanks,
    Kramer.
  10. #6
  11. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,453
    Rep Power
    4539
    You need to open ports 137, 138, 139 in iptables to let SMB traffic through.

IMN logo majestic logo threadwatch logo seochat tools logo