log.samba only grows and is never rotated or truncated. The samba DC does obviously not honor max log size at all (Is it possible that this is still not implemented and we still don't even have a bug report for this???)
This may be related to another missing feature which is seperate logfile per service. I have WIP patches for this somewhere...
This bug was referenced in samba master: ab2c712c016f4e4dacd5064b9eb8f6417f4b9b60 29cd139a32d5dbf36bef68eb9c7f1160201e3042 b7ee36146458bcc2c944f5670b7632df8281ae61 3651a51e93b45104323d5db1d5ea704d4f71acf1 68f71f227b17774a12c84575c1eecd82279fac95 516c2a04a242a539f9fbddb2822295fee233644c 9f71e6173ab43a04804ba8061cb0e8ae6c0165bf 19413e76a46f07fdd46fde5e60707bb6845a782d 82b64e930b0e2d3b2e5186017d9f8e420994136c 6fa5fb8ef26dab862df5c46bb5e74f19839c30e2 058f96f4c4eda42b404f0067521d3eafb495fe7d
Created attachment 16362 [details] Patch for 4.12 backported from master
Created attachment 16363 [details] Patch for 4.13 backported from master
Re-assigning to Karolin for inclusion in 4.13.next, 4.12.next.
(In reply to Jeremy Allison from comment #5) Pushed to autobuild-v4-{13,12}-test.
This bug was referenced in samba v4-13-test: 99ea8cd6dfa2ce30461e9bc9def18e9df6e8bf9f 39efb02c6b49fac0775b9011f82db9d71f6f101f e7df21ac6408ddde3993bde03b15483db01066a7 80401025504de3c24209f354494b03f95d56ece2 69a8fb4f971a87fcb70607fdf4827f64fd806964 504c6e03018038aef0fa4753b9e0f315307f4ad1 fa2ea13ec04c09d1748aad41b27bbcb0c8e056f8 7258fc076adab75d3abeaa874159eb5b04ee5f23 f89daf8d25585a22470dfe4ca04157421f8e93cf db202fc3efc104bb9ded33931759e506f0523d25 e3d6d452118389dedbd64f22a2e1f167d24dd45f
This bug was referenced in samba v4-12-test: ccf971eef5c780031915fc61bf6bc1ffeb24e73d f6bd782cb3b68354c6ebe1bae7fd82f4c5f5fb1f 5cd1e3c5a4aade5d589ad7df613766e0cb38f342 6c881025bfa45927076e1b995bf948f0434417ae 5b838f5075c856779a38d9a2a023bf1b33cb1afd 7299ebb1215776b19f5094e861a21c7df06220f2 1a6f2871036f5271aefa63f745e691a38684b40e b50ef6fa897b2c007e17a0ccb38e04bdeb7cec00 4e6fdf5d8d932af52f029f84da774ae920e3a80f 91f2f2dedb7e9fcac1ebc4849b5e64056905849a 20480f70ce0608a1bf296eda8f9dbff8cf746078
Pushed to both branches. Closing out bug report. Thanks!
This bug was referenced in samba v4-13-stable (Release samba-4.13.3): 99ea8cd6dfa2ce30461e9bc9def18e9df6e8bf9f 39efb02c6b49fac0775b9011f82db9d71f6f101f e7df21ac6408ddde3993bde03b15483db01066a7 80401025504de3c24209f354494b03f95d56ece2 69a8fb4f971a87fcb70607fdf4827f64fd806964 504c6e03018038aef0fa4753b9e0f315307f4ad1 fa2ea13ec04c09d1748aad41b27bbcb0c8e056f8 7258fc076adab75d3abeaa874159eb5b04ee5f23 f89daf8d25585a22470dfe4ca04157421f8e93cf db202fc3efc104bb9ded33931759e506f0523d25 e3d6d452118389dedbd64f22a2e1f167d24dd45f
This bug was referenced in samba v4-12-stable (Release samba-4.12.11): ccf971eef5c780031915fc61bf6bc1ffeb24e73d f6bd782cb3b68354c6ebe1bae7fd82f4c5f5fb1f 5cd1e3c5a4aade5d589ad7df613766e0cb38f342 6c881025bfa45927076e1b995bf948f0434417ae 5b838f5075c856779a38d9a2a023bf1b33cb1afd 7299ebb1215776b19f5094e861a21c7df06220f2 1a6f2871036f5271aefa63f745e691a38684b40e b50ef6fa897b2c007e17a0ccb38e04bdeb7cec00 4e6fdf5d8d932af52f029f84da774ae920e3a80f 91f2f2dedb7e9fcac1ebc4849b5e64056905849a 20480f70ce0608a1bf296eda8f9dbff8cf746078