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

sssctl user-checks does not show custom IFP user_attributes #4856

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed

sssctl user-checks does not show custom IFP user_attributes #4856

sssd-bot opened this issue May 2, 2020 · 0 comments
Labels

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

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


Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1638295

Description of problem:

"sssctl user-checks" also query the IFP interface of sssd. The problem is, that
this command only displays POSIX user attrs, no matter if we configured the
InfoPipe for additional user attributes.

for example, if I have the following configuration snippet:
[ifp]
        debug_level = 9
        allowed_uids = ondrejv, root
        user_attributes = +mail, +telephoneNumber, +givenname, +sn

I would expect the "sssctl user-checks" command will
- also return the value of "mail, telephoneNumber, givenname, sn" attributes
- ideally, we could make the "sssctl user-checks" also available for non-root
users (ondrejv in the example above), but I guess I am asking too much :-)

I know I could get the results with dbus-send or the Python dbus module, but
parsing the output of sssctl is better parseable for a simple bash script.

Comments


Comment from jhrozek at 2018-10-25 13:39:40

Metadata Update from @jhrozek:


Comment from jhrozek at 2018-10-25 13:40:26

There seems to be ifp_users_user_get_extra_attributes in the generated sbus code, maybe we can use that?


Comment from jhrozek at 2018-10-25 13:40:39

Metadata Update from @jhrozek:

  • Issue tagged with: RFE

Comment from jhrozek at 2018-10-31 22:39:43

Metadata Update from @jhrozek:

  • Issue set to the milestone: SSSD 2.1
  • Issue tagged with: easyfix

Comment from thalman at 2018-11-23 12:03:58

Metadata Update from @thalman:

  • Issue assigned to thalman

Comment from jhrozek at 2019-02-05 22:17:02


Comment from jhrozek at 2019-02-05 22:17:03

Metadata Update from @jhrozek:

  • Issue close_status updated to: Fixed
  • Issue status updated to: Closed (was: Open)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant