After some browsing it turns out this is not really a bug, but shall we
say a "security feature".

There is this pklocalauthority stuff (see man page) that basically makes
authorization things more complex, and to me, not logical. See
ralph.ronnquist comment at Debian user forums page
http://forums.debian.net/viewtopic.php?f=5&t=128280

Therefore, it turns out the nautilus/gvfs-mount needs your password, but
not for remote system. It wants your password for LOCAL system... that
worked for me, no matter how strange it is. I mean, the nautilus clearly
states it needs a username/password for remote system?

-- 
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     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to