Bug 867932
| Summary: | Selinuxusermap rule is not honoured | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Kaleem <ksiddiqu> |
| Component: | sssd | Assignee: | Jakub Hrozek <jhrozek> |
| Status: | CLOSED ERRATA | QA Contact: | Kaushik Banerjee <kbanerje> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.4 | CC: | grajaiya, jgalipea, pbrezina |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | sssd-1.9.2-4.el6 | Doc Type: | Bug Fix |
| Doc Text: |
No Documentation Needed
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-21 09:37:44 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: | |||
|
Comment 2
Jakub Hrozek
2012-10-18 15:36:40 UTC
Verified. Selinuxusermap rule is working as expected. RHEL Version: ============= [root@rhel64master ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.4 Beta (Santiago) [root@rhel64master ~]# IPA and SSSD version: ===================== [root@rhel64master ~]# rpm -qa|grep ipa|sort ipa-admintools-3.0.0-5.el6.x86_64 ipa-client-3.0.0-5.el6.x86_64 ipa-pki-ca-theme-9.0.3-7.el6.noarch ipa-pki-common-theme-9.0.3-7.el6.noarch ipa-python-3.0.0-5.el6.x86_64 ipa-server-3.0.0-5.el6.x86_64 ipa-server-selinux-3.0.0-5.el6.x86_64 libipa_hbac-1.9.2-4.el6.x86_64 libipa_hbac-python-1.9.2-4.el6.x86_64 python-iniparse-0.3.1-2.1.el6.noarch [root@rhel64master ~]# rpm -qa|grep sssd sssd-1.9.2-4.el6.x86_64 sssd-client-1.9.2-4.el6.x86_64 [root@rhel64master ~]# Steps used to verify: ==================== (1)Added a selinuxusermap rule for staff_u [root@rhel64master ~]# ipa selinuxusermap-show selinuxusermaprule1 --all dn: ipaUniqueID=77b0cdfa-1f2a-11e2-a886-5254005d451f,cn=usermap,cn=selinux,dc=testrelm,dc=com Rule name: selinuxusermaprule1 SELinux User: staff_u:s0-s0:c0.c1023 Enabled: TRUE Users: user1 Hosts: rhel64client1.testrelm.com ipauniqueid: 77b0cdfa-1f2a-11e2-a886-5254005d451f objectclass: ipaassociation, ipaselinuxusermap [root@rhel64master ~]# (2)Try to get context assigned to user in selinuxusermap rule [root@rhel64master ~]# kinit user1 Password for user1: [root@rhel64master ~]# ssh -l user1 rhel64client1.testrelm.com id -Z staff_u:staff_r:staff_t:s0-s0:c0.c1023 [root@rhel64master ~]# 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-0508.html |