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

# sk165035 - Authentication to the Mobile Access portal fails, when User groups are added to the Remote Access community, in which the Mobile Access gateway is also a member

| Property | Value |
|----------|-------|
| Solution ID | sk165035 |
| Date Created | 2020-02-17 |
| Last Modified | 2021-09-28 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- Authentication to the Mobile Access portal fails, when User groups are added to the Remote Access community, in which the Mobile Access gateway is also a member.

## Cause

When a Mobile Access gateway is configured for Unified Policy, and when the gateway object is a member of the Remote Access community, the Mobile Access Blade requires that authenticated end-users belong to groups that are also assigned to the Remote Access community.  

Due to the default method by which user groups are fetched in R80.40, the Remote Access membership of some user groups is not calculated properly, and as a result authentication fails.

## Solution

This problem was fixed. The fix is included in:

* [Check Point R81](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk166715)
* [R80.40 starting jumbo take 25](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk165456)

Check Point recommends to always upgrade to the most recent version   
([upgrade Security Gateway](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=overview&product=435) / [upgrade Security Management Server](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=overview&product=184) / [upgrade Multi-Domain Security Management](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doShowproductpage&productTab=overview&product=166)).

If you choose not to upgrade, you can use this workaround:

To resolve this issue, proceed as follows:

1. Connect to the Mobile Access gateway via SSH.  

2. If the Mobile Access Blade uses 'legacy' authentication, type the following command:

   ```
   ckp_regedit -a SOFTWARE/Checkpoint/Ex_Groups ssl_vpn -n 2
   ```

3. For a multi-realm setting, use (both lines):

   ```
   ckp_regedit -a SOFTWARE/Checkpoint/Ex_Groups ssl_vpn_<Realm Name> -n 2
   ckp_regedit ?a SOFTWARE/Checkpoint/Ex_Groups mobile_realm_<realm_name> -n 2
   ```

   where '\<Realm Name\>' is the name of the realm being used.

---

# 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
