Bug 745208
Summary: | 389-ds-base: PAM Pass through authentication fails when selinux mode is in "Enforcing". | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Sankar Ramalingam <sramling> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1 | CC: | dwalsh, ebenes, mmalik, nkinder, shaines |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.7.19-116.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-12-06 10:19:50 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Sankar Ramalingam
2011-10-11 16:40:24 UTC
This is happening because ns-slapd calls into PAM. At a minimum, I would guess we need the following policy: auth_use_pam(dirsrv_t) Sankar - I would like to get access to your test system so I can build a custom policy module that adds the above rule. We can then see if it clears up all of the AVCs that you are seeing so we know what the proper fix is. I tested a custom policy module with only the rule from comment#1, and it seems to take care of all of the AVCs that occur when using the RHDS PAM Pass-through plug-in. We should get the dirsrv policy updated with this additional rule/macro. Fixed in selinux-policy-3.7.19-116.el6 Could we get QA ack? /usr/lib64/mozldap/ldapsearch -h localhost -D "uid=staticua,ou=People,dc=pamexample,dc=com" -w "dbyers1" -p 39641 -s base -b "uid=staticua,ou=People,dc=pamexample,dc=com" objectclass=* version: 1 dn: uid=staticua,ou=People,dc=pamexample,dc=com cn: Test user sn: Astaticua givenName: Fstaticua objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetOrgPerson ou: Accounting ou: People l: Santa Clara uid: usera475 uid: staticua mail: usera telephoneNumber: +1 408 555 9133 facsimileTelephoneNumber: +1 408 555 8433 roomNumber: 8217 manager: uid=dmiller,ou=People,dc=pamexample,dc=com [root@weelie ~]# getenforce Enforcing Hence this bug can be marked as verified. 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/RHBA-2011-1511.html |