I am trying to get the LDAP stack working with mediawiki (1.39.2) using the procedure Manual:Active Directory Integration
Both the LDAP and mediawiki are hosted on a Synology NAS.
Using the mediawiki login page returns the above error message
Running ShowUserInfo.php --domain "mydomain" --username "pytest" returns a valid outptup
Running CheckLogin.php --domain "mydomain" --username "pytest" however returns a Password: FAILED error message
Below is my ldapprovider.json file
{
"mydomain": {
"connection": {
"server": "ldap.XXXXX.nl",
"port": "389",
"user": "uid=root,cn=users,dc=ldap,dc=XXXXX,dc=com",
"pass": "XXXXX",
"enctype": "clear",
"options": {
"LDAP_OPT_DEREF": 1
},
"basedn": "dc=ldap,dc=XXXXX,dc=com",
"userbasedn": "dc=ldap,dc=XXXXX,dc=com",
"groupbasedn": "dc=ldap,dc=XXXXX,dc=com",
"searchattribute": "uid",
"usernameattribute": "USER-NAME",
"searchstring": "uid=USER-NAME,dc=ldap,dc=XXXXX,dc=com",
"realnameattribute": "cn",
"emailattribute": "mail"
},
"userinfo": [],
"authorization": [],
"groupsync": {
"mapping": {
"users": "cn=users,cn=groups,dc=ldap,dc=XXXXX,dc=com",
"sysop": "cn=administrators,cn=groups,dc=ldap,dc=XXXXX,dc=com"
}
}
}
}
I am running out of ideas and thank you for your help