Solved.
If working with dsdb locally, as root - no any changes do not write to
log file
If working via network, all work fine.
p.s.? This is not really a good thing. It is a potential problem.
17.02.2025 23:33, Anton Shevtsov via samba ?????:> 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?
>
--
basealt logo *?????? ????? ???????*
??????? ?? ??????????????
???????? ?? ???????? ??? ??????? ???
????????? : +79222651692
telegram : @anton_shevtsov