Translations:LDAP settings/138/en
From LimeSurvey Manual
Another example User query:
$ldap_queries[$query_id]['userfilter'] = '(&('''objectCategory=Person''')(objectClass='''user''')(!('''userAccountControl=514''')))'; // AD doesn't recognise enabled accounts in the normal way, so instead, we check users are not disabled
- As suggested in the config file, consider adding (!(email=*)) to your user filters to ignore users with no email address.