Bugzilla – Bug 1219503
cups 2.4.7 in Tumbleweed snapshot 20240131 requires "group(ntadmin)" and pulls in samba as the only provider.
Last modified: 2024-07-05 08:00:02 UTC
abcd@opensuse:~> LANG=c zypper se -i --requires "group(ntadmin)" Loading repository data... Reading installed packages... S | Name | Summary | Type --+------+---------------------------------+-------- i | cups | The Common UNIX Printing System | package abcd@opensuse:~> LANG=c zypper se --provides "group(ntadmin)" Loading repository data... Reading installed packages... S | Name | Summary | Type --+-------+---------------------------------------------------+-------- i | samba | A SMB/CIFS File, Print, and Authentication Server | package I had "ntadmin:x:71:" in /etc/group before the upgrade, probably created by cups. It seems exaggerated to install samba plus a gazillion of dependencies only to fulfill this dependency.
It seems this is old leftover stuff that needs to be cleaned up: cups.spec contains (excerpts - long line wrapped here): ----------------------------------------------------------- getent group ntadmin >/dev/null || %{_sbindir}/groupadd -g 71 -o -r ntadmin ----------------------------------------------------------- and ----------------------------------------------------------- %dir %attr(0775,root,ntadmin) %{_datadir}/cups/drivers ----------------------------------------------------------- cups.changes contains (excerpt): ----------------------------------------------------------- Fri Sep 24 14:04:06 CEST 2004 - kssingvo@suse.de - added creation of group ntadmin in %pre (bugzilla#45719) ----------------------------------------------------------- where (bugzilla#45719) is https://bugzilla.suse.com/show_bug.cgi?id=suse45719 "ntadmin is not in passwd" (excerpts): -------------------------------------------------------------- Directory /usr/share/cups/drivers is owned by group "ntadmin", but this group isnt added any more through samba package. Therefore installation of cups package complains about non existing group. ... The directory might be used by cupsaddsmb. And it should be part of the cups package. -------------------------------------------------------------- On my openSUSE Leap 15.5 system with CUPS 2.4.7 /usr/share/cups/drivers is empty. Furthermore cups.changes contains (excerpt): ----------------------------------------------------------- - Version upgrade to 2.3b6: ... Backward incompatible changes: * The cupsaddsmb program has been removed (Issue #5449) ----------------------------------------------------------- where "Issue #5449" is https://github.com/apple/cups/issues/5449 "Drop cupsaddsmb and Samba PPD file support" (excerpts): ----------------------------------------------------------- michaelrsweet commented on Dec 6, 2018 The Windows PostScript driver is long unsupported and Samba 4 doesn't support cupsaddsmb. Remove it. -----------------------------------------------------------
Fixed via https://build.opensuse.org/request/show/1143647 and https://build.opensuse.org/request/show/1143648 "Removed outdated ntadmin stuff from cups.spec"