]> git.ipfire.org Git - thirdparty/samba.git/commit
dsdb:audit: bump minor version of password logs (1.1 -> 1.2)
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 28 Aug 2025 05:09:43 +0000 (17:09 +1200)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 3 Sep 2025 02:13:40 +0000 (02:13 +0000)
commitc9e752ab18f43758d704951f7f31e39dafa6fdb4
tree99fba4c52270369acd514a3172bc483d39c5d0bb
parent139caa8adb2396e36eb195c593e91d7e37038315
dsdb:audit: bump minor version of password logs (1.1 -> 1.2)

In https://wiki.samba.org/index.php/Interpreting_JSON_Audit_Logs we say:

> a version number for the JSON format. It has two parts.
>
>    major: incremented if fields change meaning
>    minor: incremented if a field is added
>
> A change in possible values does not usually trigger a version
> change. This is obviously true for client supplied data, but also
> applies to e.g. passwordType, where the set of supported password
> formats can change over time without changing the JSON version.

The last paragraph explicitly exempts us from a version change for
adding a new possible value ("Public key change") to the "action"
field. On the other hand we have expanded the scope of the log, which
deserves some version recognition.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/dsdb/samdb/ldb_modules/audit_log.c