[Samba] Monitor changes that occur in an OU

Elias Pereira empbilly at gmail.com
Mon Aug 16 23:42:38 UTC 2021


hello Andrew, thanks for the answer!!!

Is there a specific flag in this log that I
can monitor when creating a new user?

On Mon, Aug 16, 2021 at 8:11 PM Andrew Bartlett <abartlet at samba.org> wrote:

> 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
>
>

-- 
Elias Pereira


More information about the samba mailing list