This modules is ADDC only and JANSSON is required for the ADDC builds,
so the ifdef is no longer necessary.
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
return &transaction_id->transaction_guid;
}
-#ifdef HAVE_JANSSON
/*
* @brief generate a JSON log entry for a group change.
*
DBG_ERR("Failed to create group change JSON log message\n");
return wrapper;
}
-#endif
/*
* @brief generate a human readable log entry for a group change.
TALLOC_FREE(message);
}
-#ifdef HAVE_JANSSON
if (CHECK_DEBUGLVLC(DBGC_DSDB_GROUP_AUDIT_JSON, GROUP_LOG_LVL) ||
(ac->msg_ctx && ac->send_events)) {
}
json_free(&json);
}
-#endif
TALLOC_FREE(ctx);
}
TALLOC_FREE(message);
}
-#ifdef HAVE_JANSSON
if (CHECK_DEBUGLVLC(DBGC_DSDB_GROUP_AUDIT_JSON, GROUP_LOG_LVL) ||
(ac->msg_ctx && ac->send_events)) {
struct json_object json;
}
json_free(&json);
}
-#endif
TALLOC_FREE(ctx);
}