Bug 1845975
| Summary: | sssd doesn't follow the link order of AD Group Policy Management | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Alexey Tikhonov <atikhono> |
| Component: | sssd | Assignee: | Sumit Bose <sbose> |
| Status: | CLOSED ERRATA | QA Contact: | sssd-qe <sssd-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.2 | CC: | dlavu, grajaiya, jhrozek, lslebodn, mzidek, pbrezina, sgoveas, thalman, tscherf |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | sync-to-jira | ||
| Fixed In Version: | sssd-2.3.0-3.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-11-04 02:05:17 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 1
Alexey Tikhonov
2020-06-10 14:15:11 UTC
Verified against sssd-2.3.0-6.el8.x86_64 2020-08-07T20:50:26 [ci-vm-10-0-107-118.h] :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 2020-08-07T20:50:26 [ci-vm-10-0-107-118.h] :: parent domain sssd doesn't follow the link order of AD Group Policy Management 2020-08-07T20:50:26 [ci-vm-10-0-107-118.h] :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 2020-08-07T20:50:39 [ci-vm-10-0-107-118.h] [32mAdministrator@ad123 [33m~[0m 2020-08-07T20:50:39 [ci-vm-10-0-107-118.h] $ powershell 'Import-Module GroupPolicy; Import-Module ActiveDirectory; New-GPLin 2020-08-07T20:50:39 [ci-vm-10-0-107-118.h] nk -Name "user_policy" -Target "DC=adgpo12r83,DC=com" -LinkEnabled yes' 2020-08-07T20:50:39 [ci-vm-10-0-107-118.h] GpoId : cb2b4976-6022-4d58-8d28-80e25595a0b9 2020-08-07T20:50:39 [ci-vm-10-0-107-118.h] DisplayName : user_policy 2020-08-07T20:50:39 [ci-vm-10-0-107-118.h] Enabled : True 2020-08-07T20:50:39 [ci-vm-10-0-107-118.h] Enforced : False 2020-08-07T20:50:39 [ci-vm-10-0-107-118.h] Target : DC=adgpo12r83,DC=com 2020-08-07T20:50:39 [ci-vm-10-0-107-118.h] Order : 2 0-08-07T20:50:52 [ci-vm-10-0-107-118.h] $ powershell 'Import-Module GroupPolicy; Import-Module ActiveDirectory; New-GPLin 2020-08-07T20:50:52 [ci-vm-10-0-107-118.h] nk -Name "user_policy1" -Target "DC=adgpo12r83,DC=com" -LinkEnabled yes' 2020-08-07T20:50:52 [ci-vm-10-0-107-118.h] GpoId : a7f6ae0a-c1c7-410a-9f41-9596cfaec55f 2020-08-07T20:50:52 [ci-vm-10-0-107-118.h] DisplayName : user_policy1 2020-08-07T20:50:52 [ci-vm-10-0-107-118.h] Enabled : True 2020-08-07T20:50:52 [ci-vm-10-0-107-118.h] Enforced : False 2020-08-07T20:50:52 [ci-vm-10-0-107-118.h] Target : DC=adgpo12r83,DC=com 2020-08-07T20:50:52 [ci-vm-10-0-107-118.h] Order : 3 2020-08-07T20:51:28 [ci-vm-10-0-107-118.h] logout 2020-08-07T20:51:28 [ci-vm-10-0-107-118.h] Connection to localhost closed. 2020-08-07T20:51:28 [ci-vm-10-0-107-118.h] :: [ 16:51:28 ] :: [ PASS ] :: Command 'ssh_user_password_login 'allowed_user' Secret123' (Expected 0, got 0) 2020-08-07T20:51:28 [ci-vm-10-0-107-118.h] :: [ 16:51:28 ] :: [ BEGIN ] :: Running 'ssh_user_password_login 'allowed_user1' Secret123' 2020-08-07T20:51:28 [ci-vm-10-0-107-118.h] spawn ssh -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no -o PubkeyAuthentication=no -o NumberOfPasswordPrompts=1 -l allowed_user1 localhost 2020-08-07T20:51:28 [ci-vm-10-0-107-118.h] allowed_user1@localhost's password: 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] Connection closed by ::1 port 22 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] :: [ 16:51:28 ] :: [ PASS ] :: Command 'ssh_user_password_login 'allowed_user1' Secret123' (Expected 255, got 255) 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] :: [ 16:51:28 ] :: [ BEGIN ] :: Running 'ssh_user_password_login 'regular_user' Secret123' 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] spawn ssh -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no -o PubkeyAuthentication=no -o NumberOfPasswordPrompts=1 -l regular_user localhost 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] regular_user@localhost's password: 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] Connection closed by ::1 port 22 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] :: [ 16:51:29 ] :: [ PASS ] :: Command 'ssh_user_password_login 'regular_user' Secret123' (Expected 255, got 255) 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] :: [ 16:51:29 ] :: [ BEGIN ] :: Running 'ssh_user_password_login 'denied_user' Secret123' 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] spawn ssh -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no -o PubkeyAuthentication=no -o NumberOfPasswordPrompts=1 -l denied_user localhost 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] denied_user@localhost's password: 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] Connection closed by ::1 port 22 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] :: [ 16:51:29 ] :: [ PASS ] :: Command 'ssh_user_password_login 'denied_user' Secret123' (Expected 255, got 255) 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] :: [ 16:51:29 ] :: [ BEGIN ] :: Running 'ssh_user_password_login 'denied_user1' Secret123' 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] spawn ssh -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no -o PubkeyAuthentication=no -o NumberOfPasswordPrompts=1 -l denied_user1 localhost 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] denied_user1@localhost's password: 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] Connection closed by ::1 port 22 2020-08-07T20:51:29 [ci-vm-10-0-107-118.h] :: [ 16:51:29 ] :: [ PASS ] :: Command 'ssh_user_password_login 'denied_user1' Secret123' (Expected 255, got 255) < ---- snip -----> 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] $ powershell 'Import-Module GroupPolicy; Import-Module ActiveDirectory; New-GPLin 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] nk -Name "user_policy1" -Target "DC=adgpo12r83,DC=com" -LinkEnabled yes' 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] GpoId : a7f6ae0a-c1c7-410a-9f41-9596cfaec55f 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] DisplayName : user_policy1 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] Enabled : True 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] Enforced : False 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] Target : DC=adgpo12r83,DC=com 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] Order : 2 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] ]0;~ 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] [32mAdministrator@ad123 [33m~[0m 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] $ 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] exit 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] logout 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] [H[J 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] Connection to 10.0.105.168 closed. 2020-08-07T20:52:07 [ci-vm-10-0-107-118.h] :: [ 16:52:07 ] :: [ LOG ] :: GPO :: Linking user_policy to DC=adgpo12r83,DC=com <--- snip ---> 2020-08-07T20:52:20 [ci-vm-10-0-107-118.h] [32mAdministrator@ad123 [33m~[0m 2020-08-07T20:52:20 [ci-vm-10-0-107-118.h] $ powershell 'Import-Module GroupPolicy; Import-Module ActiveDirectory; New-GPLin 2020-08-07T20:52:20 [ci-vm-10-0-107-118.h] nk -Name "user_policy" -Target "DC=adgpo12r83,DC=com" -LinkEnabled yes' 2020-08-07T20:52:20 [ci-vm-10-0-107-118.h] GpoId : cb2b4976-6022-4d58-8d28-80e25595a0b9 2020-08-07T20:52:20 [ci-vm-10-0-107-118.h] DisplayName : user_policy 2020-08-07T20:52:20 [ci-vm-10-0-107-118.h] Enabled : True 2020-08-07T20:52:20 [ci-vm-10-0-107-118.h] Enforced : False 2020-08-07T20:52:20 [ci-vm-10-0-107-118.h] Target : DC=adgpo12r83,DC=com 2020-08-07T20:52:20 [ci-vm-10-0-107-118.h] Order : 3 <--- snip ----> 2020-08-07T20:53:16 [ci-vm-10-0-107-118.h] Connection to localhost closed. 2020-08-07T20:53:16 [ci-vm-10-0-107-118.h] :: [ 16:53:16 ] :: [ PASS ] :: Command 'ssh_user_password_login 'allowed_user1' Secret123' (Expected 0, got 0) 2020-08-07T20:53:16 [ci-vm-10-0-107-118.h] :: [ 16:53:16 ] :: [ BEGIN ] :: Running 'ssh_user_password_login 'allowed_user' Secret123' 2020-08-07T20:53:16 [ci-vm-10-0-107-118.h] spawn ssh -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no -o PubkeyAuthentication=no -o NumberOfPasswordPrompts=1 -l allowed_user localhost 2020-08-07T20:53:16 [ci-vm-10-0-107-118.h] allowed_user@localhost's password: 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] Connection closed by ::1 port 22 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] :: [ 16:53:16 ] :: [ PASS ] :: Command 'ssh_user_password_login 'allowed_user' Secret123' (Expected 255, got 255) 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] :: [ 16:53:16 ] :: [ BEGIN ] :: Running 'ssh_user_password_login 'regular_user' Secret123' 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] spawn ssh -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no -o PubkeyAuthentication=no -o NumberOfPasswordPrompts=1 -l regular_user localhost 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] regular_user@localhost's password: 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] Connection closed by ::1 port 22 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] :: [ 16:53:17 ] :: [ PASS ] :: Command 'ssh_user_password_login 'regular_user' Secret123' (Expected 255, got 255) 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] :: [ 16:53:17 ] :: [ BEGIN ] :: Running 'ssh_user_password_login 'denied_user' Secret123' 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] spawn ssh -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no -o PubkeyAuthentication=no -o NumberOfPasswordPrompts=1 -l denied_user localhost 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] denied_user@localhost's password: 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] Connection closed by ::1 port 22 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] :: [ 16:53:17 ] :: [ PASS ] :: Command 'ssh_user_password_login 'denied_user' Secret123' (Expected 255, got 255) 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] :: [ 16:53:17 ] :: [ BEGIN ] :: Running 'ssh_user_password_login 'denied_user1' Secret123' 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] spawn ssh -o StrictHostKeyChecking=no -o GSSAPIAuthentication=no -o PubkeyAuthentication=no -o NumberOfPasswordPrompts=1 -l denied_user1 localhost 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] denied_user1@localhost's password: 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] Connection closed by ::1 port 22 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] :: [ 16:53:17 ] :: [ PASS ] :: Command 'ssh_user_password_login 'denied_user1' Secret123' (Expected 255, got 255) 2020-08-07T20:53:17 [ci-vm-10-0-107-118.h] :: [ 16:53:17 ] :: [ LOG ] :: GPO :: Unlinking user_policy from DC=adgpo12r83,DC=com 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-2020:4569 |