NetScaler Gateway

Configuring LDAP Nested Group Extraction

NetScaler Gateway can query LDAP groups and extract group and user information from ancestor groups that you configure on the authentication server. For example, you created group1 and within that group, you created group2 and group3. If the user belongs to group3, NetScaler Gateway extracts information from all the nested ancestor groups (group2, group1) up to the specified level.

You can use an authentication policy to configure LDAP nested group extraction. When the query is run, NetScaler Gateway searches the groups until it reaches the maximum nesting level or until it searches all available groups.

To configure LDAP nested group extraction

  1. In the configuration utility, in the navigation pane, expand NetScaler Gateway > Policies > Authentication/Authorization > Authentication >> > Authentication and then click LDAP.
  2. In the details pane, on the Policies tab, click Add.
  3. In Name, type a name for the policy.
  4. Next to Server, click New.
  5. In Name, type the name of the server.
  6. Configure the settings for the LDAP server.
  7. Expand Nested Group Extraction and then click Enable.
  8. In Maximum Nesting Level, type the number of levels that NetScaler Gateway checks.
  9. In Group Name Identifier, type the LDAP attribute name that uniquely identifies a group name on the LDAP server, such as sAMAccountName.
  10. In Group Search Attribute, type the LDAP attribute name that is to be obtained in the search response to determine the parent groups of any group, such as memberOf.
  11. In Group Search Sub-Attribute, type the LDAP subattribute name that is to be searched for as part of the Group Search Attribute to determine the parent groups of any group. For example, type CN.
  12. In Group Search Filter, type the query string. For example, the filter could be (&(samaccountname=test)(objectClass=*)).
  13. Click Create and then click Close.
  14. In the Create Authentication Policy dialog box, next to Named Expressions, select the expression, click Add Expression, click Create and then click Close.
Configuring LDAP Nested Group Extraction