Here is my plugin AuthLDAP setup:
LDAP server:
ldap://ad.moon.sp
Port number:
389
LDAP version:
LDAPv3
Select true if referrals must be followed (use false for ActiveDirectory):
False
Enable Start-TLS:
False
Select how to perform authentication.:
Search and bind
Attribute to compare to the given login can be uid, cn, mail, ..:
mail
Base DN for the user search operation. Multiple bases may be separated by a semicolon (

:
CN=limesurvey;CN=Users;DC=Moon;DC=sp
Optional extra LDAP filter to be ANDed to the basic (searchuserattribute=username) filter. Don't forget the outmost enclosing parentheses:
None
Optional DN of the LDAP account used to search for the end-user's DN. An anonymous bind is performed if empty.:
None
Password of the LDAP account used to search for the end-user's DN if previoulsy set.:
Password of the limesurvey account
LDAP attribute of email address:
None
LDAP attribute of full name:
None
Check to make default authentication method:
Yes
Automatically create user if it exists in LDAP server:
Yes
Grant survey creation permission to automatically created users:
Yes
Optional base DN for group restriction:
None
Optional filter for group restriction:
None
Allow initial user to login via LDAP:
Yes
My server is
MS Windows Server 2012 R2
But when logging in under credentials:
email address + domain account password, I get error:
Code:
500: Internal server error ldap_count_entries(): Argument #2 ($result) must be of type LDAP\Result, bool given An internal error occurred during the processing of your request by the web server.