Closed shiizeen closed 8 months ago
Hi,
Can you check, from the GLPI server, to execute telnet XXX 636
, where XXX
is your server host?
Hi, I already try the telnet and it's fully working
thx,
Hi, I have the same issue in an MS AD DS environment, but thought that this could be an issue with not configuring TLS Certfile and TLS Keyfile under Authentication > Advanced Information.
Hi,
Same issue here. IIS 10, PHP 8.2.13, GLPI 10.0.11.
Setup ldaps://srv.domain.local port 636 with Bind on 'No' & test connection is successfull. Setup ldaps://srv.domain.local port 636 with Bind on 'yes' & test connection isn't successfull. But when i'm running php bin/console glpi:ldap:synchronize_users it's triggering the following error :
PHP User Warning (512): LDAP search with base DN XXXX
and filter XXX
failed
error: Can't contact LDAP server (-1)
extended error: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed (unable to get local issuer certificate)
err string: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed (unable to get local issuer certificate) in GLPI_ROOT\glpi\src\AuthLDAP.php at line 1948
I've got aswell thoses errors in php_error.log.
error: Can't contact LDAP server (-1) extended error: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed (unable to get local issuer certificate) err string: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed (unable to get local issuer certificate) in GLPI_ROOT\glpi\src\AuthLDAP.php at line 3186 Backtrace : src\AuthLDAP.php:3186 trigger_error() src\AuthLDAP.php:3050 AuthLDAP::connectToServer() src\AuthLDAP.php:2081 AuthLDAP->connect() src\Console\Ldap\SynchronizeUsersCommand.php:299 AuthLDAP::getAllUsers() vendor\symfony\console\Command\Command.php:298 Glpi\Console\Ldap\SynchronizeUsersCommand->execute() vendor\symfony\console\Application.php:1040 Symfony\Component\Console\Command\Command->run() src\Console\Application.php:286 Symfony\Component\Console\Application->doRunCommand() vendor\symfony\console\Application.php:301 Glpi\Console\Application->doRunCommand() vendor\symfony\console\Application.php:171 Symfony\Component\Console\Application->doRun() bin\console:122 Symfony\Component\Console\Application->run()
and now :
error: Can't contact LDAP server (-1) extended error: error:16000069:STORE routines::unregistered scheme err string: error:16000069:STORE routines::unregistered scheme in GLPI_ROOT\glpi\src\AuthLDAP.php at line 3590 Backtrace : src\AuthLDAP.php:3590 trigger_error() src\Auth.php:271 AuthLDAP::searchUserDn() src\AuthLDAP.php:3385 Auth->connection_ldap() src\AuthLDAP.php:3481 AuthLDAP::ldapAuth() src\Auth.php:962 AuthLDAP::tryLdapAuth() front\login.php:94 Auth->login() public\index.php:82 require()
i've tried to manually set curl.cainfo + openssl.cafile location in my php.ini with .cer / .pem file, isn't working.
Port 636 is open. Authentication > Advanced Information is left by default.
Hello,
Just to give a little UP on this subject, I have the same bug, here is my conf:
Hi,
I've had the exact same issue.
Followed this https://github.com/glpi-project/glpi/pull/15172 and fixed. Desactivate bind option worked for me
Disabling bind option seems to just be the way to go, this issue is fixed
Code of Conduct
Is there an existing issue for this?
Version
10.0.10
Bug description
LDAPS binding is not working when on port 636, but it works on 389.
LDAPS is working when setting "Use Bind" on the "no" option.
My current setup :
CentOS Stream 8 + Apache/2.4.37 and PHP 8.1.25 (I also try with PHP 7.4) + firewalld with ldap & ldaps open. I tried to disable SELinux for testing.
Relevant log output
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
Informations sur le système, l'installation et la configuration
Server
GLPI constants
Libraries