summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-23 14:08:09 +0100
committerGünther Deschner <gd@samba.org>2009-08-26 15:43:05 +0200
commitaabe5773966cf9805f8f3ddce39f543fe4cbe6f7 (patch)
tree2ae7cdc181d54c95620d44864745940f2877a363 /librpc
parent91ef692d7d21cfcc486a0b9c4a1a35ae54bc5d7d (diff)
downloadsamba-aabe5773966cf9805f8f3ddce39f543fe4cbe6f7.tar.gz
samba-aabe5773966cf9805f8f3ddce39f543fe4cbe6f7.tar.bz2
samba-aabe5773966cf9805f8f3ddce39f543fe4cbe6f7.zip
schannel: move schannel.idl to main directory.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/schannel.idl44
1 files changed, 44 insertions, 0 deletions
diff --git a/librpc/idl/schannel.idl b/librpc/idl/schannel.idl
new file mode 100644
index 0000000000..9cb9e1fb61
--- /dev/null
+++ b/librpc/idl/schannel.idl
@@ -0,0 +1,44 @@
+#include "idl_types.h"
+
+/*
+ schannel structures
+*/
+
+import "netlogon.idl", "nbt.idl";
+
+interface schannel
+{
+ /*
+ a schannel bind blob - used in dcerpc auth_info
+ on a schannel
+ */
+ typedef struct {
+ astring domain;
+ astring workstation;
+ } schannel_bind_3;
+
+ typedef struct {
+ astring domain;
+ astring workstation;
+ nbt_string dnsdomain;
+ nbt_string dnsworkstation;
+ } schannel_bind_23;
+
+ typedef [nodiscriminant] union {
+ [case (3)] schannel_bind_3 info3;
+ [case (23)] schannel_bind_23 info23;
+ } schannel_bind_info;
+
+ typedef [public] struct {
+ uint32 unknown1; /* seems to need to be 0 */
+ uint32 bind_type;
+ [switch_is(bind_type)] schannel_bind_info u;
+ } schannel_bind;
+
+ /* a bind_ack blob */
+ typedef [public] struct {
+ uint32 unknown1; /* 1 */
+ uint32 unknown2; /* 0 */
+ uint32 unknown3; /* 0x006c0000 */
+ } schannel_bind_ack;
+}