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.

Bug 817964

Summary: simple_allow_groups is not working
Product: Red Hat Enterprise Linux 6 Reporter: Orion Poplawski <orion>
Component: sssdAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED NOTABUG QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2CC: grajaiya, jgalipea, prc
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-01 22:37:55 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:
Attachments:
Description Flags
sssd_default.log.gz none

Description Orion Poplawski 2012-05-01 21:50:34 UTC
Created attachment 581482 [details]
sssd_default.log.gz

Description of problem:

In my [domain/default] section I added:

access_provider = simple
simple_allow_groups = wheel

But I can still login with user "visitor":

visitor@saga's password: 
 15:19:54 up 12 days,  4:41,  3 users,  load average: 7.54, 7.84, 8.26
[visitor@saga ~]$ id
uid=1006(visitor) gid=1009(visitor) groups=1009(visitor) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

Version-Release number of selected component (if applicable):
sssd-1.5.1-66.el6_2.3.x86_64

I see:

(Tue May  1 15:37:26 2012) [sssd[be[default]]] [sssm_simple_access_init] (9): Allow user list is empty.
(Tue May  1 15:37:26 2012) [sssd[be[default]]] [sssm_simple_access_init] (9): Deny user list is empty.
(Tue May  1 15:37:26 2012) [sssd[be[default]]] [sssm_simple_access_init] (9): Deny user list is empty.

but nothing for group list.

Comment 2 Orion Poplawski 2012-05-01 21:57:22 UTC
Never mind, while I had enabled sss in /etc/nsswitch.conf I had not run:

authconfig --enablesssauth --update

Comment 3 Orion Poplawski 2012-05-01 21:57:39 UTC
Sorry, authconfig --enablesssdauth --update

Comment 4 Stephen Gallagher 2012-05-01 22:37:55 UTC
Ok, sounds like this was just a misconfiguration.