#3866 sssctl user-checks does not show custom IFP user_attributes
Opened 24 days ago by jhrozek. Modified 18 days ago

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.

Metadata Update from @jhrozek:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1638295

24 days ago

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

Metadata Update from @jhrozek:
- Issue tagged with: RFE

24 days ago

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 2.1
- Issue tagged with: easyfix

18 days ago

Login to comment on this ticket.

Metadata