For further context, Google Chrome works fine for both SSSD/LDAP and
local user accounts. The "Remember password" option also works fine when
printing from Chrome.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/2117031

Title:
  snap firefox : user unknown with sssd / ldap

Status in firefox package in Ubuntu:
  Confirmed

Bug description:
  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@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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2117031/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to