Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sss-idmap: add support for more general POSIX id-mapping #7858

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sumit-bose
Copy link
Contributor

Add new calls to libsss_idmap which should allow POSIX id-mapping for more
general sources like IdPs as well and not only Active Directory based
sources.

Add new calls to libsss_idmap which should allow POSIX id-mapping for
more general sources like IdPs as well and not only Active Directory
based sources.
If for id-mapping from a general source a string is used as input for
the murmurhash based offset calculation it might be important that
different UTF8 representations of the same string will lead to the same
ID (normalize) or that the case of the string doe not matter for the ID
calculation (casefold).

By default normalization is enabled while casefolding is not.
@@ -1376,7 +1376,7 @@ libsss_idmap_la_LIBADD = \
$(NULL)
libsss_idmap_la_LDFLAGS = \
-Wl,--version-script,$(srcdir)/src/lib/idmap/sss_idmap.exports \
-version-info 5:1:5
-version-info 6:0:6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this versioning work - why not 6:0:0?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does this versioning work - why not 6:0:0?

Hi,

it's libtool magic, see https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html for details. Since I didn't remove anything I followed until step 5.

HTH

bye,
Sumit

@alexey-tikhonov alexey-tikhonov self-requested a review February 28, 2025 08:59
@alexey-tikhonov alexey-tikhonov self-assigned this Feb 28, 2025
@alexey-tikhonov alexey-tikhonov added no-backport This should go to target branch only. Waiting for review labels Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport This should go to target branch only. Waiting for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants