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 2022-06-29 13:30:46

grzmrc
Member
Registered: 2022-06-08
Posts: 6

Move new users in right entity (physicalDeliveryOfficeName attribute)

hi,
All my AD users have the office field populated and I'd like to use the physicalDeliveryOfficeName to move new users in the right entity.

1) I create a new LDAP Criteria with physicalDeliveryOfficeName
2)I create a new Authorizations assignment rules (logical operators:AND, LDAP Criteria (office) contain [the city],Action: Assign to the right entity

It doesn't work, but I can't figute the reason

Am I in the correct way or am I wrong?

Offline

#2 2022-06-30 18:50:19

grzmrc
Member
Registered: 2022-06-08
Posts: 6

Re: Move new users in right entity (physicalDeliveryOfficeName attribute)

I'm going crazy smile

I create a single rule in "Authorizations assignment rules"

Criteria
    Criterion    Condition    Reason
    LDAP directory    is    ADN
    Authentication type    is    LDAP directory:
    (LDAP)physicalDeliveryOfficeName    contains    CL Cast

If I test the single rule it works great(true), but if I test the same rule in the Test Rules Engine with the same parameters I receive a False

Anyone can help me?

Offline

Board footer

Powered by FluxBB