From 660ade3bb1e5650f8b379a95197017216f506e85d72c0b139b39a31cc7cc911a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 22 Jan 2025 11:07:12 +0100 Subject: [PATCH] Combine disparate idmap plugin descriptions --- sssd.spec | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/sssd.spec b/sssd.spec index 2107758..df29625 100644 --- a/sssd.spec +++ b/sssd.spec @@ -130,10 +130,6 @@ Obsoletes: sssd-common < %version-%release %define permissions_path %_sysconfdir/permissions.d/ %endif -# Both SSSD and cifs-utils provide an idmap plugin for cifs.ko -# %%_sysconfdir/cifs-utils/idmap-plugin should be a symlink to one of the 2 idmap plugins, -# cifs-utils or sssd. The plugins are individually packaged and conflicts with each other -# (https://bugzilla.suse.com/show_bug.cgi?id=1235789). %define cifs_idmap_plugin %_sysconfdir/cifs-utils/idmap-plugin %define cifs_idmap_lib %_libdir/cifs-utils/cifs_idmap_sss.so @@ -252,13 +248,19 @@ UIDs/GIDs and SIDs. %package cifs-idmap-plugin Summary: The sssd idmap plugin for cifs.idmap Group: System/Libraries +# Conflict as per https://bugzilla.suse.com/1235789 Provides: cifs-idmap-plugin Conflicts: cifs-idmap-plugin %description cifs-idmap-plugin -The cifs.idmap(8) userspace helper relies on a plugin to handle the ID mapping. -This package contains the sssd ID mapping plugin. +The cifs.idmap(8) userspace helper relies on a plugin to handle the +ID mapping. This package contains the ID mapping plugin that will use +sssd. +In SUSE systems, only one such plugin can be installed at a time +(either the one from sssd, or from cifs-utils). +Without the plugin, file objects in a mounted share have UID/GID of +the original mounting process. %package -n libsss_certmap0 Summary: FreeIPA ID mapping library