Jakob,

Yes, from your description alone I can clearly see where the bug is.
The patch to gvfs causes an automatic retry if kerberos authentication
or anonymous connections fail - without looking at why the connection
failed.  That means that in the event of a network timeout, the user has
to wait through three separate network timeouts!  So we need to be
checking the value of errno here, to make sure it's set to EPERM and not
to some other value before retrying.

Attached is a revised patch that fixes this particular problem.  I've
tested it with a simple nautilus smb://non-existent-server/ command, but
I'm not a nautilus power user - could you describe to me exactly how you
set up your shortcuts, so that I can test with that scenario as well?

I am also seeing an issue where I'm being prompted for a password when
connecting to servers that do allow anonymous share lists, so evidently
there's another bug here that still needs to be tracked down.  Marking
this as 'verification failed'.

** Attachment added: "updated patch to check for EPERM before retrying"
   
http://launchpadlibrarian.net/15486834/80_samba_browsing_authentification.patch

-- 
nautilus does not display samba shares for machines inside an ADS network.
https://bugs.launchpad.net/bugs/207072
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to