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 2009-03-24 14:48:02

Rodent
Member
Registered: 2009-03-24
Posts: 3

Access Denied GLPI version 0.71.5 Copyright (C) 2003-2009 INDEPNET

I installed GLPI without out too much bother on an Ubuntu LMP server and spent a while trying it out etc.  Input a few records and then tried to make a few changes - I then got the error mesage :

Access Denied
GLPI version  0.71.5 Copyright (C) 2003-2009 INDEPNET

I've re-installed the system and used the original database with the same result.  Creating a new database solves the problem but all my data and user set up is still in the old database.

I have a backup of the old database but I am assuming that something I have done has written to this file and is now causing me to be locked out of the system when I try to access it using this database.

Anyone help me by letting me know if I can rectify this problem with a simple change to some field or other or if I have to go through the whole process of inputting my assets and user info again.

Thanks in advance and I promise to stop mucking about with the settings :-)

Offline

#2 2009-03-24 15:33:02

gufo
Member
Registered: 2009-01-05
Posts: 8

Re: Access Denied GLPI version 0.71.5 Copyright (C) 2003-2009 INDEPNET

you can change the password of a super-admin account...
maybe ou have some trouble with your auth (ldap...)

Offline

#3 2009-03-24 15:45:27

Rodent
Member
Registered: 2009-03-24
Posts: 3

Re: Access Denied GLPI version 0.71.5 Copyright (C) 2003-2009 INDEPNET

Thanks - but I've tried changing the admin user password (glpi) using :

UPDATE glpi_users SET password_md5 = MD5( 'glpi' ) WHERE name='glpi';

.....  the error is the same no matter which username/password combination I use - I have four other users.

Offline

#4 2009-04-09 15:49:50

Rodent
Member
Registered: 2009-03-24
Posts: 3

Re: Access Denied GLPI version 0.71.5 Copyright (C) 2003-2009 INDEPNET

Found a solution :-)

There is a table in the MySQL database called 'glpi_profiles'.  I carried out a re-install using a different database name then used mysqldump to do a dump of both databases to text files for comparison.

Copying one table from the old database to the new at a time led me to the fact that there is something in the 'glpi_profiles' table that was causing the error.  I used the table from the new database in the old one by cutting and pasting in the dumped text file then read this back into MySQL and tested.

Working ever since ..... and I've stopped changing files.

Offline

#5 2009-04-09 19:06:58

JMD
GLPI - Lead
Registered: 2004-09-13
Posts: 9,180
Website

Re: Access Denied GLPI version 0.71.5 Copyright (C) 2003-2009 INDEPNET

Ok wink


JMD / Jean-Mathieu Doléans - Glpi-project.org - Association Indepnet
Apportez votre pierre au  projet GLPI   : Soutenir

Offline

Board footer

Powered by FluxBB