GNOME Bugzilla – Bug 600557
Asks passwd for CIFS share when kerberos ticket available
Last modified: 2015-03-15 17:39:16 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.
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 ?
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.