summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/includes.h1
-rw-r--r--source3/include/rpc_secdes.h27
-rw-r--r--source3/libads/disp_sec.c3
3 files changed, 3 insertions, 28 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index de1d419544..02a8494b51 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -649,7 +649,6 @@ extern void *cmdline_lp_ctx;
#include "rpc_dce.h"
#include "mapping.h"
#include "passdb.h"
-#include "rpc_secdes.h"
#include "msdfs.h"
struct ntlmssp_state;
diff --git a/source3/include/rpc_secdes.h b/source3/include/rpc_secdes.h
deleted file mode 100644
index d14a95b17b..0000000000
--- a/source3/include/rpc_secdes.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- Unix SMB/CIFS implementation.
- SMB parameters and setup
- Copyright (C) Andrew Tridgell 1992-2000
- Copyright (C) Luke Kenneth Casson Leighton 1996-2000
-
- 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/>.
-*/
-
-#ifndef _RPC_SECDES_H /* _RPC_SECDES_H */
-#define _RPC_SECDES_H
-
-/* for ADS */
-#define SEC_RIGHTS_FULL_CTRL 0xf01ff
-
-#endif /* _RPC_SECDES_H */
diff --git a/source3/libads/disp_sec.c b/source3/libads/disp_sec.c
index ad07ffc465..89baaf2bde 100644
--- a/source3/libads/disp_sec.c
+++ b/source3/libads/disp_sec.c
@@ -19,6 +19,9 @@
#include "includes.h"
+/* for ADS */
+#define SEC_RIGHTS_FULL_CTRL 0xf01ff
+
#ifdef HAVE_LDAP
static struct perm_mask_str {