[Samba] dsdb_* logs to files

Anton Shevtsov shevtsovay at basealt.ru
Mon Feb 17 18:33:33 UTC 2025


Hi

I want save dsdb_* events to files. I have specified different files for 
events

[global]
...
logging = file
log level = 3 
dsdb_password_audit:5@/var/log/samba/dsdb_password_audit.log 
dsdb_password_json_audit:5@/var/log/samba/dsdb_password_json_audit.log

...

files are created, but size = 0

Change password for any user

[root at dc samba]# samba-tool user setpassword domainuser1 
--newpassword=Qwerty1

I see json output to stdout, but not to files. Why?

-- 
*Anton*


More information about the samba mailing list