LDAP plugin finds user but login is denied
I have configured the plugin for LDAP-only authentication to Active Directory.
The two test buttons return the expected number of users in the directory and the two test users in the intended AD-group respectively.
However, neither of the two users can log in and are greeted with incorrect username and password.
I can find no instruction beyond the steps already taken and no log entries which seem relevant.
Plugin version is v4.3.1 running on matomo 4.6.2
What am I missing?
Hello,
Same problem for me
Everything appears to be working, 40 users identified by the plugin in the LDAP group, but cannot log in: incorrect username and password.
Plugin version : 4.4.0 Matomo version : 4.6.2
@AltamashShaikh are you maybe able to help on this one?
Hey @erelling and @gbarredev
I tried replicating the issue by creating 1 test user and synchronising that user to my Matomo instance and was unable to reproduce it. I was able to login with that user without any difficulty.
I assume you can see those users under your Matomo Admin Interface
You can verify by checking for those user's under Matomo Administration -> Settings -> Users
Also if possible you can test by adding 1 test user by running this commands maybe.
-
Generate a password by running below command
slappasswd -
Create testuser.ldif
dn: uid=mytestuser,ou=people,dc={YOUR_VALUE},dc={YOUR_VALUE}
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
cn: My Test User
uid: mytestuser
givenName: My Test User
sn: mytestuser
userPassword: {PASWWORD_GENERATED_FROM_STEP1}
-
Add the user
sudo ldapadd -Y EXTERNAL -H ldapi:/// -f testuser.ldif -
Load the user from LDAP in your Matomo instance

-
Try logging with the
mytestuserand password