You are not logged in.
Dear All,
If a local (internal) user is logged in with "Remember me" checked, and then tryes to log in with cookies he got the 500 error. If the user is stored in LDAP evetything is ok.
In apache log i got:
PHP Fatal error: Uncaught RuntimeException: Something went wrong searching in LDAP directory in /var/www/glpi/inc/authldap.class.php:2805\nStack trace:\n#0 /var/www/glpi/inc/auth.class.php(633): AuthLDAP::searchUserDn(Resource id #6, Array)\n#1 /var/www/glpi/front/login.php(79): Auth->Login('local_user', '', false, false)\n#2 {main}\n thrown in /var/www/glpi/inc/authldap.class.php on line 2805
So i assume that "remember me" always check for LDAP user, and if it is not present throws an error.
What should i check to fix that?
Best Regards.
Offline
Hello All!
We reach the same problem as above. Does anyone have a solution?
Offline
Same problem here. LDAP seems to be misconfigured in some way, but testing was positive.
Offline
I don't understand: you want to connect in GLPI with LDAP authentication with a user deleted from LDAP?
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Dear All,
If a local (internal) user is logged in with "Remember me" checked, and then tryes to log in with cookies he got the 500 error. If the user is stored in LDAP evetything is ok.
In apache log i got:PHP Fatal error: Uncaught RuntimeException: Something went wrong searching in LDAP directory in /var/www/glpi/inc/authldap.class.php:2805\nStack trace:\n#0 /var/www/glpi/inc/auth.class.php(633): AuthLDAP::searchUserDn(Resource id #6, Array)\n#1 /var/www/glpi/front/login.php(79): Auth->Login('local_user', '', false, false)\n#2 {main}\n thrown in /var/www/glpi/inc/authldap.class.php on line 2805
So i assume that "remember me" always check for LDAP user, and if it is not present throws an error.
What should i check to fix that?Best Regards.
I have the same problem. Users with local GLPI authentication, when using the Remember me when logging in option, if after login they close and open the browser window again, they are no longer able to access the GLPI (the page does not load). They need to clear cookies to be able to access again. On the other hand, users with LDAP authentication do not face the same problem, the page loads normally.
As a workaround I disable the reminder option.
Is there a way to fix this without having to disable this option? Has this problem been corrected in later versions of GLPI?
My current version: GLPI 9.3.1
Apache / 2.4.6 (CentOS) PHP / 7.1.23 MySQL Community Server 5.6.21
Last edited by afhBr007 (2020-05-23 17:01:46)
Offline