No Code Attached Yet
avatar DoctorDeatch
DoctorDeatch
18 Nov 2021

Steps to reproduce the issue

activated and configured the plugin as in version 3

Expected result

passing authorization

Actual result

The username or password was entered incorrectly, or such an account does not exist.

System information (as much as possible)

{"host":"10.2.1.3","port":389,"use_ldapV3":1,"negotiate_tls":0,"ignore_reqcert_tls":0,"no_referrals":0,"auth_method":"search","base_dn":"dc=itgroup,dc=local","search_string":"sAMAccountName=[search]","users_dn":"","username":"ldap@i.local","password":"AhqM5","ldap_fullname":"displayName","ldap_email":"mail","ldap_uid":"uid","ldap_debug":0}

Additional comments

plugin settings are made in the same way as for version 3. Websites work on one server

avatar DoctorDeatch DoctorDeatch - open - 18 Nov 2021
avatar joomla-cms-bot joomla-cms-bot - change - 18 Nov 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Nov 2021
avatar HLeithner
HLeithner - comment - 18 Nov 2021

I hope this is not your real password, if it is you should change it.

Sadly I have no ldap implementation to test, but since we use the symfony package in j4 I would expect that it should work better then in j3...

avatar brianteeman
brianteeman - comment - 18 Nov 2021

@HLeithner there are a LOT of open issues that the ldap plugin does not work in j4

avatar PhilETaylor
PhilETaylor - comment - 18 Nov 2021

I would expect that it should work better then in j3...

I would expect the total opposite. LDAP support in Joomla 4 is broken, unusable and requires a complete rewrite with input from real world users that use LDAP along with its myriad of configurations, with and without SSL/TLS.

avatar HLeithner
HLeithner - comment - 18 Nov 2021

so, then it's good that we switched... still can't fix it because I don't have a setup for this, the last time I fixed a security issue in our ldap package took me a long time to build a working setup... if someone can help out It would be very appreciated .

avatar PhilETaylor
PhilETaylor - comment - 18 Nov 2021

I'm in bed but if you search github you will find my very documented set up of ldap in a docker container

but the problem with that is that in the real world there are a million different configurations - this is why it's best tackled by someone with in-depth access and experience with live ldap servers

I tried my best before but a lot has changed and right now it's all pretty much broken

avatar PhilETaylor
PhilETaylor - comment - 18 Nov 2021
avatar HLeithner
HLeithner - comment - 18 Nov 2021

that's exactly the problem, running a documented container form the internet doesn't solve anything you have to understand ldap... I tried and hated it and gave up... (after the fix^^)

avatar HLeithner
HLeithner - comment - 18 Nov 2021

the alternative could be to switch pack to the joomla-framework v1 version... (I know not the best solution)

avatar richard67
richard67 - comment - 20 Jun 2022

Closing as having a pull request. Please test #37959 . Thanks in advance.

avatar richard67 richard67 - close - 20 Jun 2022
avatar richard67 richard67 - change - 20 Jun 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-06-20 22:38:46
Closed_By richard67

Add a Comment

Login with GitHub to post a comment