Given: A host that does user auth with SSSD (“LDAP”).
base: core18 (or maybe in general?)
/etc/nsswitch.conf is bound to something different than the host’s
# snap passwd: compat extrausers
# host passwd: compat systemd sss
Thus, within the snap context,
getent passwd $USER will not succeed for non-local users.
Is that a supported use-case and should this work? Because if not,
snapcraft-desktop-helpers and its “successor” the gnome extension (https://github.com/diddledan/snapcraft/blob/desktop-gnome-extension/extensions/desktop-common/desktop-init) can never successfully link remote users’ home directories into the snap. Quite problematic indeed for desktop applications.
Any suggestions or ideas on how to tackle this problem?