[Samba] dsdb_* logs to files
Anton Shevtsov
shevtsovay at basealt.ru
Tue Feb 18 05:58:54 UTC 2025
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
More information about the samba
mailing list