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 1945656 - No gpo found and ad_gpo_implicit_deny set to True still permits user login [rhel-8.4.0.z]
Summary: No gpo found and ad_gpo_implicit_deny set to True still permits user login [r...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.3
Hardware: All
OS: Linux
unspecified
high
Target Milestone: beta
: ---
Assignee: Sumit Bose
QA Contact: Dan Lavu
URL:
Whiteboard: sync-to-jira
Depends On: 1944665
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-01 14:35 UTC by RHEL Program Management Team
Modified: 2021-08-18 09:12 UTC (History)
9 users (show)

Fixed In Version: sssd-2.4.0-9.el8_4.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1944665
Environment:
Last Closed: 2021-06-29 16:29:08 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Alexey Tikhonov 2021-04-13 14:54:20 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5562

* `master`
    * e865b008aa8947efca0116deb95e29cc2309256f - AD GPO: respect ad_gpo_implicit_deny if no GPO is present

Comment 4 Dan Lavu 2021-06-17 03:32:54 UTC
Verified.

Followed the setup from https://bugzilla.redhat.com/show_bug.cgi?id=1944665 

[root@rhel84z ~]# rpm -qa | grep sssd-2
sssd-2.4.0-9.el8_4.1.x86_64


[root@rhel84z ~]# cat /etc/sssd/sssd.conf  

[sssd]
domains = domain.com
config_file_version = 2
services = nss, pam

[domain/domain.com]
ad_domain = domain.com
krb5_realm = DOMAIN.COM
realmd_tags = manages-system joined-with-adcli 
cache_credentials = True
id_provider = ad
krb5_store_password_if_offline = True
default_shell = /bin/bash
ldap_id_mapping = True
use_fully_qualified_names = True
fallback_homedir = /home/%u@%d
access_provider = ad
ad_gpo_implicit_deny = True
ad_gpo_access_control = enforcing

[root@rhel84z ~]# id administrator
uid=1353200500(administrator) gid=1353200513(domain users) groups=1353200513(domain users),1353200519(enterprise admins),1353200520(group policy creator owners),1353200512(domain admins),1353200572(denied rodc password replication group),1353200518(schema admins)

[root@rhel84z ~]# id regular_user
uid=1353201115(regular_user) gid=1353200513(domain users) groups=1353200513(domain users)


[root@rhel84z ~]# ssh allowed_user@localhost
The authenticity of host 'localhost (::1)' can't be established.
ECDSA key fingerprint is SHA256:Ily/WmERwfetPYkJV41lvMDH7gzogwimOoG2ay1sR8E.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
allowed_user@localhost's password: 
Connection closed by ::1 port 22

[root@rhel84z ~]# ssh regular_user@localhost
regular_user@localhost's password: 
Connection closed by ::1 port 22

Comment 8 errata-xmlrpc 2021-06-29 16:29:08 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 (sssd bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2021:2571


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