Same here... I have started with 14.04LTS and I could reach a Win2008
machine. After several updates, somewhere in the first quarter of 2016,
I believe something  things got strange. I purged samba and reinstalled
it - no change.

I have several personal shared folders, made from nautilus, and all Win
machines can reach them (as guest user).

However, I can not reach a Win2008 server or other Win7 - shared folder.
Both gvfs-mount and nautilus dialogue keep asking for password/domain
again and again.

Setting aforementioned combinations such as:
client lanman auth = no
client ntlmv2 auth = no
client ntlm = yes
.. does not help.

So I have browsed the old /etc/samba/ and have found several older smb.conf 
files:
-rw-r--r--   1 root root  9542 Mar  1  2015 smb.conf.old.gadmin-samba-0.3.2
-rw-r--r--   1 root root  9542 Jun 11  2015 smb.conf.ucf-dist
Basically, these two old were from time when everything was ok, and guess what, 
after I have copied them in smb.conf, nautilus and gvfs-mount still were not 
working (and keep asking for password/domain).

There you have it. It is not a thing in smb.conf, but (my best guess)
the bug is probably in gvfs-mont.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/510059

Title:
  Gvfs keeps asking for password when trying to mount Samba share

Status in gvfs:
  Unknown
Status in gvfs package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: nautilus

  My Ubuntu Desktop (9.10, 64-bit) VM can't connect to my Windows 7
  (64-bit, Ultimate) File Share using Nautilus. I enter
  "smb://<comuterName>" in the address bar and then it comes up with a
  password dialog (see screenshot) and then after entering the correct
  login info, the dialog disappears for a second or two but then
  reappears again. The dialog always comes back up and the share is
  never mounted.

      * Connecting from an XP box on the network to the windows 7 share works 
just fine.
      * Connecting from the Ubuntu machine to the windows 7 share using the 
appropriate 'smbmount' command works just fine.
      * Connecting from the Ubuntu machine (using the nautilus GUI) to the XP 
box (password protected) works just fine.
      * Then I turned off password protection in Win7, rebooted the win7 
machine, and still all of the above tests turned out the same. And the Ubuntu 
machine still doesn't connect to the windows share using the nautilus GUI, and 
still displays the password dialog even though no password is required anymore.
      * I tried using smbclient to view the shares, here is the output (not 
sure if I should be trying something else using the smbclient program):
            o eddie@eddie-ubuntu:~$ smbclient -L eddie-win7
              Enter eddie's password:
              session setup failed: SUCCESS - 0

  ProblemType: Bug
  Architecture: amd64
  Date: Sun Jan 17 15:41:28 2010
  DistroRelease: Ubuntu 9.10
  ExecutablePath: /usr/bin/nautilus
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  Package: nautilus 1:2.28.1-0ubuntu3
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-17.54-server
  SourcePackage: nautilus
  Uname: Linux 2.6.31-17-server x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/510059/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to