Issue
When using the Admin Home | Account Management | LDAP Accounts | Add page in DocuShare to search for an LDAP User or Group the result appears to not be honouring the search limit value defined in the drop down menu. (The default value is 20).
For example:
If running the same search and only changing the limit value the following results were found.
If the Limit was set to 20 --> Hit 4 results
If the Limit was set to 100 --> Hit about 50 results
If the Limit was set to 1000 --> Hit many results but not 1000
Reason / Explanation
When DocuShare queries the LDAP server, the user can specify a limit for that query using the Limit menu in DocuShare. The limit value is used to prevent a big chunk of data from being returned from LDAP Server query. (some LDAP servers may have 200,000+ objects). This behaviour is the current design and working as intended.
For example:
If the Limit is set to 20:
1. DocuShare will query LDAP and get 20 groups from LDAP.
2. If DocuShare finds that 16 groups are in DocuShare already, it will exclude them from the results displayed and will only show the remaining 4 groups in the Possible Users/Groups field.
If the Limit is set to 100:
1. DocuShare will query LDAP and get 100 groups from LDAP.
2. If DocuShare finds that 73 groups are in DocuShare already, it will exclude them from the results displayed and will only show the remaining 27 groups in the Possible Users/Groups field.
Note: This logic applies to both User and Group objects.
Solutions
· Use a more specific search criteria.
· Use a larger limit for that query.
Solution Published: July 26th, 2011
Solution ID: 880