summaryrefslogtreecommitdiff
path: root/source3/sam
diff options
context:
space:
mode:
Diffstat (limited to 'source3/sam')
-rw-r--r--source3/sam/gums.c2
-rw-r--r--source3/sam/gums_tdbsam2.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/source3/sam/gums.c b/source3/sam/gums.c
index ab374b9342..91009f8b5d 100644
--- a/source3/sam/gums.c
+++ b/source3/sam/gums.c
@@ -58,6 +58,7 @@
static GUMS_FUNCTIONS *gums_backend = NULL;
+#if 0
static PRIVS gums_privs[] = {
{PRIV_NONE, "no_privs", "No privilege"}, /* this one MUST be first */
{PRIV_CREATE_TOKEN, "SeCreateToken", "Create Token"},
@@ -88,6 +89,7 @@ static PRIVS gums_privs[] = {
{PRIV_ENABLE_DELEGATION, "SeEnableDelegation", "Enable Delegation"},
{PRIV_ALL, "SaAllPrivs", "All Privileges"}
};
+#endif
static struct gums_init_function_entry *backends = NULL;
diff --git a/source3/sam/gums_tdbsam2.c b/source3/sam/gums_tdbsam2.c
index 82e3923f7c..217cf6f34e 100644
--- a/source3/sam/gums_tdbsam2.c
+++ b/source3/sam/gums_tdbsam2.c
@@ -22,7 +22,9 @@
#include "tdbsam2.h"
#include "tdbsam2_parse_info.h"
+#if 0
static int gums_tdbsam2_debug_class = DBGC_ALL;
+#endif
/*
#undef DBGC_CLASS
#define DBGC_CLASS gums_tdbsam2_debug_class
@@ -1182,6 +1184,7 @@ static NTSTATUS tdbsam2_set_object(const GUMS_OBJECT *go)
return ret;
}
+#if 0
/* set object values function */
static NTSTATUS (*set_object_values) (DOM_SID *sid, uint32 count, GUMS_DATA_SET *data_set);
@@ -1203,6 +1206,7 @@ static NTSTATUS (*enumerate_privilege_members) (DOM_SID **members, const LUID_AT
static NTSTATUS (*get_sid_privileges) (DOM_SID **privs, const DOM_SID *sid);
/* warning!: set_privilege will overwrite a prior existing privilege if such exist */
static NTSTATUS (*set_privilege) (GUMS_PRIVILEGE *priv);
+#endif
static void free_tdbsam2_private_data(void **vp)
{