ubuntu / adsys

Active Directory bridging tool suite
GNU General Public License v3.0
195 stars 48 forks source link

Issue: Location is not mountable #1053

Open mbgevers opened 1 month ago

mbgevers commented 1 month ago

Is there an existing issue for this?

Describe the issue

When trying to mount by adsys on demand at user logon we always get smb://server1.testdomain.local/testubnt/\": Location is not mountable in the log. When we mount by fstab also using Kerberos it works: //server1.testdomain.local/testubnt /cifsmounttest cifs _netdev,sec=krb5,noserverino,user,rw 0 0

in the Group Policy Config we have the following: [krb5]smb://server1.testdomain.local/testubnt/

any hint?

Thx in advance

Kind Regards

M

Steps to reproduce it

Joind ad as of the Ubuntu Adsys Documentation as in the Pdf "Integration_of_Ubuntu_Desktop_with_Microsoft_Active_Directory_16_01_24.pdf" or with the adsys Docs

setup the GPO Part

Ubuntu users: System information

report.txt

Non Ubuntu users: System information

No response

Additional information

Relevant logs from journalctl:

Jul 23 13:09:14 kubuntutest3 systemd[1748]: Starting adsys-user-mounts.service - ADSys user mount handler... Jul 23 13:09:14 kubuntutest3 systemd[1748]: Starting plasma-kcminit.service - KDE Config Module Initialization... Jul 23 13:09:14 kubuntutest3 systemd[1748]: Starting session-migration.service - Session Migration... Jul 23 13:09:14 kubuntutest3 systemd[1748]: Started ssh-agent.service - OpenSSH Agent. Jul 23 13:09:14 kubuntutest3 systemd[1748]: Starting xdg-desktop-portal-rewrite-launchers.service - Rewrite dynamic launcher portal entries... Jul 23 13:09:14 kubuntutest3 systemd[1748]: Starting kde-baloo.service - Baloo File Indexer Daemon... Jul 23 13:09:14 kubuntutest3 dbus-daemon[1766]: [session uid=1468402212 pid=1766] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.103' (uid=1468402212 pid=3470 comm="/usr/libexec/xd> Jul 23 13:09:14 kubuntutest3 systemd[1748]: Starting gvfs-daemon.service - Virtual filesystem service... Jul 23 13:09:14 kubuntutest3 systemd[1748]: Finished session-migration.service - Session Migration. Jul 23 13:09:14 kubuntutest3 dbus-daemon[1766]: [session uid=1468402212 pid=1766] Successfully activated service 'org.gtk.vfs.Daemon' Jul 23 13:09:14 kubuntutest3 systemd[1748]: Started gvfs-daemon.service - Virtual filesystem service. Jul 23 13:09:14 kubuntutest3 systemd[1748]: Finished xdg-desktop-portal-rewrite-launchers.service - Rewrite dynamic launcher portal entries. Jul 23 13:09:14 kubuntutest3 systemd[1748]: Reached target graphical-session-pre.target - Session services which should run early before the graphical session is brought up. Jul 23 13:09:14 kubuntutest3 dbus-daemon[1766]: [session uid=1468402212 pid=1766] Successfully activated service 'org.freedesktop.impl.portal.desktop.gtk' Jul 23 13:09:14 kubuntutest3 systemd[1748]: Started xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation). Jul 23 13:09:14 kubuntutest3 xdg-desktop-por[3448]: unable to open named profile (mike.burgener@server1.testdomain.local): using the null configuration. Jul 23 13:09:14 kubuntutest3 adsysd[3500]: level=error msg="failed to mount \"smb://radium.server1.testdomain.local/testubnt/\": Location is not mountable" Jul 23 13:09:14 kubuntutest3 baloo_file[3522]: Baloo File Indexing has been disabled Jul 23 13:09:14 kubuntutest3 systemd[1748]: Started kde-baloo.service - Baloo File Indexer Daemon. Jul 23 13:09:14 kubuntutest3 rtkit-daemon[1627]: Supervising 14 threads of 8 processes of 2 users. Jul 23 13:09:14 kubuntutest3 rtkit-daemon[1627]: Supervising 14 threads of 8 processes of 2 users. Jul 23 13:09:14 kubuntutest3 systemd[1748]: adsys-user-mounts.service: Main process exited, code=exited, status=1/FAILURE Jul 23 13:09:14 kubuntutest3 rtkit-daemon[1627]: Supervising 14 threads of 8 processes of 2 users. Jul 23 13:09:14 kubuntutest3 systemd[1748]: adsys-user-mounts.service: Failed with result 'exit-code'. Jul 23 13:09:14 kubuntutest3 systemd[1748]: Failed to start adsys-user-mounts.service - ADSys user mount handler.

Double check your logs

mbgevers commented 1 month ago

Seems related to https://gitlab.gnome.org/GNOME/glib/-/issues/2090

mbgevers commented 1 month ago

Seems related to https://gitlab.gnome.org/GNOME/glib/-/issues/2090

After installing the mentioned Package however we see no more mount-requests at all from the GPO in the logs