summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-26 11:32:12 +0100
committerGünther Deschner <gd@samba.org>2008-03-26 12:17:16 +0100
commitce8da6978e15a94cfb843cc7787b12c4fa38df31 (patch)
tree8a7ecc5edd8d3e79b5b73aa5fdfbcb8bb527d70f
parente57c3a7bfc193d347e1b1552e23573ff3c4fc1e2 (diff)
downloadsamba-ce8da6978e15a94cfb843cc7787b12c4fa38df31.tar.gz
samba-ce8da6978e15a94cfb843cc7787b12c4fa38df31.tar.bz2
samba-ce8da6978e15a94cfb843cc7787b12c4fa38df31.zip
Comment out some svcctl headers which are now defined in IDL.
Guenther (This used to be commit 2201a8118c6abae3425dd5728af129bb8f71b564)
-rw-r--r--source3/include/rpc_secdes.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/include/rpc_secdes.h b/source3/include/rpc_secdes.h
index 649e8069df..83103b7386 100644
--- a/source3/include/rpc_secdes.h
+++ b/source3/include/rpc_secdes.h
@@ -394,6 +394,7 @@ struct standard_mapping {
/* Service Control Manager Bits */
+#if 0
#define SC_RIGHT_MGR_CONNECT 0x0001
#define SC_RIGHT_MGR_CREATE_SERVICE 0x0002
#define SC_RIGHT_MGR_ENUMERATE_SERVICE 0x0004
@@ -401,6 +402,8 @@ struct standard_mapping {
#define SC_RIGHT_MGR_QUERY_LOCK_STATUS 0x0010
#define SC_RIGHT_MGR_MODIFY_BOOT_CONFIG 0x0020
+#endif
+
#define SC_MANAGER_READ_ACCESS \
( STANDARD_RIGHTS_READ_ACCESS | \
SC_RIGHT_MGR_CONNECT | \
@@ -418,8 +421,9 @@ struct standard_mapping {
#define SC_MANAGER_ALL_ACCESS SC_MANAGER_WRITE_ACCESS
-/* Service Object Bits */
+/* Service Object Bits */
+#if 0
#define SC_RIGHT_SVC_QUERY_CONFIG 0x0001
#define SC_RIGHT_SVC_CHANGE_CONFIG 0x0002
#define SC_RIGHT_SVC_QUERY_STATUS 0x0004
@@ -430,6 +434,8 @@ struct standard_mapping {
#define SC_RIGHT_SVC_INTERROGATE 0x0080
#define SC_RIGHT_SVC_USER_DEFINED_CONTROL 0x0100
+#endif
+
#define SERVICE_READ_ACCESS \
( STANDARD_RIGHTS_READ_ACCESS | \
SC_RIGHT_SVC_ENUMERATE_DEPENDENTS | \
@@ -452,8 +458,6 @@ struct standard_mapping {
#define SERVICE_ALL_ACCESS SERVICE_WRITE_ACCESS
-
-
/*
* Access Bits for registry ACLS
*/