s4-srvsvc: merge srvsvc_NetCharDevQGetInfo from s3 idl.
[ira/wip.git] / source4 / librpc / idl / schannel.idl
1 #include "idl_types.h"
2
3 /*
4   schannel structures
5 */
6
7 import "netlogon.idl", "nbt.idl";
8
9 interface schannel
10 {
11         /*
12           a schannel bind blob - used in dcerpc auth_info
13           on a schannel
14         */
15         typedef struct {
16                 astring domain;
17                 astring workstation;
18         } schannel_bind_3;
19
20         typedef struct {
21                 astring domain;
22                 astring workstation;
23                 nbt_string dnsdomain;
24                 nbt_string dnsworkstation;
25         } schannel_bind_23;
26
27         typedef [nodiscriminant] union {
28                 [case (3)]  schannel_bind_3  info3;
29                 [case (23)] schannel_bind_23 info23;
30         } schannel_bind_info;
31
32         typedef [public] struct {
33                 uint32 unknown1; /* seems to need to be 0 */
34                 uint32 bind_type;
35                 [switch_is(bind_type)] schannel_bind_info u;
36         } schannel_bind;
37
38         /* a bind_ack blob */
39         typedef [public] struct {
40                 uint32 unknown1; /* 1 */
41                 uint32 unknown2; /* 0 */
42                 uint32 unknown3; /* 0x006c0000 */
43         } schannel_bind_ack;
44 }