Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run script on Active Directory change

we would like to set a trigger on AD so that on a group, user or structure change below a specific branch we can automatically start a script to update our postgres DB.

Is it possible? which is the best solution?

thanks G.

like image 651
thegio Avatar asked Feb 03 '17 10:02

thegio


1 Answers

I know an eventID is triggered when a user account is created. It's EventID 4720: A user account was created.

You can then schedule a task via Task Scheduler. Select an eventon the Triggers tab, there you can specify an EventID and run a task when this event is triggered.

You can check a list of events on https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/Default.aspx

like image 53
Svekke Avatar answered Oct 20 '22 17:10

Svekke