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 2010-10-20 10:49:36

shiryaev
Member
Registered: 2010-10-20
Posts: 3

user cannot login after changing auth type (glpi->ad)

GLPI 0.78

How to reproduce.
1. Create user (e.g. shiryaev) with auth method GLPI and set user password (e.g. glpiPASS)
2. Try to login. Everything should be ok.
2. Setup GLPI to use LDAP (AD).
3. Go to Administration/Users. Check the user and change an auth method.
4. Try to login with the same user account (shiryaev) with password from AD (e.g. adPASS). Login failed! If you use an old user password (glpiPASS from internal GLPI password DB), login is successful but auth method resets from AD to GLPI.

I've reviewed db table glpi_users and I've tried to clear the password field manually after changing auth method through the admin console.

update glpi_users set password='' where name='shiryaev';

After that I've successfully logged in with my Active Directory credentials.

It looks like a bug in GLPI.

Offline

#2 2010-10-20 12:02:22

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: user cannot login after changing auth type (glpi->ad)

Hello
yes you're right, there was a problem
I've fixed it, can you try and tell me if it's ok now ?
https://forge.indepnet.net/issues/2326

Offline

#3 2010-10-20 13:01:58

shiryaev
Member
Registered: 2010-10-20
Posts: 3

Re: user cannot login after changing auth type (glpi->ad)

Thanks! Now it works perfectly!

Offline

#4 2010-10-20 13:10:16

shiryaev
Member
Registered: 2010-10-20
Posts: 3

Re: user cannot login after changing auth type (glpi->ad)

But let's assume we want to change settings back to GLPI auth method.
There is not a "tip" to enter user password. And user cannot login because password is not set.

Is it normal?

Offline

#5 2010-10-20 15:58:55

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: user cannot login after changing auth type (glpi->ad)

in 0.78 there's no solution for that
in 0.80 people wil be able to ask for a new password

Offline

Board footer

Powered by FluxBB