Translations:LDAP settings/15/en
From LimeSurvey Manual
Let's begin with simples queries. These queries only filter LDAP entries based on their own attributes and location. They are usually enough for querying ActiveDirectory.
- $query_id: is the id of the LDAP query;
- $ldap_queries[$query_id]['ldapServerId']: Binds the query to a specific server;
- $ldap_queries[$query_id]['name']: String describing the query. It will be displayed in the GUI;
- $ldap_queries[$query_id]['userbase']: Root DN to use for user searches;
- $ldap_queries[$query_id]['userfilter']: It is a filter used to select potential users' entries. It must be enclosed in parentheses;
- $ldap_queries[$query_id]['userscope']: scope of the LDAP search for users ('base', 'one' or 'sub');
- $ldap_queries[$query_id]['firstname_attr']: Ldap attribute that will be mapped to the Firstname field of the token entry;
- $ldap_queries[$query_id]['lastname_attr']: Ldap attribute that will be mapped to the Lastname field of the token entry;
- $ldap_queries[$query_id]['email_attr']: Ldap attribute that will be mapped to the email address field of the token entry.