From 6f7875abee6d3bbd08ca8d07ea8894d700300d6b Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 27 Mar 2008 11:58:19 +0100 Subject: Move inline comment about MSV1_0 flags to IDL. Guenther (This used to be commit b22167fb608d3948f1473a5f3dee9e8d18e282e3) --- source3/include/rpc_netlogon.h | 18 ------------------ source3/librpc/idl/netlogon.idl | 11 +++++++++++ 2 files changed, 11 insertions(+), 18 deletions(-) (limited to 'source3') diff --git a/source3/include/rpc_netlogon.h b/source3/include/rpc_netlogon.h index cd88ffef59..239fe0f7c6 100644 --- a/source3/include/rpc_netlogon.h +++ b/source3/include/rpc_netlogon.h @@ -33,24 +33,6 @@ #define LOGON_KRB5_FAIL_CLOCK_SKEW 0x02000000 -/* Flags for controlling the behaviour of a particular logon */ - -/* sets NETLOGON_SERVER_TRUST_ACCOUNT user_flag */ -#if 0 -#define MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT 0x00000020 -#define MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT 0x00000800 - -/* updates the "logon time" on network logon */ -#define MSV1_0_UPDATE_LOGON_STATISTICS 0x00000004 - -/* returns the user parameters in the driveletter */ -#define MSV1_0_RETURN_USER_PARAMETERS 0x00000008 - -/* returns the profilepath in the driveletter and - * sets LOGON_PROFILE_PATH_RETURNED user_flag */ -#define MSV1_0_RETURN_PROFILE_PATH 0x00000200 -#endif - #define INTERACTIVE_LOGON_TYPE 1 #define NET_LOGON_TYPE 2 diff --git a/source3/librpc/idl/netlogon.idl b/source3/librpc/idl/netlogon.idl index 60be98945d..b1c5b12efc 100644 --- a/source3/librpc/idl/netlogon.idl +++ b/source3/librpc/idl/netlogon.idl @@ -86,6 +86,17 @@ interface netlogon [size_is(size/2),length_is(length/2)] uint16 *bindata; } netr_AcctLockStr; + /* - MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT + * sets the NETLOGON_SERVER_TRUST_ACCOUNT user_flag + * - MSV1_0_UPDATE_LOGON_STATISTICS + * sets the logon time on network logon + * - MSV1_0_RETURN_USER_PARAMETERS + * sets the user parameters in the driveletter + * - MSV1_0_RETURN_PROFILE_PATH + * returns the profilepath in the driveletter and + * sets LOGON_PROFILE_PATH_RETURNED user_flag + */ + typedef [public,bitmap32bit] bitmap { MSV1_0_CLEARTEXT_PASSWORD_ALLOWED = 0x00000002, MSV1_0_UPDATE_LOGON_STATISTICS = 0x00000004, -- cgit