From e48ed74f4a2fe490d70c444dca3aa9419409579f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 31 Jul 2006 15:38:18 +0000 Subject: r17342: implement a SamLogon via IRPC in samba4's winbind metze (This used to be commit c3ce7a0c3708f0c8e784404e86034f7a00685f88) --- source4/librpc/idl/winbind.idl | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 source4/librpc/idl/winbind.idl (limited to 'source4/librpc/idl/winbind.idl') diff --git a/source4/librpc/idl/winbind.idl b/source4/librpc/idl/winbind.idl new file mode 100644 index 0000000000..c3f54e0132 --- /dev/null +++ b/source4/librpc/idl/winbind.idl @@ -0,0 +1,40 @@ +/* + winbind IRPC interface +*/ + +#include "idl_types.h" + +[ + uuid("245f3e6b-3c5d-6e21-3a2d-2a3d645b7221"), + version(1.0), + pointer_default(unique), + pointer_default_top(unique), + depends(netlogon) +] + +interface winbind +{ + declare [switch_type(uint16)] union netr_LogonLevel; + declare [switch_type(uint16)] union netr_Validation; + + /* a call to get runtime informations */ + void winbind_information(/* TODO */); + + /* + * a call to trigger some internal events, + * for use in torture tests... + */ + NTSTATUS winbind_remote_control(/* TODO */); + + /* + * do a netr_LogonSamLogon() against the right DC + */ + NTSTATUS winbind_SamLogon( + [in] uint16 logon_level, + [in] [switch_is(logon_level)] netr_LogonLevel logon, + [in] uint16 validation_level, + [out] [switch_is(validation_level)] netr_Validation validation, + [out] uint8 authoritative, + [in,out] uint32 flags + ); +} -- cgit