Product: TIBCO Spotfire®
How to limit users in LDAP User Directory synchronization to only those within particular groups.
In TIBCO Spotfire Server 6.0 and later, there is a feature in the LDAP user directory and group synchronization to only import users into Spotfire if they are present in the groups that are being synchronized. This can be accomplished with the following setting in your LDAP configuration:
- 'Group Synchronization' > 'Filter users by groups': Yes
This exact feature is not present in Spotfire 5.5 and lower but the same behavior can be accomplished by updating the 'user search filter' as described in this article.
The LDAP configuration is defined with the 'context name's (i.e., the containers where Spotfire will look for users) and the user search filter (i.e., an LDAP query which are the criteria Spotfire uses to determine if the objects found within the 'context names' should be imported as users). For example:
- Context Name: OU=myUsers,DC=myDomain,DC=com
- User Search Filter: objectClass=user
This means Spotfire will search all objects in the container 'OU=myUsers,DC=myDomain,DC=com' and will import all objects who have an 'objectClass' attribute equal to 'user'. Instead of importing ALL users found in the container, you may want to only import a subset of users who will have access to Spotfire and who are also a member of a particular group or groups.
In TIBCO Spotfire Server 6.0 and later, set the 'Filter users by groups' option to 'Yes' in your LDAP configuration:- 'Group Synchronization' > 'Filter users by groups': Yes
- Open Spotfire configuration tool: Start > Programs > TIBCO Spotfire Server X.X > Configure TIBCO Spotfire Server.
- Enter the configuration tool password to unlock the configuration.
- On the 'Configuration' tab, click 'User Directory: LDAP'.
- Expand 'Advanced Settings'.
- Update the 'User search filter' by adding in the required limiting groups as described below:
- objectClass=user
- (&(objectClass=user)(memberOf=CN=mySpotfireGroup,OU=myContainer,DC=myDomain,DC=com))
You can filter to only import users in multiple groups with the following 'User search filter':
- (&(objectClass=user)(|(memberOf=CN=mySpotfireGroup1,OU=myContainer,DC=myDomain,DC=com)(memberOf=CN=mySpotfireGroup2,OU=myContainer,DC=myDomain,DC=com)))
Now only the users who belong to the groups specified in the 'User search filter' will be imported into Spotfire. External: LDAP Query Examples