You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-06-10 11:01:36

eprohias
Member
Registered: 2022-06-09
Posts: 5

Cannot login with super-admin user

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

#2 2022-06-10 12:41:25

Kaya84
Member
Registered: 2019-06-13
Posts: 217

Re: Cannot login with super-admin user

If u see all blank, check the apache logfile.

Offline

#3 2022-06-10 12:53:24

eprohias
Member
Registered: 2022-06-09
Posts: 5

Re: Cannot login with super-admin user

Kaya84 wrote:

If u see all blank, check the apache logfile.

Do you know where I can locate it?

Offline

#4 2022-06-10 13:33:36

eprohias
Member
Registered: 2022-06-09
Posts: 5

Re: Cannot login with super-admin user

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

#5 2022-06-10 14:16:14

eprohias
Member
Registered: 2022-06-09
Posts: 5

Re: Cannot login with super-admin user

Solved!

Sorry was my fault, I have moved my user into another OU outside of LDAP GLPI SYNC.

Best regards

Offline

Board footer

Powered by FluxBB