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

IPA provider fails initgroups() if user is not a member of any group #1914

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed
Assignees
Labels
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/872

  • Created at 2011-05-17 18:49:38 by sgallagh
  • Closed as Fixed
  • Assigned to sgallagh

Description of problem

Attempting to perform an initgroups() lookup of a user that belongs to no
groups causes SSSD to throw an error and return no results for the user.

Version-Release number of selected component (if applicable)

sssd-1.5.1-34.el6

How reproducible

Every time

Steps to Reproduce

  1. Configure sssd using ipa-client-install to point at a FreeIPA v2 server.
  2. Add a new user to the FreeIPA v2 server (e.g. newuser)
  3. Remove this user from the ipausers group (to which they are added automatically)
  4. Verify with 'ipa user-show newuser' that the user is not a member of any groups
  5. On the client running SSSD, as root run 'su - newuser'

Actual results

id: cannot find name for user ID 115200007

Expected results

No error message

Additional info

Comments


Comment from dpal at 2011-05-19 15:06:28

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.6.0


Comment from sgallagh at 2011-05-24 20:40:05

Fixed by 307466d

resolution: => fixed
status: new => closed


Comment from sgallagh at 2011-11-14 22:40:32

Backported to sssd-1-5

0a25d94

milestone: SSSD 1.6.0 => SSSD 1.5.8
rhbz: =>


Comment from dpal at 2012-01-19 03:10:43

Fields changed

rhbz: => 0


Comment from sgallagh at 2017-02-24 14:27:45

Metadata Update from @sgallagh:

  • Issue assigned to sgallagh
  • Issue set to the milestone: SSSD 1.5.8
@sssd-bot sssd-bot added the Closed: Fixed Issue was closed as fixed. label 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
Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

2 participants