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 2017-08-10 19:24:19

lordbat
Member
From: SPAIN
Registered: 2016-02-12
Posts: 126

[Question] Automatic Action - LDAP Sync - Active Users - GLPI 9.1.4

Hi, there are any option or automatic action to check if the user are enable or disable on Active Directory do the same action on Active field to change automatically?

Thanks and Regards!


You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
[Prod] GLPI 9.3.4 - Ubuntu 16.04 LTS Server ------- [TEST] GLPI 9.4.5 - Ubuntu Server 16.04 LTS

Offline

#2 2017-08-11 12:35:51

LucaC
Member
Registered: 2012-04-10
Posts: 44

Re: [Question] Automatic Action - LDAP Sync - Active Users - GLPI 9.1.4

Hello,
Just modify the LDAP filter. Using the userAccountControl attribute you can filter out disabled user which then will be disabled or deleted in glpi (based on your configuration).
IIRC the "default" LDAP already does this.

Offline

#3 2020-06-03 20:16:32

WebGreg
Member
Registered: 2020-02-27
Posts: 727

Re: [Question] Automatic Action - LDAP Sync - Active Users - GLPI 9.1.4

Hello.

Can anyone write something more about this? My filter:

(&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))

But still if I disable the account in AD, it is marked in GLPI as active.



Edit: OK - sometimes I have to write something to find my mistake wink

And Setup > Authentication > Setup > Action when a user is deleted from the LDAP directory > changed to Disable and works now.

Last edited by WebGreg (2020-06-03 20:31:27)


--
GLPI 10.0.7
GLPI-Inventory 1.2.1
Ubuntu Server 20.04 LTS

Offline

Board footer

Powered by FluxBB