Bug 1660067

Summary: extraAttributes is org.freedesktop.DBus.Error.UnknownProperty: Unknown property
Product: [Fedora] Fedora Reporter: Jan Pazdziora <jpazdziora>
Component: sssdAssignee: Michal Zidek <mzidek>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: abokovoy, jhrozek, lslebodn, mzidek, pbrezina, qrsbrwn, rharwood, sbose, ssorce
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-2.1.0-2.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1660083 (view as bug list) Environment:
Last Closed: 2019-04-02 09:32:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1660083    

Description Jan Pazdziora 2018-12-17 12:53:16 UTC
Description of problem:

Attempting to get extraAttributes via SSSD's ifp fails.

Version-Release number of selected component (if applicable):

sssd-dbus-2.0.0-4.fc29.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. Install and configure FreeIPA server, for example via
   ipa-server-install -r EXAMPLE.TEST -n example.test -p Secret123 -a Secret123
2. Attempt to get extraAttributes for user admin:
   dbus-send --print-reply --system --dest=org.freedesktop.sssd.infopipe /org/freedesktop/sssd/infopipe/Users/example_2etest/$( id -u admin ) org.freedesktop.DBus.Properties.Get string:"org.freedesktop.sssd.infopipe.Users.User" string:"extraAttributes"

Actual results:

Error org.freedesktop.DBus.Error.UnknownProperty: Unknown property

Expected results:

method return time=1545051067.561377 sender=:1.96 -> destination=:1.115 serial=15 reply_serial=2
   variant       array [
      ]

Additional info:

This is regression against sssd-dbus-1.16.3-2.fc28.x86_64 and older versions.

This is breaking Ipsilon. It was found when testing https://pagure.io/webauthinfra on Fedora 29: testing https://travis-ci.org/adelton/webauthinfra/builds/466857916

Comment 1 Jakub Hrozek 2018-12-17 13:16:43 UTC
Upstream ticket:
https://pagure.io/SSSD/sssd/issue/3906

Comment 2 Jakub Hrozek 2019-01-06 19:19:34 UTC
* master: 814889a7f4691a135b617058c3ae876b54d5b226