8c72742f88107e9f2d607905b6452c476b69122e
[samba.git] / source / 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 workstation;
19         } schannel_bind_3;
20
21         typedef struct {
22                 astring domain;
23                 astring workstation;
24                 nbt_string dnsdomain;
25                 nbt_string dnsworkstation;
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 }