In some situations, an organization may need to have only certain person records from their LDAP directory be available to be added to places in Quickr. For instance, in a case where all users are members under the same Base DN, but only users that are in a particular State or Country are using Quickr is an example of this sort of situation. The search filter section of the qpconfig.xml can be modified to search not only on the default information, but also limit the results based on another field.
Note: The qpconfig.xml file is case-sensitive, so when typing the names of attributes you must use the same character case used in your directory. Specifying case incorrectly causes directory lookup problems.
The following is an outline of how to accomplish this task.
1. Determine what field needs to be used for this configuration. The easiest ways to do this is by looking at the schema for a typical person record or by getting an LDIF for a person in the LDAP. For instance a typical LDIF output may look like:
For the purposes of this example we will use the 'st' attribute from the LDIF above. By default in Domino LDAP, st is the LDAP attribute for the State field in the person document.
2. Edit the qpconfig.xml on the Quickr for Domino server. Open the qpconfig.xml in a text editor and locate the node in the section. Within this node you will find the element. This is what needs to be modified. The node will look like the following:
We specifically want to modify the element so that lookups only return records with an attribute of 'st=XX'. To do this we would edit the element to look like the following:
By adding 'st=XX' we are now telling Quickr that when performing lookups only return those records that have an objectclass of person, have a sn and givename attribute and have a 'st' attribute equal to "XX".
3. Save and close the qpconfig.xml
4. Restart HTTP on the Domino server that Quickr is running upon.
This can be used with any variety of attributes from the LDAP person records to help limit who is able to be added to places in Quickr for Domino.