Filtering TDS users into Maximo based on membership attributes, what options do you have?
Shane Howard 270000C70V Comment (1) Visits (10907)
A day doesn't go by where I'm not dealing with some LDAP related issue or configuration, whether it be simple file modification, general configuration or complex filtering. When dealing with these issues I try to document my findings and procedures with as much detail as possible. Recently I've been working on methods for filtering user records from Tivoli Directory Server and the options we have available. Looking online there is very little information around this topic, so hopefully this blog will help enlighten potential users on the best configuration path they can take.
First and foremost the main reason for writing this blog is to state that when it comes to filtering with TDS, currently there is no server supplied dynamic membership attribute Which means we do not have any sort of property on a TDS user record that associates it to the groups it exists in like as the Active Directory property 'memberof', all TDS associations are on the group itself. We can't just point to the group to get its users as WebSphere requires a sub tree search be performed and when filtering with Maximo VMMSYNC just accesses the WebSphere Virtual Member Manager via it's API's to synchronize users from it's repository, giving Maximo even less options to filter on if it's not done at the WebSphere level.
Now before I go any further with our options, TDS does have operational attributes (non filterable) that can be used in a simple LDAP search against the directory itself with the ldapsearch tool. These are not an attribute of LDAP Data Interchange Format (LDIF) and can not be used when filtering in Maximo or WebSphere. However for a better understanding on how they work please see below.
ibm-allMembers - This will return all users for a specified group.
Example search: idsldapsearch -D cn=root -w password -p 389 -b "cn=
Results list, shows the group and it's current members.
ibm-allGroups - This will return all groups for a specified user.
Example search: idsldapsearch -D cn=root -w password -p 389 -b "uid
Results list shows the users and it's current groups.
So now we know how the operational attributes work and that we can't actually use them when filtering with Maximo or WebSphere to bring users from a specified group into the applications, what are our options?
1. TDS has many attributes that can be used and manually populated, for example ibm-group, which is part of the ibm-dynamicMember objectclass. This value can be manually populated with a keyword for the users you wish to bring into WebSphere or Maximo.
For example, if we set the ibm-group value to maximo for all our maximo users, we can set up WebSphere to filter as follows.
Alternatively, if you don't want to change the object class and continue using inetOrgPerson, we have attributes such as businessCategory you may consider using.
For more information on filtering with WebSphere you can read my blog: Maxi
2. Our second option is to move all users into a single OU (Organization Unit) and do a sub tree search without a filter of that container.
For example, if you create an OU that's called maximousers we can set our search base to 'ou=
For the second option here we could use one of our operational attributes above to search out the users we need in this OU based on the groups they're in.
Well that's it for today, although this information is a bit dry, it can be quite useful in planning your LDAP implementation when using TDS and prepare you for any directory conf