You are not logged in.
Hi, We've updated php to 5.6 in order to update glpi, and since then we cannot connect with ldap cerver.
The error in the log is:
[2018-06-29 10:47:35] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/html/glpi/inc/toolbox.class.php line 657
*** PHP Warning(2): ldap_connect(): Could not create session handle: Bad parameter to an ldap routine
Can anyone help us?
Best regards
Offline
Hi,
Did you install the extension ldap ?
Regards
GLPI 10.0.9 (MariaDB 11.0.2 - PHP 8.2)
CentOS 7
Offline
Yes we have.
We have other instalation with the same configuration but an older php version and works.
We downgraded php and works, but we need to upgrade it.
Thank you
Offline
You update to the extension ldap ?
What is your OS ?
GLPI 10.0.9 (MariaDB 11.0.2 - PHP 8.2)
CentOS 7
Offline
The extension is updated, the OS is RHEL 6.5
Thank you very much
Last edited by Leunam (2018-07-03 13:00:39)
Offline
We have the similar problem here. GLPI fresh 9.3.0 install, php 7. LDAP config in GLPI is exactly the same.
Log:
[2018-07-06 15:31:47] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in /var/www/glpi/inc/toolbox.class.php line 657 │
*** PHP Warning(2): ldap_search(): Search: Operations error │
Backtrace : │
: │
inc/authldap.class.php:2813 ldap_search() │
inc/auth.class.php:228 AuthLDAP::searchUserDn() │
inc/authldap.class.php:2675 Auth->connection_ldap() │
inc/authldap.class.php:2741 AuthLDAP::ldapAuth() │
inc/auth.class.php:720 AuthLDAP::tryLdapAuth() │
front/login.php:84 Auth->login()
Offline
Do you use plugins ?
Deactivate all and test again.
You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3
Offline