Red Hat Bugzilla – 1263262 – Unable to resolve group memberships for AD users when using sssd-1.12.2-58.el7_1.6.x86_64 client in combination with ipa-server-3.0.0-42.el6.x86_64 with AD Trust
Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Unable to resolve group memberships for AD users when using sssd-1.12.2-58.el7_1.6.x86_64 client in combination with ipa-server-3.0.0-42.el6.x86_64 with AD Trust
Newer SSSD versions use a request of the IPA extdom plugin which has known issues in IPA-3.0 which are already fixed upstream (https://fedorahosted.org/freeipa/ticket/3596)
The three patches from the upstream ticket are needed to allow SSSD 1.12 and above to properly resolve groups from the trusted AD domain with a RHEL-6 IPA server.
Verified using RHEL6.8 IPA server and client
ipa-client-3.0.0-50.el6.x86_64
ipa-server-3.0.0-50.el6.x86_64
root@r68server ~]# ipa group-add-member ad_nix-users_external --external "nix-users"
[member user]:
[member group]:
Group name: ad_nix-users_external
Description: AD nix users external map
External member: S-1-5-21-2828791737-1866347024-3967946728-1616
-------------------------
Number of members added 1
-------------------------
[root@r68server ~]# ipa group-add-member nix-users --groups ad_nix-users_external
Group name: nix-users
Description: AD nix-users
GID: 953200004
Member groups: ad_nix-users_external
-------------------------
Number of members added 1
-------------------------
[root@r68server ~]# ipa group-show ad_nix-users_external
Group name: ad_nix-users_external
Description: AD nix users external map
Member of groups: nix-users
External member: S-1-5-21-2828791737-1866347024-3967946728-1616
[root@r68server ~]# ipa group-show nix-users
Group name: nix-users
Description: AD nix-users
GID: 953200004
Member groups: ad_nix-users_external
[root@r68server ~]# ssh -l hjensas r683.dom226.in
hjensas@r683.dom226.in's password:
Could not chdir to home directory /home/pne.qe/hjensas: No such file or directory
-sh-4.1$ id
uid=11614(hjensas) gid=11614(hjensas) groups=11614(hjensas),10513(domain users),11616(nix-users),953200004(nix-users) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
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.
https://rhn.redhat.com/errata/RHBA-2016-0874.html