Red Hat Bugzilla – Bug 867676
extdom plugin does not handle Posix UID and GID request
Last modified: 2013-02-21 04:28:31 EST
This bug is created as a clone of upstream ticket: https://fedorahosted.org/freeipa/ticket/3166 There is some disconnect between sssd and the IPA extdom plugin about how maps a UID or a GID to a SID. Since we try to avoid explicit knowledge of the SID in the client the extdom plugin should map the IDs and the client only sends request with UID and GID. Currently those request are not handled properly.
Fixed upstream: master: https://fedorahosted.org/freeipa/changeset/89e315d639e972608df11ae052029aaaf0eb1083 ipa-3-0: https://fedorahosted.org/freeipa/changeset/2b33010a9c5eb734c09582c29c8724ce6eb81d34 Steps to reproduce from Sumit Bose: 1) stop sssd 2) delete all ldb and memory mapped cache files, e.g. 'rm -f /var/lib/sss/mc/* /var/lib/sss/db/*' 3) start sssd 4) call 'getent passwd UID_of_a_user_from_a_trusted_domain'
Verified. Version :: ipa-server-3.0.0-7.el6.x86_64 sssd-1.9.2-7.el6.x86_64 Manual Test Results :: [root@rhel6-1 yum.local.d]# service sssd stop Stopping sssd: [ OK ] [root@rhel6-1 yum.local.d]# rm -f /var/lib/sss/db/* /var/lib/sss/mc/* rm: cannot remove `/var/lib/sss/db/failure-20121107-1-cache-dbs': Is a directory [root@rhel6-1 yum.local.d]# service sssd start Starting sssd: [ OK ] [root@rhel6-1 yum.local.d]# getent passwd 1232801136 adtestuser1@adtestdom.com:*:1232801136:1232801136::/home/adtestdom.com/adtestuser1:
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0528.html