From a934f89549b3d23199d68b7dc3fc3ad16e86b9ad Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 11 Nov 2003 02:02:29 +0000 Subject: started adding support for lsa_QueryInfoPolicy (This used to be commit 5b2d577969103ed5c633ea993d476787af14fa93) --- source4/librpc/ndr/ndr_lsa.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'source4/librpc/ndr/ndr_lsa.h') diff --git a/source4/librpc/ndr/ndr_lsa.h b/source4/librpc/ndr/ndr_lsa.h index 402bbe8ca2..6eee70fb60 100644 --- a/source4/librpc/ndr/ndr_lsa.h +++ b/source4/librpc/ndr/ndr_lsa.h @@ -113,11 +113,33 @@ struct lsa_OpenPolicy { }; +struct lsa_AuditLogInfo { + uint32 percent_full; + uint32 log_size; + NTTIME retention_time; + uint8 shutdown_in_progress; + NTTIME time_to_shutdown; + uint32 next_audit_record; + uint32 unknown; +}; + +struct lsa_AuditEventsInfo { + uint32 auditing_mode; +}; + +union lsa_PolicyInformation { +/* [case(1)] */ struct lsa_AuditLogInfo audit_log; +/* [case(2)] */ struct lsa_AuditEventsInfo audit_events; +}; + struct lsa_QueryInfoPolicy { struct { + struct policy_handle *handle; + uint16 level; } in; struct { + union lsa_PolicyInformation *info; NTSTATUS result; } out; -- cgit