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.
Bug 1225614 - IPA enumeration provider crashes
Summary: IPA enumeration provider crashes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd
Version: 6.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: SSSD Maintainers
QA Contact: Kaushik Banerjee
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-27 19:14 UTC by Jakub Hrozek
Modified: 2020-05-02 18:05 UTC (History)
12 users (show)

Fixed In Version: sssd-1.12.4-44.el6
Doc Type: Bug Fix
Doc Text:
Do not document
Clone Of:
Environment:
Last Closed: 2015-07-22 06:46:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 3700 0 None None None 2020-05-02 18:05:07 UTC
Red Hat Product Errata RHBA-2015:1448 0 normal SHIPPED_LIVE sssd bug fix and enhancement update 2015-07-20 18:43:53 UTC

Description Jakub Hrozek 2015-05-27 19:14:46 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/sssd/ticket/2659

There are some issues with the data provider and the IPA provider that cause IPA provider crash if enumeration is enabled.

Comment 2 Jakub Hrozek 2015-06-01 13:24:53 UTC
Fixed upstream:
    master:
        40bc389bc79bc41429b5a92d5ce75955f8eefaf5
        d9296ba018228ac6a19f710b8bb9044c4ea9ab5b 
    sssd-1-12:
        62e595a57440786af4bc7e7d05596dc6756e0e4d
        2dfb4ed5a36a7be6bcde60e042811b81e83c4850

Comment 5 Steeve Goveas 2015-06-04 07:47:17 UTC
On server
[root@sideswipe ~]# ipa idview-show 'default trust view'
  ID View Name: Default Trust View
  Description: Default Trust View for AD users. Should not be deleted.
  User object overrides: aduser1
  Group object overrides: adgroup1, adgroup1.qe
[root@sideswipe ~]# ipa idview-show hostview --show-hosts
  ID View Name: hostview
  User object overrides: ipauser1, aduser1
  Group object overrides: grp2
[root@sideswipe ~]# service sssd stop ; rm -f /var/lib/sss/{db,mc}/* ; service sssd start
Redirecting to /bin/systemctl stop  sssd.service
Redirecting to /bin/systemctl start  sssd.service


On Client

Verified in Version
[root@ibm-x3250m4-04 ~]# rpm -q sssd
sssd-1.12.4-44.el6.x86_64

[root@ibm-x3250m4-04 ~]# grep enumerate /etc/sssd/sssd.conf || echo "no enumeration"
no enumeration

[root@ibm-x3250m4-04 ~]# service sssd stop; rm -rf /var/lib/sss/{db,mc}/*; service sssd start
Stopping sssd: [  OK  ]
Starting sssd: [  OK  ]

[root@ibm-x3250m4-04 ~]# getent passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
.
.
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
tcpdump:x:72:72::/:/sbin/nologin
test:x:500:500::/home/test:/bin/bash

[root@ibm-x3250m4-04 ~]# vim /etc/sssd/sssd.conf

[root@ibm-x3250m4-04 ~]# grep enumerate /etc/sssd/sssd.conf || echo "no enumeration"
enumerate = true

[root@ibm-x3250m4-04 ~]# service sssd stop; rm -rf /var/lib/sss/{db,mc}/*; service sssd start
Stopping sssd: [  OK  ]
Starting sssd: [  OK  ]

* IPA users are listed and no crash detected

[root@ibm-x3250m4-04 ~]# getent passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
.
.
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
tcpdump:x:72:72::/:/sbin/nologin
test:x:500:500::/home/test:/bin/bash
ipauser1:*:1902400005:1902400005:f l:/home/ipauser1:/bin/sh
stv1user:*:1902400011:1902400011:steeve1 user:/home/stv1user:/bin/sh
admin:*:1902400000:1902400000:Administrator:/home/admin:/bin/bash
frank:*:1902400019:1902400019:Frank Slade:/home/frank:/bin/sh
456:*:1902400022:1902400022:ads 456:/home/456:/bin/sh

[root@ibm-x3250m4-04 ~]# grep -i core /var/log/messages
Jun  3 07:02:16 ibm-x3250m4-04 yum[6972]: Updated: policycoreutils-2.0.83-24.el6.x86_64


* On Server if an idview is applied on the client, enumeration of IPA users does not work as expected and no crash is detected.

[root@sideswipe ~]# ipa idview-apply hostview --hosts ibm-x3250m4-04.ipaviews.test
--------------------------
Applied ID View "hostview"
--------------------------
  hosts: ibm-x3250m4-04.ipaviews.test
---------------------------------------------
Number of hosts the ID View was applied to: 1
---------------------------------------------


On Client

[root@ibm-x3250m4-04 ~]# service sssd stop; rm -rf /var/lib/sss/{db,mc}/*; service sssd start
Stopping sssd: [  OK  ]
Starting sssd: [  OK  ]
[root@ibm-x3250m4-04 ~]# getent passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
.
.
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
tcpdump:x:72:72::/:/sbin/nologin
test:x:500:500::/home/test:/bin/bash

[root@ibm-x3250m4-04 ~]# grep -i core /var/log/messages
Jun  3 07:02:16 ibm-x3250m4-04 yum[6972]: Updated: policycoreutils-2.0.83-24.el6.x86_64

Comment 7 errata-xmlrpc 2015-07-22 06:46:21 UTC
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-2015-1448.html


Note You need to log in before you can comment on or make changes to this bug.