GNOME Bugzilla – Bug 524498
display authentification dialog rather than just using kerberos credentials
Last modified: 2008-09-16 15:22:00 UTC
The bug has been described on https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/206698 "Opening the location smb://server/share in nautilus, will prompt for a password. It seems that the user is prompted for a password before kerberos is attempted, so gvfs *is* using kerberos correctly, ie. canceling the password prompt connects to the desired share. gvfs just needs to try the kerberos auth before prompting the user for username/domain/passwd."
gvfs-mount does the same. Please improve the gvfs smb support to something close to GnomeVFS. Thanks.
This is a libsmbclient issue, where supplying empty username would fail to do any attempt to login. We need to supply fake username and libsmbclient will try to use existing tickets only then. Patch is being worked on, it's a part of bigger backend changes.
*** Bug 529857 has been marked as a duplicate of this bug. ***
This should be fixed in trunk: 2008-09-16 Tomas Bzatek <tbzatek@redhat.com> * daemon/gvfsbackendsmb.c: Kerberos authentication fixes. Fixes #524498 Inspired by the smb-browse patch from Steve Langasek Kerberos and anonymous login are done in the first pass with fallback to asking. The smb-browse backend should use kerberos for getting list of shares automatically.