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

HBAC evaluator should consider utf-8 case insensitive string comparisons #1979

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed
Assignees
Labels
Bugzilla Closed: Fixed Issue was closed as fixed.

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/937


HBAC rule evaluation currently uses strcmp() function for string comparison. This is case sensitive and too limiting for UTF-8 encoded strings. Some of elements of the rule should be treated case insensitive during comparison.

A combination of case insensitive and UTF-8 means there is no way to use strcasecmp() as a replacement for strcmp(). HBAC evaluator should switch to a proper Unicode string handling. One option is to use libicu library which is already a requirement for IPA installation.

Comments


Comment from sgallagh at 2011-07-27 15:30:52

Fields changed

component: SSSD => IPA Provider
milestone: NEEDS_TRIAGE => SSSD 1.6.0
owner: somebody => sgallagh
priority: major => blocker
status: new => assigned


Comment from sgallagh at 2011-07-28 15:34:06

Fields changed

patch: 0 => 1


Comment from sgallagh at 2011-07-28 19:46:00

Fields changed

rhbz: => 726466


Comment from sgallagh at 2011-07-29 16:33:38

Fixed by 826937e

resolution: => fixed
status: assigned => closed


Comment from sgallagh at 2011-11-14 22:51:01

Backported to sssd-1-5

d086d5d

milestone: SSSD 1.6.0 => SSSD 1.5.12


Comment from mkosek at 2011-12-16 16:15:31

Fields changed

rhbz: 726466 => [https://bugzilla.redhat.com/show_bug.cgi?id=726466 726466]


Comment from abbra at 2017-02-24 14:42:22

Metadata Update from @abbra:

  • Issue assigned to sgallagh
  • Issue set to the milestone: SSSD 1.5.12
@sssd-bot sssd-bot added Bugzilla Closed: Fixed Issue was closed as fixed. labels May 2, 2020
@sssd-bot sssd-bot closed this as completed May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugzilla Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

2 participants