From 8177440337f03b3984105cbd0d57b353ec46d19c Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Mon, 22 Apr 2024 16:02:29 +0200 Subject: [PATCH] document gvfsd debugging --- admin-guide/troubleshooting/gvfs.md | 13 +++++++++++++ admin-guide/troubleshooting/kerberos.md | 16 ++++++++-------- 2 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 admin-guide/troubleshooting/gvfs.md diff --git a/admin-guide/troubleshooting/gvfs.md b/admin-guide/troubleshooting/gvfs.md new file mode 100644 index 0000000..b5943a8 --- /dev/null +++ b/admin-guide/troubleshooting/gvfs.md @@ -0,0 +1,13 @@ +# GVFS (Gnome Virtual Filesystem) + +GVFS or `gio mount` allows access to different types of network filesystems like SMB/CIFS and protocols like FTP or SFTP. + +If Nautilus access to such a destination or a `gio mount ...` does not work, following can be used to see what happens inside `gvfsd`: + +```bash +GVFS_SMB_DEBUG=10 GVFS_DEBUG=1 $(find /usr/lib* -name gvfsd 2>/dev/null) --replace +``` +of if Kerberos is involved and might be the issue: +```bash +KRB5_TRACE=/dev/stdout GVFS_SMB_DEBUG=10 GVFS_DEBUG=1 $(find /usr/lib* -name gvfsd 2>/dev/null) --replace +``` diff --git a/admin-guide/troubleshooting/kerberos.md b/admin-guide/troubleshooting/kerberos.md index b5943a8..630c617 100644 --- a/admin-guide/troubleshooting/kerberos.md +++ b/admin-guide/troubleshooting/kerberos.md @@ -1,13 +1,13 @@ -# GVFS (Gnome Virtual Filesystem) +# Kerberos -GVFS or `gio mount` allows access to different types of network filesystems like SMB/CIFS and protocols like FTP or SFTP. +PSI Kerberos documentation: https://intranet.psi.ch/de/knowledge-base/kerberos-and-afs -If Nautilus access to such a destination or a `gio mount ...` does not work, following can be used to see what happens inside `gvfsd`: + - Old AIT AD Kerberos troubleshooting guide: [PDF](../_static/AIT-AD-Kerberos-Troubleshooting.pdf) + - Old AIT keytab file documentation: [PDF](../_static/AIT-Keytab-File.pdf) + + +Enable trace log of the Kerberos library to troubleshoot authentication problems (e.g. for curl): ```bash -GVFS_SMB_DEBUG=10 GVFS_DEBUG=1 $(find /usr/lib* -name gvfsd 2>/dev/null) --replace -``` -of if Kerberos is involved and might be the issue: -```bash -KRB5_TRACE=/dev/stdout GVFS_SMB_DEBUG=10 GVFS_DEBUG=1 $(find /usr/lib* -name gvfsd 2>/dev/null) --replace +KRB5_TRACE=/dev/stderr curl -v --negotiate -u : https://boot00-test.psi.ch/sysdb/v1/node > /dev/null ```