summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-05-20 13:32:25 +0200
committerGünther Deschner <gd@samba.org>2009-05-20 13:35:05 +0200
commit9a13af9a994e385a5966eed7cdf3a2add00f8f08 (patch)
tree444583162df01fddfb16d5a0369234189fb448a6 /librpc
parent4b21ad9db7babb1e278fa2e3b81737b6df36e2d2 (diff)
downloadsamba-9a13af9a994e385a5966eed7cdf3a2add00f8f08.tar.gz
s4: try to fix privileges implementation in order to pass the RPC-SAMR-USERS-PRIVILEGES test.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/gen_ndr/security.h4
-rw-r--r--librpc/idl/security.idl3
2 files changed, 5 insertions, 2 deletions
diff --git a/librpc/gen_ndr/security.h b/librpc/gen_ndr/security.h
index 32ea2eaacd9..f90dd413a8f 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 caad08e9544..825ce96d712 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;