You are not logged in.
Pages: 1
Hi guys, need help because I can't login to GLPI with superadmin user
If I use my super-admin user linked to LDAP, put the right or wrong password, I get redirected to http://my_server_glpi/glpi/front/login.php and the browser screen is all blank.
If I try to log in with local glpi user, it always says wrong password, even though I have followed the steps to reset the default password.
However, if I use a user linked to LDAP with SELF-SERVICE profile I can log in correctly.
Now I am desperate because I cannot manage my GLPI.
Scenario:
Server: Ubuntu 20.04.02 LTS
PHP: 8.0.3
GLPI: 9.5.4
Offline
If u see all blank, check the apache logfile.
Offline
If u see all blank, check the apache logfile.
Do you know where I can locate it?
Offline
Here php-errors.log located in /var/www/glpi/files/_log
[2022-06-10 13:31:49] glpiphplog.WARNING: *** PHP Warning (2): Undefined array key "glpiactiveentities" in /var/www/glpi/inc/session.class.php at line 264
Backtrace :
inc/user.class.php:289 Session::canViewAllEntities()
inc/commondbtm.class.php:1758 User->pre_deleteItem()
inc/user.class.php:4523 CommonDBTM->delete()
inc/auth.class.php:881 User::manageDeletedUserInLdap()
front/login.php:84 Auth->login()
[2022-06-10 13:31:49] glpiphplog.CRITICAL: *** Uncaught Exception TypeError: count(): Argument #1 ($var) must be of type Countable|array, null given in /var/www/glpi/inc/session.class.php at line 264
Backtrace :
inc/user.class.php:289 Session::canViewAllEntities()
inc/commondbtm.class.php:1758 User->pre_deleteItem()
inc/user.class.php:4523 CommonDBTM->delete()
inc/auth.class.php:881 User::manageDeletedUserInLdap()
front/login.php:84 Auth->login()
Offline
Solved!
Sorry was my fault, I have moved my user into another OU outside of LDAP GLPI SYNC.
Best regards
Offline
Pages: 1