Nautilus prompts for username and password when accessing a Samba share on a network drive, despite having a perfectly valid unexpired Kerberos ticket. The Kerberos ticket is obtained automatically at logon by authentication against a Samba Active Directory server (Samba AD-DC).
Accessing the same Samba share with the same Kerberos ticket via "smbclient //host/sharename -k" works fine.
One known workaround is: "nautilus -q", and then "killall gvfsd". After that, accessing the Samba share with Nautilus works normally as it should.
I did not experience this issue in Ubuntu 16.04. It appears that a regression was introduced somewhere between 16.04 and 18.04.
The issue is quite annoying and confusing for the users who are used to accessing Samba shares on the network drive without being prompted for their username and password.
The issue appears to manifest itself usually not on the first access to a Samba share, but on subsequent accesses after a system reboot or upon user logout/login. Strangely, removing ~/.cache/ibus/bus/registry file before user login appears to fix the issue for the current user session, but then the problem reappears upon subsequent user logins or after a system reboot.
Nemo appears to have the same problem as Nautilus.
Nautilus prompts for username and password when accessing a Samba share on a network drive, despite having a perfectly valid unexpired Kerberos ticket. The Kerberos ticket is obtained automatically at logon by authentication against a Samba Active Directory server (Samba AD-DC).
Accessing the same Samba share with the same Kerberos ticket via "smbclient //host/sharename -k" works fine.
One known workaround is: "nautilus -q", and then "killall gvfsd". After that, accessing the Samba share with Nautilus works normally as it should.
I did not experience this issue in Ubuntu 16.04. It appears that a regression was introduced somewhere between 16.04 and 18.04.
The issue is quite annoying and confusing for the users who are used to accessing Samba shares on the network drive without being prompted for their username and password.
The issue appears to manifest itself usually not on the first access to a Samba share, but on subsequent accesses after a system reboot or upon user logout/login. Strangely, removing ~/.cache/ ibus/bus/ registry file before user login appears to fix the issue for the current user session, but then the problem reappears upon subsequent user logins or after a system reboot.
Nemo appears to have the same problem as Nautilus.
ProblemType: Bug ature: Ubuntu 4.15.0- 24.26-generic 4.15.18 dules: nvidia_modeset nvidia DIR=<set>
DistroRelease: Ubuntu 18.04
Package: gvfs-daemons 1.36.1-0ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Tue Jul 3 11:12:06 2018
ExecutablePath: /usr/lib/gvfs/gvfsd
InstallationDate: Installed on 2018-04-27 (66 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
ProcEnviron:
LANG=en_CA.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
XDG_RUNTIME_
SourcePackage: gvfs
UpgradeStatus: No upgrade log present (probably fresh install)