Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: Can't connect to SAMBA share via Jaunty

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

    Can't connect to SAMBA share via Jaunty

    Hello, I've set up a SAMBA share on Ubuntu Server 8.10, with the security set to share and permissions opened up on the directory to allow all to read, write, execute.

    I have Windows machines that can all see the share, but only one of my two Jaunty laptops can connect to the server.

    I do this by Places -> Connect to Server -> Windows Share -> (enter server name, share name)

    This works on one, but the other is giving me a "can't connect" error. Both have the latest version of smbfs installed...what could be the problem?

    Thanks!

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

    Re: Can't connect to SAMBA share via Jaunty

    does the faulty machine see the others at all? Can you ping a windows machine.
    PC

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

  3. #3
    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

    I can ping both a windows machine and the Ubuntu Server from the faulty laptop, I just can't connect via SMB...

    I also get an error when I try to open networking, it says "Cound not display "network:///".

    Error: DBus error or.freedesktop.DBus.Error.NoReply: Did not receive a reply.

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

    Re: Can't connect to SAMBA share via Jaunty

    There is a command line utility called 'smbtree' I am not sure if it is installed by default. Try it on the command line, it will list all visible Samba shares.
    PC

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

  5. #5
    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, I've run it, and it shows my server (//LION) on that list. Each computer on the list returned "cli_start_connection: failed to connect to COMPUTERNAME (0.0.0.0). Error NT_STATUS_ACCESS_DENIED"

    On the "good" laptop everything is the same except this is returned for //LION:

    Server requested LANMAN password (share-level security) but 'client lanman auth' is disabled
    failed tcon_X with NT_STATUS_OK

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

    Re: Can't connect to SAMBA share via Jaunty

    Try adding

    client lanman auth = Yes
    lanman auth = Yes
    to smb.conf
    PC

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

  7. #7
    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

    I assume you mean add it to smb.conf on the server?

    Done so...no change to the results.

    It has to be a networking problem on the laptop, right? I can open networking on the "good" laptop, so I'm guessing there is an issue on the one that can't...
    Last edited by Nixie Pixel; May 11th, 2009 at 08:48 AM.

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

    Re: Can't connect to SAMBA share via Jaunty

    Hi just realized that your server error was a report against your 'Good' Server'. However I suggest that you compare the file between your machines

    Code:
    /etc/nsswitch.conf
    check 'wins' is in there.
    PC

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

  9. #9
    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

    Both laptops have the same /etc/nsswitch.conf:

    Code:
    # /etc/nsswitch.conf
    #
    # Example configuration of GNU Name Service Switch functionality.
    # If you have the `glibc-doc-reference' and `info' packages installed, try:
    # `info libc "Name Service Switch"' for information about this file.
    
    passwd:         compat
    group:          compat
    shadow:         compat
    
    hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
    networks:       files
    
    protocols:      db files
    services:       db files
    ethers:         db files
    rpc:            db files
    
    netgroup:       nis

  10. #10
    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 though you will need to restart winbind and samba after the edit.

    Code:
    sudo /etc/init.d/winbind restart
    sudo /etc/init.d/samba restart
    PC

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

Page 1 of 4 123 ... 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
  •