summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-05 02:53:39 +0100
committerGünther Deschner <gd@samba.org>2009-02-05 02:55:46 +0100
commit7435b877c7969a72b6b17d3ce4df87c5629882b8 (patch)
treec3d4e1683df179311b07e9173a4f1eb9fa40d07c /librpc
parente7c09d8b105d8182e7ae3948a664169dc13198e9 (diff)
downloadsamba-7435b877c7969a72b6b17d3ce4df87c5629882b8.tar.gz
samba-7435b877c7969a72b6b17d3ce4df87c5629882b8.tar.bz2
samba-7435b877c7969a72b6b17d3ce4df87c5629882b8.zip
s3-lsa: fix the build.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/gen_ndr/lsa.h2
-rw-r--r--librpc/idl/lsa.idl2
2 files changed, 2 insertions, 2 deletions
diff --git a/librpc/gen_ndr/lsa.h b/librpc/gen_ndr/lsa.h
index 00fa1230e1..03a0464d5b 100644
--- a/librpc/gen_ndr/lsa.h
+++ b/librpc/gen_ndr/lsa.h
@@ -9,7 +9,7 @@
#define LSA_POLICY_ALL_ACCESS ( (STANDARD_RIGHTS_REQUIRED_ACCESS|LSA_POLICY_VIEW_LOCAL_INFORMATION|LSA_POLICY_VIEW_AUDIT_INFORMATION|LSA_POLICY_GET_PRIVATE_INFORMATION|LSA_POLICY_TRUST_ADMIN|LSA_POLICY_CREATE_ACCOUNT|LSA_POLICY_CREATE_SECRET|LSA_POLICY_CREATE_PRIVILEGE|LSA_POLICY_SET_DEFAULT_QUOTA_LIMITS|LSA_POLICY_SET_AUDIT_REQUIREMENTS|LSA_POLICY_AUDIT_LOG_ADMIN|LSA_POLICY_SERVER_ADMIN|LSA_POLICY_LOOKUP_NAMES) )
#define LSA_POLICY_READ ( (STANDARD_RIGHTS_READ_ACCESS|LSA_POLICY_VIEW_LOCAL_INFORMATION|LSA_POLICY_VIEW_AUDIT_INFORMATION|LSA_POLICY_GET_PRIVATE_INFORMATION) )
-#define LSA_POLICY_WRITE ( (STD_RIGHT_READ_CONTROL_ACCESS|LSA_POLICY_TRUST_ADMIN|LSA_POLICY_CREATE_ACCOUNT|LSA_POLICY_CREATE_SECRET|LSA_POLICY_CREATE_PRIVILEGE|LSA_POLICY_SET_DEFAULT_QUOTA_LIMITS|LSA_POLICY_SET_AUDIT_REQUIREMENTS|LSA_POLICY_AUDIT_LOG_ADMIN|LSA_POLICY_SERVER_ADMIN) )
+#define LSA_POLICY_WRITE ( (STANDARD_RIGHTS_READ_ACCESS|LSA_POLICY_TRUST_ADMIN|LSA_POLICY_CREATE_ACCOUNT|LSA_POLICY_CREATE_SECRET|LSA_POLICY_CREATE_PRIVILEGE|LSA_POLICY_SET_DEFAULT_QUOTA_LIMITS|LSA_POLICY_SET_AUDIT_REQUIREMENTS|LSA_POLICY_AUDIT_LOG_ADMIN|LSA_POLICY_SERVER_ADMIN) )
#define LSA_POLICY_EXECUTE ( (STANDARD_RIGHTS_EXECUTE_ACCESS|LSA_POLICY_VIEW_LOCAL_INFORMATION|LSA_POLICY_LOOKUP_NAMES) )
#define LSA_ENUM_TRUST_DOMAIN_MULTIPLIER ( 60 )
#define LSA_REF_DOMAIN_LIST_MULTIPLIER ( 32 )
diff --git a/librpc/idl/lsa.idl b/librpc/idl/lsa.idl
index afe613d412..ea787b2c7d 100644
--- a/librpc/idl/lsa.idl
+++ b/librpc/idl/lsa.idl
@@ -165,7 +165,7 @@ import "misc.idl", "security.idl";
LSA_POLICY_GET_PRIVATE_INFORMATION);
const int LSA_POLICY_WRITE =
- (STD_RIGHT_READ_CONTROL_ACCESS |
+ (STANDARD_RIGHTS_READ_ACCESS |
LSA_POLICY_TRUST_ADMIN |
LSA_POLICY_CREATE_ACCOUNT |
LSA_POLICY_CREATE_SECRET |