Skip to main content
bvagadia
Staff
Staff
January 28, 2022

Technical Tip: Wrong group mapping

  • January 28, 2022
  • 0 replies
  • 2113 views
Description This article discusses about Wrong group mapping for SSL user.
Scope FortiOS.
Solution

User is connected to SSL VPN but getting matched to the wrong group.

 

Example.

 

Test user belongs to Access VPN group but matches to Access FireWall group:


find_matched_usr_grps-Add matched group 'Access FireWall'(34) <<

find_matched_usr_grps-Add matched group 'Access VPN'(12) <<

Auth successful for user Test in group Access FireWall SA <<

From the debug we can see that the user is matching both the groups but getting mapped to the wrong group.

 

edit "Access VPN"
set member "LDAP-A"
# config matc
    edit 1
        set server-name "LDAP-A"
        set group-name ""
    next
end

next
edit "Access FireWall" <----- No group name.
set member "LDAP-A"
next

 

Now from the config, we can see that the group name is not mentioned due to which the user will match the Access FireWall group.

 

So, whenever creating group mention the group name.