summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcli/security/privileges.c (renamed from source3/lib/privileges_basic.c)1
-rw-r--r--libcli/security/privileges.h (renamed from source3/include/privileges.h)8
-rw-r--r--source3/Makefile.in2
-rw-r--r--source3/include/includes.h2
4 files changed, 6 insertions, 7 deletions
diff --git a/source3/lib/privileges_basic.c b/libcli/security/privileges.c
index aa723a4199..ca2b4fef8d 100644
--- a/source3/lib/privileges_basic.c
+++ b/libcli/security/privileges.c
@@ -455,4 +455,3 @@ bool privilege_set_to_se_priv( uint64_t *privilege_mask, struct lsa_PrivilegeSet
return True;
}
-
diff --git a/source3/include/privileges.h b/libcli/security/privileges.h
index 0bc085c166..6c2a6bf219 100644
--- a/source3/include/privileges.h
+++ b/libcli/security/privileges.h
@@ -1,5 +1,5 @@
-/*
+/*
Unix SMB/CIFS implementation.
SMB parameters and setup
Copyright (C) Andrew Tridgell 1992-1997
@@ -8,17 +8,17 @@
Copyright (C) Simo Sorce 2003
Copyright (C) Gerald (Jerry) Carter 2005
Copyright (C) Andrew Bartlett 2010
-
+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 63345edea9..321eb3cf33 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -728,7 +728,7 @@ RPC_CLIENT_SCHANNEL_OBJ = rpc_client/cli_pipe_schannel.o
LOCKING_OBJ = locking/locking.o locking/brlock.o locking/posix.o
-PRIVILEGES_BASIC_OBJ = lib/privileges_basic.o
+PRIVILEGES_BASIC_OBJ = ../libcli/security/privileges.o
PRIVILEGES_OBJ = lib/privileges.o
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 478c633d62..2e45b7964d 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -634,7 +634,7 @@ extern void *cmdline_lp_ctx;
#include "../lib/util/charset/charset.h"
#include "dynconfig.h"
#include "debugparse.h"
-#include "privileges.h"
+#include "../libcli/security/privileges.h"
#include "messages.h"
#include "locking.h"
#include "smb_perfcount.h"