After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 524498 - display authentification dialog rather than just using kerberos credentials
display authentification dialog rather than just using kerberos credentials
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: smb backend
0.2.x
Other Linux
: Normal normal
: ---
Assigned To: Tomas Bzatek
gvfs-maint
: 529857 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-03-26 15:47 UTC by Sebastien Bacher
Modified: 2008-09-16 15:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Sebastien Bacher 2008-03-26 15:47:39 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."
Comment 1 Simon HUET 2008-04-25 10:31:09 UTC
gvfs-mount does the same.

Please improve the gvfs smb support to something close to GnomeVFS. Thanks.
Comment 2 Tomas Bzatek 2008-05-22 15:31:57 UTC
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.
Comment 3 Tomas Bzatek 2008-05-22 15:32:38 UTC
*** Bug 529857 has been marked as a duplicate of this bug. ***
Comment 4 Tomas Bzatek 2008-09-16 15:22:00 UTC
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.