-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You found a non-fatal phpLDAPadmin bug! #231
Comments
Hi @Sasquacz1
You are using the Debian package version I am the one responsible for the packaging since 1.2.6.3-0.3, for it to work you have to use PHP 8.2 since Debian is provided with PHP 8.2 |
Alternative solution to the login problem, remove the two lines https://sources.debian.org/src/phpldapadmin/1.2.6.3-0.3/lib/ds_ldap.php/#L219 Or update it to https://github.com/leenooks/phpLDAPadmin/blob/BRANCH-1.2/lib/ds_ldap.php#L219 And update https://sources.debian.org/src/phpldapadmin/1.2.6.3-0.3/lib/ds_ldap.php/#L340 |
Thanks for the quick reply ! I tried first deleting the two lines you provided however then I get this error Failed to Authenticate to serverInvalid Username or Password. Will now try to update PHP |
Would you mind opening a Debian bug for this so I can forward an update to the version of the line that was shipped in newer versions ? |
After uploading PHP 8.2 errors as above. What is your debug plan? I can easily restore the version that works and do the steps you want? |
Ha, first guess: you are most probably missing php8.2-ldap deb/extension |
Ehh yes that was it. And the installation of php-xml |
It's difficult to ensure you have them, but I checked and they are required in the DEB: Edit: it seems that there is a check:
|
That's weird, can you debug a bit further ? |
apache2 error log
As for SSL, I do not use encryption configuration in openldap. |
I am working on a update for Debian, it seems that PHP 7.4 works great too after changing the login lines. Reading https://www.php.net/manual/function.ldap-get-entries.php and https://www.php.net/manual/function.ldap-connect.php I think you may have some login problem, can you check with a command line first ? |
I just started checking my LDAP management scripts
I will try to solve the problem today |
Let me know how this is going :) |
I'm honestly still struggling with the library replacement "Can you open a Debian bug for the PHP 7.4 compat ?" |
Well, since this login issue is entirely due to my patch if you can use the tool: reportbug Subject:
email it |
Awesome!! |
Closing, as this is a packaging issue, not a PLA issue? |
Yes, I am handing it on my side |
I have a problem after updating phpldapadmin (1.2.6.3) I ran the command apt-get upgrade where, among other things, phpldapadmin updated itself
Unpacking phpldapadmin (1.2.6.3-0.3) over (1.2.6.3-0.2) ...
After restarting apache2 in incognito mode, I get an error
UNHANDLED, $resource is not a resource
But for that, in normal mode, I get an error
E_WARNING: openssl_decrypt(): Setting of IV length for AEAD mode failed You found a non-fatal phpLDAPadmin bug!
What could be the problem and how to solve it?
Debian=12
PHP= 7.4.30
Apache=2.4.54-1
The text was updated successfully, but these errors were encountered: