r17342: implement a SamLogon via IRPC in samba4's winbind
[jelmer/samba4-debian.git] / source / librpc / idl / winbind.idl
1 /*
2   winbind IRPC interface
3 */
4
5 #include "idl_types.h"
6
7 [
8   uuid("245f3e6b-3c5d-6e21-3a2d-2a3d645b7221"),
9   version(1.0),
10   pointer_default(unique),
11   pointer_default_top(unique),
12   depends(netlogon)
13 ]
14
15 interface winbind
16 {
17         declare [switch_type(uint16)] union netr_LogonLevel;
18         declare [switch_type(uint16)] union netr_Validation;
19
20         /* a call to get runtime informations */
21         void winbind_information(/* TODO */);
22
23         /* 
24          * a call to trigger some internal events,
25          * for use in torture tests...
26          */
27         NTSTATUS winbind_remote_control(/* TODO */);
28
29         /*
30          * do a netr_LogonSamLogon() against the right DC
31          */
32         NTSTATUS winbind_SamLogon(
33                 [in]  uint16 logon_level,
34                 [in]  [switch_is(logon_level)] netr_LogonLevel logon,
35                 [in]  uint16 validation_level,
36                 [out] [switch_is(validation_level)] netr_Validation validation,
37                 [out] uint8 authoritative,
38                 [in,out] uint32 flags
39         );
40 }