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 2019-06-28 09:58:39

uknowx5
Member
Registered: 2016-03-04
Posts: 181

How to add ldap users directly to an entity?

Hello, I have several entities and several LDAP in glpi.

When I import a user from a server I want to automatically add it to a child entity, but the reality is that it remains root entity. What's going on?

zwggli.jpg
29on5fs.jpg

Offline

#2 2019-07-01 18:21:15

uknowx5
Member
Registered: 2016-03-04
Posts: 181

Re: How to add ldap users directly to an entity?

Help

Offline

#3 2019-07-02 09:14:56

teguh.umar
Member
From: Indonesia
Registered: 2011-05-20
Posts: 160

Re: How to add ldap users directly to an entity?

Probably you can look at rules menu to filter and assign to an entity


GLPI 10.0.10
Installation mode: zip on OREL9

Offline

#4 2019-07-02 12:24:57

uknowx5
Member
Registered: 2016-03-04
Posts: 181

Re: How to add ldap users directly to an entity?

teguh.umar wrote:

Probably you can look at rules menu to filter and assign to an entity


there is no rule to assign users to entities specifically.

Offline

#5 2019-07-02 14:06:17

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,167

Re: How to add ldap users directly to an entity?

set administration>rules>automatic user assignement
set criteria (ie LDAP DIRECTORY is MYLDAP1 )
set action  ( ie entity assign  entity#1)


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#6 2019-07-02 14:20:07

uknowx5
Member
Registered: 2016-03-04
Posts: 181

Re: How to add ldap users directly to an entity?

LaDenrée wrote:

set administration>rules>automatic user assignement
set criteria (ie LDAP DIRECTORY is MYLDAP1 )
set action  ( ie entity assign  entity#1)


I do not have that rule

2dl2p2q.jpg

My version of GLPI is 9.4.2

Offline

#7 2019-07-02 14:33:37

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,167

Re: How to add ldap users directly to an entity?

ok, now it s called Autorisations assinment rules

set criteria  ie ldap is myldap
set actions
ie entity assign  entity1 , profile assign post only,recursive assigne no.

if only one entity for a user, no need for default entity.


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#8 2019-07-03 06:34:03

teguh.umar
Member
From: Indonesia
Registered: 2011-05-20
Posts: 160

Re: How to add ldap users directly to an entity?

any update with this solution?

LaDenrée wrote:

ok, now it s called Autorisations assinment rules

set criteria  ie ldap is myldap
set actions
ie entity assign  entity1 , profile assign post only,recursive assigne no.

if only one entity for a user, no need for default entity.


GLPI 10.0.10
Installation mode: zip on OREL9

Offline

#9 2019-07-03 08:13:22

uknowx5
Member
Registered: 2016-03-04
Posts: 181

Re: How to add ldap users directly to an entity?

LaDenrée wrote:

ok, now it s called Autorisations assinment rules

set criteria  ie ldap is myldap
set actions
ie entity assign  entity1 , profile assign post only,recursive assigne no.

if only one entity for a user, no need for default entity.



How is the rule executed ?. It does not seem to be working.

I'm asking in the rule that users belonging to the active directory "mexico" be automatically assigned to the "mexico" daughter entity.

289etdj.jpg
ezofpk.jpg

Offline

#10 2019-07-03 08:44:07

LaDenrée
HELPER
Registered: 2012-11-19
Posts: 6,167

Re: How to add ldap users directly to an entity?

it works for new users.
check on administrations >users>autorisations (tab)   :  can you see readonly profile  assign to user for mexico  entity


Trouver la panne avant de réparer...
GLPI10.0.10 (ubuntu 22.04 PHP8.1  Mariadb10.6 ) plugins : comportements 2.7.2 reports 1.16.0 formcreator 2.13.8, datainjection 2.13.4 fields 1.21.6

Offline

#11 2019-07-03 10:01:14

uknowx5
Member
Registered: 2016-03-04
Posts: 181

Re: How to add ldap users directly to an entity?

I can not find this tab

24ch8oy.jpg

2814h9d.jpg

Offline

#12 2020-04-02 02:58:14

teguh.umar
Member
From: Indonesia
Registered: 2011-05-20
Posts: 160

Re: How to add ldap users directly to an entity?

LaDenrée wrote:

set administration>rules>automatic user assignement
set criteria (ie LDAP DIRECTORY is MYLDAP1 )
set action  ( ie entity assign  entity#1)

thx for the solution,  i kinda forget..


GLPI 10.0.10
Installation mode: zip on OREL9

Offline

Board footer

Powered by FluxBB