From 134270ceaf6813a45564168496d9f2d563f292e7 Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Mon, 22 Apr 2024 15:33:40 +0200 Subject: [PATCH] document gvfsd debugging --- _toc.yml | 1 + admin-guide/troubleshooting/kerberos.md | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/_toc.yml b/_toc.yml index bcafcfe..56b638c 100644 --- a/_toc.yml +++ b/_toc.yml @@ -117,6 +117,7 @@ chapters: - file: admin-guide/troubleshooting/selinux - file: admin-guide/troubleshooting/boot - file: admin-guide/troubleshooting/kerberos + - file: admin-guide/troubleshooting/gvfs - file: admin-guide/troubleshooting/sssd - file: admin-guide/troubleshooting/pam - file: admin-guide/troubleshooting/pcie_bus_error diff --git a/admin-guide/troubleshooting/kerberos.md b/admin-guide/troubleshooting/kerberos.md index 630c617..b5943a8 100644 --- a/admin-guide/troubleshooting/kerberos.md +++ b/admin-guide/troubleshooting/kerberos.md @@ -1,13 +1,13 @@ -# Kerberos +# GVFS (Gnome Virtual Filesystem) -PSI Kerberos documentation: https://intranet.psi.ch/de/knowledge-base/kerberos-and-afs +GVFS or `gio mount` allows access to different types of network filesystems like SMB/CIFS and protocols like FTP or SFTP. - - 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): +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 -KRB5_TRACE=/dev/stderr curl -v --negotiate -u : https://boot00-test.psi.ch/sysdb/v1/node > /dev/null +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 ```