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 2024-01-19 16:54:31

goaguiar99
Member
Registered: 2022-11-17
Posts: 14

LDAP connection issues in new entities

I configured LDAP on my server (with over 1000 users) to import them into two newly created entities. However, after importing the users, they don't appear as users for the entities. Now, whenever I try to import, the message "No users to import" keeps appearing. The connection filter used was (&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2))).

Offline

#2 2024-01-19 19:25:28

nikolaidys73
Member
From: Rafaela - Santa Fe- Argentina
Registered: 2024-01-15
Posts: 162

Re: LDAP connection issues in new entities

In my case what happened was that the beginning of the statement was bug, copy it and try it again, I know it seems insignificant but if I have to bring a group from the directory I have to do that step. Try just in case, it never hurts

Last edited by nikolaidys73 (2024-01-19 19:25:39)


Version GLPI: 10.0.16 -
Plugins :Fields aditional 1.21.9 - Alerts 1.12.2 - GLPI Inventory 1.3.4 - Escalation 2.9.4 - Data Inyection 2.13.4 - Metabase - 1.3.3 - Ticketfilter 1.3.2 - Timeline of tickets -10.0+1.2 - YAGP 2.3.1 - Gapp Essentials 2.3.0 - Formcreator 2.13.9
Server :Ubuntu 22.04 LTS

Offline

#3 2024-01-19 21:05:25

goaguiar99
Member
Registered: 2022-11-17
Posts: 14

Re: LDAP connection issues in new entities

I tried to add a profile to the entity, for example, self-service for the user, and then it was added. I believe that if I can include various profiles for users, they will be added to the entity.

Offline

#4 2024-01-20 01:42:12

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

Re: LDAP connection issues in new entities

Users have no entity until they are given a profile because the entity assignment comes with the profile assignment. If a user has no profile in a certain entity (and has none on a parent entity with the recursive flag set), then they don't have access to the entity. When there are no profiles given to a user, they should show up in the user list when you view the root entity. This is also why the Authorization Assignment Rules are global rather than being per-entity. By default, there is an authorization assignment rule which gives new users the Self-Service profile at the root entity.


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

Board footer

Powered by FluxBB