diff options
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/lsa.idl | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl index d2410e770d..93cae36ae0 100644 --- a/source4/librpc/idl/lsa.idl +++ b/source4/librpc/idl/lsa.idl @@ -95,7 +95,31 @@ /******************/ /* Function: 0x07 */ - NTSTATUS lsa_QueryInfoPolicy (); + + typedef struct { + uint32 percent_full; + uint32 log_size; + NTTIME retention_time; + uint8 shutdown_in_progress; + NTTIME time_to_shutdown; + uint32 next_audit_record; + uint32 unknown; + } lsa_AuditLogInfo; + + typedef struct { + uint32 auditing_mode; + } lsa_AuditEventsInfo; + + typedef union { + case(1) lsa_AuditLogInfo audit_log; + case(2) lsa_AuditEventsInfo audit_events; + } lsa_PolicyInformation; + + NTSTATUS lsa_QueryInfoPolicy ( + [in,ref] policy_handle *handle, + [in] uint16 level, + [out,switch_is(level)] lsa_PolicyInformation *info + ); /******************/ /* Function: 0x08 */ |