@ Moritz - Thank you for your insightful debugging of this issue. As you anticipated, I confirm that restricting the directive in pam_mount.xml to a specific user (user="USERNAME") is a valid workaround.
I also would like to add that my suggested workaround (i.e. commenting out @pam-mount in "common-session-noninteractive" breaks authentication systems used also on desktop systems. Please discard it.
@ Moritz - Thank you for your insightful debugging of this issue. As you anticipated, I confirm that restricting the directive in pam_mount.xml to a specific user (user="USERNAME") is a valid workaround.
I also would like to add that my suggested workaround (i.e. commenting out @pam-mount in "common- session- noninteractive" breaks authentication systems used also on desktop systems. Please discard it.