[case(3)] netr_PasswordInfo *password;
[case(5)] netr_PasswordInfo *password;
[case(6)] netr_NetworkInfo *network;
- } netr_LogonLevel;
+ } netr_LogonInfo;
typedef [public,flag(NDR_PAHEX)] struct {
uint8 key[16];
time_t timestamp;
} netr_Authenticator;
+ typedef enum {
+ INTERACTIVE_LOGON_TYPE = 1,
+ NET_LOGON_TYPE = 2
+ } netr_LogonLevel;
+
NTSTATUS netr_LogonSamLogon(
[in,unique] [string,charset(UTF16)] uint16 *server_name,
[in,unique] [string,charset(UTF16)] uint16 *computer_name,
[in,unique] netr_Authenticator *credential,
[in,out,unique] netr_Authenticator *return_authenticator,
- [in] uint16 logon_level,
- [in,ref] [switch_is(logon_level)] netr_LogonLevel *logon,
+ [in] netr_LogonLevel logon_level,
+ [in,ref] [switch_is(logon_level)] netr_LogonInfo *logon,
[in] uint16 validation_level,
[out,ref] [switch_is(validation_level)] netr_Validation *validation,
[out,ref] uint8 *authoritative
[in,unique] [string,charset(UTF16)] uint16 *computer_name,
[in,unique] netr_Authenticator *credential,
[in,out,unique] netr_Authenticator *return_authenticator,
- [in] uint16 logon_level,
- [in] [switch_is(logon_level)] netr_LogonLevel logon
+ [in] netr_LogonLevel logon_level,
+ [in] [switch_is(logon_level)] netr_LogonInfo logon
);
NTSTATUS netr_LogonSamLogonEx(
[in,unique] [string,charset(UTF16)] uint16 *server_name,
[in,unique] [string,charset(UTF16)] uint16 *computer_name,
- [in] uint16 logon_level,
- [in,ref] [switch_is(logon_level)] netr_LogonLevel *logon,
+ [in] netr_LogonLevel logon_level,
+ [in,ref] [switch_is(logon_level)] netr_LogonInfo *logon,
[in] uint16 validation_level,
[out,ref] [switch_is(validation_level)] netr_Validation *validation,
[out,ref] uint8 *authoritative,
[in,unique] [string,charset(UTF16)] uint16 *computer_name,
[in,unique] netr_Authenticator *credential,
[in,out,unique] netr_Authenticator *return_authenticator,
- [in] uint16 logon_level,
- [in] [switch_is(logon_level)] netr_LogonLevel logon,
+ [in] netr_LogonLevel logon_level,
+ [in] [switch_is(logon_level)] netr_LogonInfo logon,
[in] uint16 validation_level,
[out,ref] [switch_is(validation_level)] netr_Validation *validation,
[out,ref] uint8 *authoritative,