summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_lsa.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-11 07:57:08 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-11 07:57:08 +0000
commit8830a20bce4bde93aef2752c1e87aca428169d0a (patch)
tree29e4c213e3a64832e832d8c5290e0f6b18aba8ad /source4/librpc/ndr/ndr_lsa.h
parent5475c9f9785e11638bc5ec47aa84a169b0284bbb (diff)
downloadsamba-8830a20bce4bde93aef2752c1e87aca428169d0a.tar.gz
samba-8830a20bce4bde93aef2752c1e87aca428169d0a.tar.bz2
samba-8830a20bce4bde93aef2752c1e87aca428169d0a.zip
added 9 more info levels to lsa_QueryInfoPolicy
(This used to be commit b2ced24fc0be4944dd96f160e435f4c6773debcd)
Diffstat (limited to 'source4/librpc/ndr/ndr_lsa.h')
-rw-r--r--source4/librpc/ndr/ndr_lsa.h57
1 files changed, 55 insertions, 2 deletions
diff --git a/source4/librpc/ndr/ndr_lsa.h b/source4/librpc/ndr/ndr_lsa.h
index 21060b6058..bf642872e2 100644
--- a/source4/librpc/ndr/ndr_lsa.h
+++ b/source4/librpc/ndr/ndr_lsa.h
@@ -133,15 +133,68 @@ struct lsa_AuditEventsInfo {
struct lsa_AuditSettings *settings;
};
-struct lsa_PrimaryDomainInfo {
+struct lsa_DomainInfo {
struct lsa_Name name;
struct dom_sid2 *sid;
};
+struct lsa_PDAccountInfo {
+ struct lsa_Name name;
+};
+
+struct lsa_ServerRole {
+ uint16 role;
+};
+
+struct lsa_ReplicaSourceInfo {
+ struct lsa_Name source;
+ struct lsa_Name account;
+};
+
+struct lsa_DefaultQuotaInfo {
+ uint32 paged_pool;
+ uint32 non_paged_pool;
+ uint32 min_wss;
+ uint32 max_wss;
+ uint32 pagefile;
+ HYPER_T unknown;
+};
+
+struct lsa_ModificationInfo {
+ HYPER_T modified_id;
+ NTTIME db_create_time;
+};
+
+struct lsa_AuditFullSetInfo {
+ uint32 shutdown_on_full;
+};
+
+struct lsa_AuditFullQueryInfo {
+ uint32 shutdown_on_full;
+ uint32 log_is_full;
+};
+
+struct lsa_DnsDomainInfo {
+ struct lsa_Name name;
+ struct lsa_Name dns_domain;
+ struct lsa_Name dns_forest;
+ struct GUID domain_guid;
+ struct dom_sid2 *sid;
+};
+
union lsa_PolicyInformation {
/* [case(1)] */ struct lsa_AuditLogInfo audit_log;
/* [case(2)] */ struct lsa_AuditEventsInfo audit_events;
-/* [case(3)] */ struct lsa_PrimaryDomainInfo domain;
+/* [case(3)] */ struct lsa_DomainInfo domain;
+/* [case(4)] */ struct lsa_PDAccountInfo pd;
+/* [case(5)] */ struct lsa_DomainInfo account_domain;
+/* [case(6)] */ struct lsa_ServerRole role;
+/* [case(7)] */ struct lsa_ReplicaSourceInfo replica;
+/* [case(8)] */ struct lsa_DefaultQuotaInfo quota;
+/* [case(9)] */ struct lsa_ModificationInfo db;
+/* [case(10)] */ struct lsa_AuditFullSetInfo auditfullset;
+/* [case(11)] */ struct lsa_AuditFullQueryInfo auditfullquery;
+/* [case(12)] */ struct lsa_DnsDomainInfo dns;
};
struct lsa_QueryInfoPolicy {