Results 1 to 6 of 6

Thread: Connecting to Samba server with Ubuntu (no issues using windows)

  1. #1
    Join Date
    Aug 2008
    Location
    UK
    Beans
    5
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Connecting to Samba server with Ubuntu (no issues using windows)

    I have two servers, both with almost (different shares) identical samba server configurations.

    Server 1, works fine. I can connect with Windows 7 and I can connect using 'Places > Network' in Ubuntu 10.04

    Server 2 is funny. I can connect with Windows 7 but I can not connect using 'Places > Network' in Ubuntu 10.04

    Until recently, I was able to access Server 2's samba shares with 'Places > Network' in Ubuntu 10.04 but without warning it started spitting the 'Failed to mount' error at me.

    I am guessing this is a server problem (even though server 1's smb.conf is the same up to defining shares) as I have tried from multiple clients running Ubuntu 10.04, all of which fail.

    Any help would be appreciated.

  2. #2
    Join Date
    Jun 2007
    Location
    Quebec, Canada
    Beans
    55
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Connecting to Samba server with Ubuntu (no issues using windows)

    You might wanna try in command line. Here's the one I use and always works great for me:

    Code:
     sudo mount -t smbfs //some_pc/share_name /home/my_user/some_folder/ -o username=windows_username
    Then the prompt asks for your Windows password. This may not be your long term solution, but it might help you trouble shoot the problem.

  3. #3
    Join Date
    Dec 2009
    Beans
    6,772

    Re: Connecting to Samba server with Ubuntu (no issues using windows)

    If the only thing that's different between Server1 and Server2 ( except the name ) is the share definitions then why not post Server2's shares:

    Code:
    testparm -s
    I don't know what could possibly be in a share definition that allows a Windows client access but not a Linux client, but ...........

  4. #4
    Join Date
    Dec 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Connecting to Samba server with Ubuntu (no issues using windows)

    Quote Originally Posted by Saorex View Post
    You might wanna try in command line. Here's the one I use and always works great for me:

    Code:
     sudo mount -t smbfs //some_pc/share_name /home/my_user/some_folder/ -o username=windows_username
    The above (noted in red) will cause problems with later Windows shares. You shuld use cifs
    instead.

    Then the prompt asks for your Windows password. This may not be your long term solution, but it might help you trouble shoot the problem.

  5. #5
    Join Date
    Jun 2007
    Location
    Quebec, Canada
    Beans
    55
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Connecting to Samba server with Ubuntu (no issues using windows)

    Quote Originally Posted by capscrew View Post
    The above (noted in red) will cause problems with later Windows shares. You shuld use cifs
    Really? Thanks for letting me know. I'll do some reading...

  6. #6
    Join Date
    Dec 2008
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Connecting to Samba server with Ubuntu (no issues using windows)

    Quote Originally Posted by Saorex View Post
    Really? Thanks for letting me know. I'll do some reading...
    You can start here.

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
  •