Technical Tip: What causes a host to be moved to an imported LDAP Host Group
Description
Â
This article describes what causes a host to be moved to an imported LDAP Host Group.
Scope
Â
FortiNAC.
Solution
Â
Upon initial synchronization, a host group is created for each LDAP group selected in the Select Groups tab of the LDAP configuration.
Note:Â If an Administrator group with the same name already exists, a host group will not be created.
Hosts become members of these groups only when they are registered in FortiNAC by a user who belongs to the corresponding LDAP group:

A host registered as a device with a logged-on user who is a member of the LDAP group:
Will not move the host to the host group that corresponds to the LDAP group.
Will match only policies whose criteria include LDAP group membership based on the logged-on user.Â
Example:
Network Access Policy in the selected User/Host Profile 'IT Group' requires 'NetworkIT' LDAP Group membership:
Â

Â
The 'NetworkIT' LDAP Group is imported and appears as a host group: 
Â

The user 'gimi' is a member of the 'NetworkIT' LDAP group.
Â
Scenarios:
Host A is registered to user 'gimi'. Upon registration, Host A becomes a member of the 'NetworkIT' host group.
Â

Host B is registered as a device. Upon registration, Host B does not become a member of the 'NetworkIT' host group. Â
When Host A connects to the network, it matches the User/Host profile 'IT Group' and the Network Access Policy, and the corresponding VLAN is assigned.
When Host B connects to the network, it does not match the 'IT Group' Network Access Policy until the user 'gimi' logs on. Upon login, Host B matches the 'IT Group' Network Access Policy, and the corresponding VLAN is assigned. However, Host B does not move to the 'NetworkIT' host group.
This is the expected behavior.
Â
Starting from FortiNAC version 7.6, two groups will be created for each group synchronized with the directory:
<DirectoryGroupName>_host. This group functions like the standard group used previously. It will be populated with hosts registered by users who belong to the corresponding directory group.
<DirectoryGroupName>_user. This group contains user accounts listed under Users & Hosts -> User Accounts. These accounts can be manually created as LDAP users or automatically created when a user registers a host in FortiNAC.
Â

 
Related articles:
