> Source: [sk181429](https://support.checkpoint.com/results/sk/sk181429)

# sk181429 - When a user changes AD group, their access role is not updated

| Property | Value |
|----------|-------|
| Solution ID | sk181429 |
| Date Created | 2023-09-10 |
| Last Modified | 2024-04-29 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R81.20, R81.10 (EOS), R81 (EOS) |
| OS | Gaia |

## Symptoms

- * When switching an AD user to a different AD group, they may still retain access to resources from their previous group, effectively being in both groups simultaneously. But this does not show in the PDP monitor.
* The AD user is still seen in the old AD group.
* The Access role is not updated.
* Error from `vpnd` debugs:  
  `[vpnd 22266 4074710976]@l909eoaa0102a[28 Feb 15:52:21][CPLDAPSDK] ldap_async_do_search: Error: ldap_search_ext
  [vpnd 22266 4074710976]@l909eoaa0102a[28 Feb 15:52:21][CPLDAPSDK] OPSEC_ldap_search: do search failure`

## Cause

When changing the AD user group, the PDP does not update the access roles.

<br />

## Solution

This problem was fixed. The fix is included starting from:  

* [Jumbo Hotfix Accumulator for R81.20](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.20/Default.htm) **starting from Take 43**
* J[umbo Hotfix Accumulator for R81.10](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.10/Default.htm) **starting from Take 106**
* [Jumbo Hotfix Accumulator for R81](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81/Default.htm) **starting from Take 89**
* [Jumbo Hotfix Accumulator for R80.40](https://sc1.checkpoint.com/documents/Jumbo_HFA/R80.40/Default.htm)**starting from Take 198**

<br />

After installing fix PRHF-28702 the following steps are needed -  
> **To enable, Check Point Security Gateway, run:**   
> `# ckp_regedit -a SOFTWARE/CheckPoint/VPN1 use_only_identity_provider_groups -n 1`  
> `install policy`  
> **To disable, Check Point Security Gateway, run:**   
> `# ckp_regedit -d SOFTWARE/CheckPoint/VPN1 use_only_identity_provider_groups`  
> `install policy`  
> **To view, run:**   
> `# ckp_regedit -p SOFTWARE/CheckPoint/VPN1`
Check Point recommends to always upgrade to the Recommended version (Security Gateway / VSX / Security Management Server / Multi-Domain Security Management Server / SmartConsole).  
If you choose not to upgrade, contact Check Point Support to get a Hotfix for your version.  
A Support Engineer will make sure the Hotfix is compatible with your environment before providing it.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
