smbstatus: add opens to files in json output
authorJule Anger <janger@samba.org>
Wed, 30 Mar 2022 13:36:13 +0000 (15:36 +0200)
committerJule Anger <janger@samba.org>
Mon, 8 Aug 2022 12:56:29 +0000 (12:56 +0000)
commit8d26456742a08991016320fa9cf46598b15affe0
treef0d7b1c64e22387cf18ea58c19de7479dc31f56e
parent27d026aca6963edc29e56fa8cb524242a9de192c
smbstatus: add opens to files in json output

At the moment, there is only information about the open files.
Adds a list of its opens for each file. An open is represented as
a dictionary. Contains only the basic information (pid, uid and
time) about the open.

Signed-off-by: Jule Anger <janger@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/utils/status.c
source3/utils/status_json.c
source3/utils/status_json.h
source3/utils/status_json_dummy.c