summaryrefslogtreecommitdiff
path: root/source3/librpc/idl/secrets.idl
diff options
context:
space:
mode:
Diffstat (limited to 'source3/librpc/idl/secrets.idl')
-rw-r--r--source3/librpc/idl/secrets.idl27
1 files changed, 27 insertions, 0 deletions
diff --git a/source3/librpc/idl/secrets.idl b/source3/librpc/idl/secrets.idl
new file mode 100644
index 0000000000..929c9bc396
--- /dev/null
+++ b/source3/librpc/idl/secrets.idl
@@ -0,0 +1,27 @@
+#include "idl_types.h"
+
+/*
+ IDL structures for secrets code
+*/
+
+[
+ pointer_default(unique)
+]
+ interface secrets
+{
+
+ /*
+ * s3 on-disc storage structure for trusted domains, do not change !
+ */
+
+ typedef [flag(NDR_NOALIGN),public] struct {
+ [value(strlen_m_term(uni_name))] uint32 uni_name_len;
+ [charset(UTF16)] uint16 uni_name[32]; /* unicode domain name */
+ [value(strlen(pass))] uint32 pass_len;
+ astring pass; /* trust relationship's password */
+ time_t mod_time;
+ dom_sid domain_sid; /* remote domain's sid */
+ } TRUSTED_DOM_PASS;
+
+}
+