diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-11 02:02:29 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-11 02:02:29 +0000 |
commit | a934f89549b3d23199d68b7dc3fc3ad16e86b9ad (patch) | |
tree | 0443067094f28b9a339a1b3875bf3cc00be5a45e /source4/librpc/ndr/ndr_lsa.h | |
parent | be443f914af377fc97d4cfd56f13d95edbcc645f (diff) | |
download | samba-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/ndr/ndr_lsa.h')
-rw-r--r-- | source4/librpc/ndr/ndr_lsa.h | 22 |
1 files changed, 22 insertions, 0 deletions
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; |