FortiAuthenticator user management
FortiAuthenticator acts as the SAML IdP, authenticating users against the Windows AD. To do this, the appropriate LDAP connection, user realm and user groups must be configured before it can be applied to the SAML IdP configurations.
Configuring multiple user groups is optional. In this example, multiple groups are used to ensure only users who are members of the Sales and Finance groups can pass authentication.
To configure an LDAP remote authentication server on FortiAuthenticator:
- Go to Authentication > Remote Auth. Servers > LDAP, and select Create New.
- Configure the LDAP server settings to connect to the Windows AD as shown in the screenshot.
- Click OK.
To configure a user realm on FortiAuthenticator:
- Go to Authentication > User Management > Realms and select Create New.
- Name the realm.
- In User source, from the dropdown, select the recently created LDAP server.
- Click OK.
To configure user groups on FortiAuthenticator:
- Go to Authentication > User Management > User Groups and select Create New
- To create a user group for Sales:
- In Name, enter
Sales
. - Set the Type as Remote LDAP.
- From the Remote LDAP dropdown, select the recently created LDAP server.
- In LDAP filter, specify an LDAP filter using an LDAP query.
To select users who are memberOf the Sales group, enter
(&(objectclass=user)(memberOf=CN=Sales,CN=Users,DC=fortiad,DC=info))
- In Name, enter
- Click OK.
- To create a user group for Finance:
- In Name, enter
Finance
. - Set the Type as Remote LDAP.
- From the Remote LDAP dropdown, select the recently created LDAP server.
- In LDAP filter, specify an LDAP filter using an LDAP query.
To select users who are memberOf the Finance group, enter
(&(objectclass=user)(memberOf=CN=Sales,CN=Users,DC=fortiad,DC=info))
- Click OK.
- In Name, enter
The LDAP filter above will not match users whose group (Sales or Finance) is set as the primary group. This is because the primary group is returned by the primaryGroupID attribute by Windows AD and does not appear in the memberOf attribute. |