Auth_json_audit

Hi, I would like to have the the Log in JSON format as shown here:

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

so I enabled

ucr set 'samba/global/options/log level'="1 auth_json_audit:3@/var/log/samba-auth.log"

then:

smbcontrol ALL reload-config but no log at all also with systemctl restart samba-ad-dc

what am I doing wrong?

thnx.

1 Like

is a stunning silence, no one can give me a tip? :thinking:

using:

ucr set 'samba/global/options/log level'="3 auth_audit:3 auth_json_audit:3@/var/log/samba-auth.log"

works as it should.

1 Like

thank you so much, that was extrem helpfull for me :slight_smile: thx!

Mastodon