[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha2-544-g7222edb

Stefan Metzmacher metze at samba.org
Thu Jan 24 12:54:00 GMT 2008


The branch, v4-0-test has been updated
       via  7222edb9cde5cdeb9d065e890775a7254b26648f (commit)
      from  6d68161e676d381600c77c3f862bd7e013968724 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 7222edb9cde5cdeb9d065e890775a7254b26648f
Author: Stefan Metzmacher <metze at samba.org>
Date:   Thu Jan 24 13:52:47 2008 +0100

    netlogon.idl: add some MSV1_0_ values from samba3 and use a bitmap32
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source/librpc/idl/netlogon.idl |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/librpc/idl/netlogon.idl b/source/librpc/idl/netlogon.idl
index 63e7aaf..3e4d46d 100644
--- a/source/librpc/idl/netlogon.idl
+++ b/source/librpc/idl/netlogon.idl
@@ -87,13 +87,18 @@ interface netlogon
 		[size_is(size/2),length_is(length/2)] uint16 *bindata;
 	} netr_AcctLockStr;
 
-	const int MSV1_0_CLEARTEXT_PASSWORD_ALLOWED = 0x002;
-	const int MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT = 0x020;
-	const int MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT = 0x800;
+	typedef [public,bitmap32bit] bitmap {
+		MSV1_0_CLEARTEXT_PASSWORD_ALLOWED	= 0x00000002,
+		MSV1_0_UPDATE_LOGON_STATISTICS		= 0x00000004,
+		MSV1_0_RETURN_USER_PARAMETERS		= 0x00000008,
+		MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT	= 0x00000020,
+		MSV1_0_RETURN_PROFILE_PATH		= 0x00000200,
+		MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT	= 0x00000800
+	} netr_LogonParameterControl;
 
 	typedef struct {
 		lsa_String  domain_name;
-		uint32      parameter_control; /* see MSV1_0_* */
+		netr_LogonParameterControl parameter_control; /* see MSV1_0_* */
 		uint32      logon_id_low;
 		uint32      logon_id_high;
 		lsa_String  account_name;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list