Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 33

Thread: Can't connect to SAMBA share via Jaunty

  1. #11
    Join Date
    Nov 2008
    Location
    San Francisco, California
    Beans
    389
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't connect to SAMBA share via Jaunty

    Sorry, I'm restarting after which edit? Adding the client/lanman info? I restarted samba, I'll restart winbind now...

    I did get that error from the "good" computer, the other computer just says "ACCESS_DENIED."

  2. #12
    Join Date
    May 2007
    Location
    UK near Bedford
    Beans
    3,483
    Distro
    Ubuntu Development Release

    Re: Can't connect to SAMBA share via Jaunty

    As a check, can you ping a windows machine by name from each of the Linux machines.

    As you are on a mixed network is worth doing below


    Add wins after dns so that the line looks like

    hosts: files mdns4_minimal [NOTFOUND=return] dns wins mdns4
    PC

    To get a terminal command to put its output into a file use this format
    {terminal command} > {filename}

  3. #13
    Join Date
    May 2007
    Location
    UK near Bedford
    Beans
    3,483
    Distro
    Ubuntu Development Release

    Re: Can't connect to SAMBA share via Jaunty

    As far as I can tell - and this is somewhat a fuzzy guess - the errors that you are getting are around name resolution. This involves, winbind, nsswitch, and /etc/hosts (which should not be used in a proper setup).

    Still thinking - allthough this is a painful process
    PC

    To get a terminal command to put its output into a file use this format
    {terminal command} > {filename}

  4. #14
    Join Date
    Nov 2008
    Location
    San Francisco, California
    Beans
    389
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't connect to SAMBA share via Jaunty

    Hmm, just "ping hostname?"

    Pinging a windows computer returns packets in about 40ms. My router's DNS settings are for OpenDNS, and the IP returned is an OpenDNS IP:

    Code:
    nixie@dove:~$ ping bateleur
    PING bateleur.wavecable.com (208.67.216.132) 56(84) bytes of data.
    64 bytes from hit-nxdomain.opendns.com (208.67.216.132): icmp_seq=1 ttl=52 time=42.9 ms
    64 bytes from hit-nxdomain.opendns.com (208.67.216.132): icmp_seq=2 ttl=52 time=44.1 ms

  5. #15
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,362
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can't connect to SAMBA share via Jaunty

    Quote Originally Posted by Peter09 View Post
    Add wins after dns
    This is incorrect. WINS should be before DNS. Some DNS providers (like OpenDNS) forward unknown DNS queries to a "did you mean" search page. To the system, this counts as a resolved host name. So in this situation, if DNS is queried before WINS then you will get a failure when trying to browse networked systems. This is becoming more and more popular by many ISP's because it's one way of avoiding typo-squatting.
    Last edited by dmizer; May 11th, 2009 at 09:31 AM. Reason: added link

  6. #16
    Join Date
    May 2007
    Location
    UK near Bedford
    Beans
    3,483
    Distro
    Ubuntu Development Release

    Re: Can't connect to SAMBA share via Jaunty

    Thanks for the correction dmizer
    PC

    To get a terminal command to put its output into a file use this format
    {terminal command} > {filename}

  7. #17
    Join Date
    May 2007
    Location
    UK near Bedford
    Beans
    3,483
    Distro
    Ubuntu Development Release

    Re: Can't connect to SAMBA share via Jaunty

    Just noticed the IP of the computer that you pinged
    208.67.216.132 - is that an internal IP?
    PC

    To get a terminal command to put its output into a file use this format
    {terminal command} > {filename}

  8. #18
    Join Date
    Nov 2008
    Location
    San Francisco, California
    Beans
    389
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't connect to SAMBA share via Jaunty

    Ok, so putting wins before dns changes the equation on the "good" laptop - pinging a windows machine on the network pings a network address (192.168.0.x).

    However, it makes no change on the "bad" laptop, pings there to a hostname on the local network still return an OpenDNS IP address even after adding wins.

    I should note that the only WINS server on the network is the Ubuntu Server where I set wins support to be yes in smb.conf.

  9. #19
    Join Date
    May 2007
    Location
    UK near Bedford
    Beans
    3,483
    Distro
    Ubuntu Development Release

    Re: Can't connect to SAMBA share via Jaunty

    Have you checked winbind is running on the 'bad' machine.
    PC

    To get a terminal command to put its output into a file use this format
    {terminal command} > {filename}

  10. #20
    Join Date
    May 2007
    Location
    UK near Bedford
    Beans
    3,483
    Distro
    Ubuntu Development Release

    Re: Can't connect to SAMBA share via Jaunty

    Can you compare the output of the route command between machines.

    Code:
    route
    PC

    To get a terminal command to put its output into a file use this format
    {terminal command} > {filename}

Page 2 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •