summaryrefslogtreecommitdiff
path: root/source3/librpc/idl
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-10-28 16:21:53 +0100
committerGünther Deschner <gd@samba.org>2009-10-29 10:49:35 +0100
commite92e33238c79a917db7af9b6dfbf06ebaaba9fd8 (patch)
treee7c97291f0f30c4a862f3c44e7799b69407d9f6d /source3/librpc/idl
parent83de5c826313aa09c76131ae70550bd81b3521c5 (diff)
downloadsamba-e92e33238c79a917db7af9b6dfbf06ebaaba9fd8.tar.gz
samba-e92e33238c79a917db7af9b6dfbf06ebaaba9fd8.tar.bz2
samba-e92e33238c79a917db7af9b6dfbf06ebaaba9fd8.zip
s3: add secrets.idl.
Guenther
Diffstat (limited to 'source3/librpc/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;
+
+}
+