[Samba] Setting up Audit Logging

Marcio Demetrio Bacci marciobacci at gmail.com
Tue Jan 14 11:04:17 UTC 2020


Hi,

I need enable some logs in my two Samba 4 DC. I want to log the folowws:

a. user authentications (success and fail) on domain;
b. who joined a computer in the domain;
c. who created a new user and group on DC.

How I do this?

Do I need only put the follow line in the smb.conf?

log level = 1 auth_audit:3 auth_json_audit:3

My Two DC has enable JSON support

root at samba4-dc2:~# smbd -b | grep HAVE_JSON_OBJECT
   HAVE_JSON_OBJECT

Regards,

Márcio Bacci


More information about the samba mailing list