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 600557 - Asks passwd for CIFS share when kerberos ticket available
Asks passwd for CIFS share when kerberos ticket available
Status: RESOLVED INCOMPLETE
Product: gvfs
Classification: Core
Component: smb backend
1.4.x
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2009-11-03 14:48 UTC by Josselin Mouette
Modified: 2015-03-15 17:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Josselin Mouette 2009-11-03 14:48:46 UTC
[ Original report: http://bugs.debian.org/553335 by Vincent Zweije ]

When connecting to a (Windows) CIFS share, nautilus asks for a password,
even when an applicable kerberos ticket is available.

Clicking away the password dialog box (cancel) shows the share without
problems.

I'd expect gvfs to try using the kerberos ticket before asking for
a password, so I don't have to click away the password window.
Comment 1 yvan 2015-01-21 11:52:39 UTC
Hi,

On Xubuntu 14.04 (gvfs-* version 1.20.1-1ubuntu1) it uses my Kerberos ticket, both using Thunar or the command "gvfs-mount smb://serv/share".

Maybe your problem came from nautilus ?
Do you stil have this problem with the current gvfs version on Debian Jessie ?
Comment 2 Ross Lagerwall 2015-03-15 17:39:16 UTC
This works fine for me:

Initially:
$ klist
Ticket cache: FILE:/tmp/krb5cc_1000
Default principal: jojen@CORP.PEGASUS

Valid starting     Expires            Service principal
15/03/15 17:33:10  16/03/15 03:33:10  krbtgt/CORP.PEGASUS@CORP.PEGASUS
	renew until 16/03/15 17:33:08


After browsing to the share through Nautilus's Browse Network, opening the share and performing some operations, no password dialogs come up and everything works as expected.

Afterwards:
$ klist
Ticket cache: FILE:/tmp/krb5cc_1000
Default principal: jojen@CORP.PEGASUS

Valid starting     Expires            Service principal
15/03/15 17:33:10  16/03/15 03:33:10  krbtgt/CORP.PEGASUS@CORP.PEGASUS
	renew until 16/03/15 17:33:08
15/03/15 17:33:45  16/03/15 03:33:10  cifs/W7CLI@CORP.PEGASUS
	renew until 16/03/15 17:33:08
15/03/15 17:33:54  16/03/15 03:33:10  cifs/w7cli@CORP.PEGASUS
	renew until 16/03/15 17:33:08

Closing for now.