[Samba] Monitor changes that occur in an OU

Andrew Bartlett abartlet at samba.org
Mon Aug 16 23:11:34 UTC 2021


On Mon, 2021-08-16 at 11:47 -0300, Elias Pereira via samba wrote:
> Hi,
> 
> Would there be any way to monitor changes
> occurring in an OU?
> 
> Example, the creation of a new user.
> 

https://wiki.samba.org/index.php/Setting_up_Audit_Logging#Enabling_AD_DC_Database_Audit_Logging

dsdb_json_audit:5 is the log class you want.
dsdb_transaction_json_audit:5 should be watched for the incredibly rare
case where a transaction is aborted, as the audit log will have already
been printed.

I hope this helps,

Andrew Bartlett

-- 
Andrew Bartlett (he/him)       https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT   https://catalyst.net.nz/services/samba

Samba Development and Support, Catalyst IT - Expert Open Source
Solutions




More information about the samba mailing list