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 2012-04-30 08:41:41

SventeHof
Member
Registered: 2012-04-10
Posts: 12

Userlist is empty, but ldap sync works

If i open the user list ( Administration - Users), then there are no users listed.
If i start a ldap sync (Synchronizing already imported users), then i can see the user.

So, i can´t select the user in the Ticket System ;-(

Last edited by SventeHof (2012-04-30 08:50:16)

Offline

#2 2012-04-30 09:23:45

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

Re: Userlist is empty, but ldap sync works

hello
check in the trash bin!

Offline

#3 2012-04-30 11:08:42

SventeHof
Member
Registered: 2012-04-10
Posts: 12

Re: Userlist is empty, but ldap sync works

there are 3 deleted Users in the trash bin .. ist´s okay ..
The normal userlist is still empty! and this is not okay

Offline

#4 2012-04-30 11:56:04

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

Re: Userlist is empty, but ldap sync works

which version of glpi ?
what is the default profile ?
do you use entites ?

I need more informations to be able to help you

Offline

#5 2012-04-30 12:44:01

SventeHof
Member
Registered: 2012-04-10
Posts: 12

Re: Userlist is empty, but ldap sync works

wawa wrote:

which version of glpi ?

GLPI 0.83.1

wawa wrote:

what is the default profile ?

admin

wawa wrote:

do you use entites ?

what do you mean?

In phpmyAdmin i can see 332 Users in the table "glpi_users", but not in glpi itself.

Offline

#6 2012-04-30 14:18:44

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Userlist is empty, but ldap sync works

Do you only have root entiy or other entities ?
Have you look at the  users bin ?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#7 2012-05-03 10:23:01

SventeHof
Member
Registered: 2012-04-10
Posts: 12

Re: Userlist is empty, but ldap sync works

I switch the language and now i know, what you mean with the entities ;-)

We have the root and a test entity, but we use only the root entity.
If i switch the entity, the user bin is yet empty!

This view is empty:
http://../../front/user.php?is_deleted=0&field%5B0%5D=view&searchtype%5B0%5D=contains&contains%5B0%5D=&itemtype=User&start=0

and in phpMyAdmin i can see 332 Users in the table "glpi_users"

Offline

#8 2012-05-03 12:48:42

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Userlist is empty, but ldap sync works

If you have Users but any profile defined for each user, you 'll never see them in the users list.
Have you defined a default profil ?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#9 2012-05-03 13:28:37

SventeHof
Member
Registered: 2012-04-10
Posts: 12

Re: Userlist is empty, but ldap sync works

Post-only is our default profile, and before we updated to 0.83.1 we saw all users.
To the last thing I remember was that I had assigned the profile "Hotliner" to one user.
And on next day, the user list was empty. It´s only the view, the table exists with all users!

Could it be a bug?

Offline

#10 2012-05-04 14:27:35

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Userlist is empty, but ldap sync works

SventeHof wrote:

It´s only the view, the table exists with all users!

Yes, but like i said in my post do all user have a profile associated ?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#11 2012-05-15 23:15:14

domarques
Member
Registered: 2012-01-31
Posts: 4

Re: Userlist is empty, but ldap sync works

Same problem here at version 0.83.1.

Users can login through ldap, but the basic user data (cn, sn, mail etc) is not imported from ldap. Data like Login, Surname, Email addresses, Phone, Location appears blank (even at db). Only manually i can sync user data between ldap and glpi.

Last edited by domarques (2012-05-15 23:15:28)

Offline

#12 2012-05-16 09:58:31

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Userlist is empty, but ldap sync works

If you want to synchronize automatically your ldap and glpi,you must create created a cron like indicated in the documentation.


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#13 2012-06-18 20:11:53

pogorl
Member
Registered: 2012-06-18
Posts: 4

Re: Userlist is empty, but ldap sync works

Has this issue been resolved yet?

I've just upgraded to v0.83.2. Including bug fixes from SVN. Still user list is missing when clicking Administration -> Users.

Any suggestions would be greatly appreciated.

Offline

#14 2012-06-18 22:29:23

pogorl
Member
Registered: 2012-06-18
Posts: 4

Re: Userlist is empty, but ldap sync works

pogorl wrote:

Has this issue been resolved yet?

I've just upgraded to v0.83.2. Including bug fixes from SVN. Still user list is missing when clicking Administration -> Users.

Any suggestions would be greatly appreciated.

The problem has been resolved.

1. MySQL produces the following error

mysql> select * from glpi_users;
ERROR 1194 (HY000): Table 'glpi_users' is marked as crashed and should be repaired

2. To fix the error use the following

mysql> repair table glpi_users;

Solution has been found at http://www.techrepublic.com/article/che … es/5193721

Offline

Board footer

Powered by FluxBB