summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-11 02:02:29 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-11 02:02:29 +0000
commita934f89549b3d23199d68b7dc3fc3ad16e86b9ad (patch)
tree0443067094f28b9a339a1b3875bf3cc00be5a45e /source4/librpc/idl
parentbe443f914af377fc97d4cfd56f13d95edbcc645f (diff)
downloadsamba-a934f89549b3d23199d68b7dc3fc3ad16e86b9ad.tar.gz
samba-a934f89549b3d23199d68b7dc3fc3ad16e86b9ad.tar.bz2
samba-a934f89549b3d23199d68b7dc3fc3ad16e86b9ad.zip
started adding support for lsa_QueryInfoPolicy
(This used to be commit 5b2d577969103ed5c633ea993d476787af14fa93)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/lsa.idl26
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 */