r3428: switched to using minimal includes for the auto-generated RPC code.
[metze/samba/wip.git] / source4 / librpc / idl / schannel.idl
1 #include "idl_types.h"
2
3 /*
4   schannel structures
5 */
6
7 [
8         depends(netlogon)
9 ]
10 interface schannel
11 {
12         /*
13           a schannel bind blob - used in dcerpc auth_info
14           on a schannel
15         */
16         typedef struct {
17                 astring domain;
18                 astring account_name;
19         } schannel_bind_3;
20
21         typedef struct {
22                 astring domain;
23                 astring account_name;
24                 astring dnsdomain; /* in NBT dotted format */
25                 astring workstation;
26         } schannel_bind_23;
27
28         typedef [nodiscriminant] union {
29                 [case (3)]  schannel_bind_3  info3;
30                 [case (23)] schannel_bind_23 info23;
31         } schannel_bind_info;
32
33         typedef [public] struct {
34                 uint32 unknown1; /* seems to need to be 0 */
35                 uint32 bind_type;
36                 [switch_is(bind_type)] schannel_bind_info u;
37         } schannel_bind;
38
39         /* a bind_ack blob */
40         typedef [public] struct {
41                 uint32 unknown1; /* 1 */
42                 uint32 unknown2; /* 0 */
43                 uint32 unknown3; /* 0x006c0000 */
44         } schannel_bind_ack;
45 }