json: Modify API to use return codes
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 12 Jul 2018 21:14:09 +0000 (09:14 +1200)
committerGary Lockyer <gary@samba.org>
Wed, 25 Jul 2018 04:29:50 +0000 (06:29 +0200)
commit79f494e51eabb5176747fcf3b9f2efad10ec7f97
treee0b6cfa42845fa9af5c19113f540f40d1291ae5b
parente2ebfd8e082fef59791947a24d61bfc50eec8596
json: Modify API to use return codes

Modify the auditing JSON API to return a response code, as the consensus
was that the existing error handling was aesthetically displeasing.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/auth_log.c
lib/audit_logging/audit_logging.c
lib/audit_logging/audit_logging.h
lib/audit_logging/tests/audit_logging_test.c
source4/dsdb/samdb/ldb_modules/audit_log.c
source4/dsdb/samdb/ldb_modules/audit_util.c
source4/dsdb/samdb/ldb_modules/group_audit.c