diff options
author | Günther Deschner <gd@samba.org> | 2008-03-27 12:03:20 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-03-27 13:06:43 +0100 |
commit | ad19eb4ab0dfed68edf23f89cb81000c5af701c7 (patch) | |
tree | f3b9b7299e07ee83e049315287b32fdb4111ab4a /source3/librpc/idl | |
parent | d470243c7498d5a12790b334f05a6e5588fc01d8 (diff) | |
download | samba-ad19eb4ab0dfed68edf23f89cb81000c5af701c7.tar.gz samba-ad19eb4ab0dfed68edf23f89cb81000c5af701c7.tar.bz2 samba-ad19eb4ab0dfed68edf23f89cb81000c5af701c7.zip |
Move netr_LogonLevel flags to IDL, rename old one to netr_LogonInfo.
Guenther
(This used to be commit 1fc98ee431d3ebe0c5d8bed55dcb788c16228ddd)
Diffstat (limited to 'source3/librpc/idl')
-rw-r--r-- | source3/librpc/idl/netlogon.idl | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/source3/librpc/idl/netlogon.idl b/source3/librpc/idl/netlogon.idl index 6a7f4207e2..a53fdfab66 100644 --- a/source3/librpc/idl/netlogon.idl +++ b/source3/librpc/idl/netlogon.idl @@ -140,7 +140,7 @@ interface netlogon [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]; @@ -250,13 +250,18 @@ interface netlogon 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 @@ -271,8 +276,8 @@ interface netlogon [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 ); @@ -1291,8 +1296,8 @@ interface netlogon 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, @@ -1364,8 +1369,8 @@ interface netlogon [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, |