summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-28 02:19:32 +0200
committerGünther Deschner <gd@samba.org>2010-05-31 11:32:37 +0200
commitf9f8007361583c1d38be7e15eeae6b58a09614b3 (patch)
treeff17caa67a9ae4c780011cf966c0f460516b5a71 /source3/smbd
parentc00407bd3589e9a459014ddb0efd986b15d2eecc (diff)
downloadsamba-f9f8007361583c1d38be7e15eeae6b58a09614b3.tar.gz
samba-f9f8007361583c1d38be7e15eeae6b58a09614b3.tar.bz2
samba-f9f8007361583c1d38be7e15eeae6b58a09614b3.zip
s3-build: only use ndr_security.h where needed.
Guenther
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/file_access.c1
-rw-r--r--source3/smbd/nttrans.c1
-rw-r--r--source3/smbd/open.c1
-rw-r--r--source3/smbd/smb2_create.c1
-rw-r--r--source3/smbd/trans2.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/source3/smbd/file_access.c b/source3/smbd/file_access.c
index 065f2b6c75..b487afb5e8 100644
--- a/source3/smbd/file_access.c
+++ b/source3/smbd/file_access.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "../librpc/gen_ndr/ndr_security.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_ACLS
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 84a20ae875..577a7e4076 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "smbd/globals.h"
+#include "../librpc/gen_ndr/ndr_security.h"
extern const struct generic_mapping file_generic_mapping;
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index ce69157df5..ca5b133ec6 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "smbd/globals.h"
#include "librpc/gen_ndr/messaging.h"
+#include "../librpc/gen_ndr/ndr_security.h"
extern const struct generic_mapping file_generic_mapping;
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index 77fd60795a..37acfac589 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "smbd/globals.h"
#include "../libcli/smb/smb_common.h"
+#include "../librpc/gen_ndr/ndr_security.h"
int map_smb2_oplock_levels_to_samba(uint8_t in_oplock_level)
{
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 4032120007..2c0bca939d 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -28,6 +28,7 @@
#include "smbd/globals.h"
#include "../libcli/auth/libcli_auth.h"
#include "../librpc/gen_ndr/xattr.h"
+#include "../librpc/gen_ndr/ndr_security.h"
#define DIR_ENTRY_SAFETY_MARGIN 4096