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-05-13 11:17:41

RSIABEJ
Member
Registered: 2022-05-13
Posts: 1

Error with Ldap account "your account was deactivated or removed"

Hi everyone,

I've been using GLPI for my organization for a few years, for login I use the LDAP sync with my AD. It usually works fine but I have one particular user who gets this error when she tries to login:

You don't have access to this application because your account was deactivated or removed

She has the correct username and password, her account is not deactivated in GLPI nor in Active Directory.
Other users can login fine, and I can also login using the internal admin account "glpi".

I tried to resync her account. To disable it/re-enable it, but no success.
I have no idea what causes this issue.
I found a few cases in the forum for this error, but usually people also have problem with several accounts, including the glpi account.

Any idea ?

Offline

#2 2022-05-13 17:21:06

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: Error with Ldap account "your account was deactivated or removed"

The message can be triggered in these cases:
1. GLPI user is not active (Active field set to no)
2. GLPI user is in the trash bin (Soft-deleted)
3. GLPI user has the Valid Since field set and it is later than the current date and time (GLPI server date and time)
4. GLPI user has the Valid Until field set and it is before the current date and time (GLPI server date and time)

This message does not trigger as a result of any LDAP account check.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2022-10-27 14:04:27

actarus44
Member
Registered: 2022-10-27
Posts: 2

Re: Error with Ldap account "your account was deactivated or removed"

Hi
i had this pb yesterday and found that password policy was the cause.
go to table glpi_configs and change "password_expiration_lock_delay" to -1 et "password_expiration_delay" to 600

Then you'll be able to connect.

Offline

Board footer

Powered by FluxBB