[Bug 2117031] [NEW] snap firefox : user unknown with sssd / ldap
schoubi
2117031 at bugs.launchpad.net
Wed Jul 16 08:19:46 UTC 2025
Public bug reported:
Hi,
On a linux noble install, firefox is obtained via snap :
________________________________________
# snap list
Name Version Rev Tracking Publisher Notes
bare 1.0 5 latest/stable canonical✓ base
core22 20250612 2045 latest/stable canonical✓ base
firefox 140.0.4-1 6495 latest/stable mozilla✓ -
gnome-42-2204 0+git.38ea591 202 latest/stable canonical✓ -
gtk-common-themes 0.1-81-g442e511 1535 latest/stable canonical✓ -
snapd 2.70 24792 latest/stable canonical✓ snapd
thunderbird 128.12.0esr-1 751 latest/stable canonical✓ -
_________________________________________
the system use sssd/ldap to authenticate the user, and to obtain his id
:
________________________________________
cuser at linux:~$ id
uid=8261(cuser) gid=1053(mainldapgroup) groups=1053(mainldapgroup),4(adm),20(dialout),24(cdrom),27(sudo),30(dip),46(plugdev),118(lpadmin),1117(ldapgroup1),1185(ldapgroup2),1215(ldapgroup3)
________________________________________
but firefox seems unable to obtain this informations through snap :
________________________________________
snap run --shell firefox
groups: cannot find name for group ID 1053
groups: cannot find name for group ID 1117
groups: cannot find name for group ID 1185
groups: cannot find name for group ID 1215
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
I have no name!
________________________________________
as a consequence, print job through firefox are sent as "unknown user"
to cups, on our centralized printing system, this makes the print job to
fail...
A workaround for the bug appears here :
https://forum.snapcraft.io/t/print-job-username-set-to-unknown/34986/9
but it involved using NSCD, which is incompatible with SSSD :
https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/system-
level_authentication_guide/usingnscd-sssd
** Affects: firefox (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2117031
Title:
snap firefox : user unknown with sssd / ldap
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2117031/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list