[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1710-g9a13af9

Günther Deschner gd at samba.org
Wed May 20 11:44:37 GMT 2009


The branch, master has been updated
       via  9a13af9a994e385a5966eed7cdf3a2add00f8f08 (commit)
      from  4b21ad9db7babb1e278fa2e3b81737b6df36e2d2 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 9a13af9a994e385a5966eed7cdf3a2add00f8f08
Author: Günther Deschner <gd at samba.org>
Date:   Wed May 20 13:32:25 2009 +0200

    s4: try to fix privileges implementation in order to pass the RPC-SAMR-USERS-PRIVILEGES test.
    
    Guenther

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

Summary of changes:
 librpc/gen_ndr/security.h           |    4 +++-
 librpc/idl/security.idl             |    3 ++-
 source4/libcli/security/privilege.c |    6 +++++-
 3 files changed, 10 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/librpc/gen_ndr/security.h b/librpc/gen_ndr/security.h
index 32ea2ea..f90dd41 100644
--- a/librpc/gen_ndr/security.h
+++ b/librpc/gen_ndr/security.h
@@ -166,7 +166,8 @@ enum sec_privilege
 	SEC_PRIV_ENABLE_DELEGATION=21,
 	SEC_PRIV_INTERACTIVE_LOGON=22,
 	SEC_PRIV_NETWORK_LOGON=23,
-	SEC_PRIV_REMOTE_INTERACTIVE_LOGON=24
+	SEC_PRIV_REMOTE_INTERACTIVE_LOGON=24,
+	SEC_PRIV_MACHINE_ACCOUNT=25
 }
 #else
  { __donnot_use_enum_sec_privilege=0x7FFFFFFF}
@@ -194,6 +195,7 @@ enum sec_privilege
 #define SEC_PRIV_INTERACTIVE_LOGON ( 22 )
 #define SEC_PRIV_NETWORK_LOGON ( 23 )
 #define SEC_PRIV_REMOTE_INTERACTIVE_LOGON ( 24 )
+#define SEC_PRIV_MACHINE_ACCOUNT ( 25 )
 #endif
 ;
 
diff --git a/librpc/idl/security.idl b/librpc/idl/security.idl
index caad08e..825ce96 100644
--- a/librpc/idl/security.idl
+++ b/librpc/idl/security.idl
@@ -261,7 +261,8 @@ interface security
 		SEC_PRIV_ENABLE_DELEGATION         = 21,
 		SEC_PRIV_INTERACTIVE_LOGON         = 22,
 		SEC_PRIV_NETWORK_LOGON             = 23,
-		SEC_PRIV_REMOTE_INTERACTIVE_LOGON  = 24
+		SEC_PRIV_REMOTE_INTERACTIVE_LOGON  = 24,
+		SEC_PRIV_MACHINE_ACCOUNT           = 25
 	} sec_privilege;
 
 
diff --git a/source4/libcli/security/privilege.c b/source4/libcli/security/privilege.c
index 2cbef13..2ebc1dc 100644
--- a/source4/libcli/security/privilege.c
+++ b/source4/libcli/security/privilege.c
@@ -123,7 +123,11 @@ static const struct {
 
 	{SEC_PRIV_REMOTE_INTERACTIVE_LOGON,   
 	 "SeRemoteInteractiveLogonRight",
-	"Remote Interactive logon"}
+	"Remote Interactive logon"},
+
+	{SEC_PRIV_MACHINE_ACCOUNT,
+	 "SeMachineAccountPrivilege",
+	"Add workstations to domain"}
 };
 
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list