summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-04-14 00:36:23 +0200
committerGünther Deschner <gd@samba.org>2011-04-14 01:31:39 +0200
commit165521e20d8aea1e35cc68e39ced57de64f8e560 (patch)
treeffd267165125021325bd46958d212b83679665e2 /source3/smbd
parent1b4d27d45a55c66ed20de64c2fe299583a710ddd (diff)
downloadsamba-165521e20d8aea1e35cc68e39ced57de64f8e560.tar.gz
samba-165521e20d8aea1e35cc68e39ced57de64f8e560.tar.bz2
samba-165521e20d8aea1e35cc68e39ced57de64f8e560.zip
s3: only include smb profiling where needed.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/fileio.c1
-rw-r--r--source3/smbd/ipc.c1
-rw-r--r--source3/smbd/message.c1
-rw-r--r--source3/smbd/negprot.c1
-rw-r--r--source3/smbd/nttrans.c1
-rw-r--r--source3/smbd/process.c1
-rw-r--r--source3/smbd/reply.c1
-rw-r--r--source3/smbd/sec_ctx.c1
-rw-r--r--source3/smbd/server.c1
-rw-r--r--source3/smbd/sesssetup.c1
-rw-r--r--source3/smbd/smb2_server.c1
-rw-r--r--source3/smbd/statcache.c1
-rw-r--r--source3/smbd/trans2.c1
13 files changed, 13 insertions, 0 deletions
diff --git a/source3/smbd/fileio.c b/source3/smbd/fileio.c
index 460eeac33a..16d8853b54 100644
--- a/source3/smbd/fileio.c
+++ b/source3/smbd/fileio.c
@@ -23,6 +23,7 @@
#include "printing.h"
#include "smbd/smbd.h"
#include "smbd/globals.h"
+#include "smbprofile.h"
static bool setup_write_cache(files_struct *, SMB_OFF_T);
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index 3fd42954f9..4f2fea5265 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -27,6 +27,7 @@
#include "includes.h"
#include "smbd/smbd.h"
#include "smbd/globals.h"
+#include "smbprofile.h"
#define NERR_notsupported 50
diff --git a/source3/smbd/message.c b/source3/smbd/message.c
index 1a6e9c8b13..34997a13dc 100644
--- a/source3/smbd/message.c
+++ b/source3/smbd/message.c
@@ -25,6 +25,7 @@
#include "includes.h"
#include "smbd/smbd.h"
#include "smbd/globals.h"
+#include "smbprofile.h"
extern userdom_struct current_user_info;
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index d307c210c2..6877ccc861 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -25,6 +25,7 @@
#include "serverid.h"
#include "auth.h"
#include "messages.h"
+#include "smbprofile.h"
extern fstring remote_proto;
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 2dd5715c89..e1358c6e55 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -28,6 +28,7 @@
#include "passdb/lookup_sid.h"
#include "auth.h"
#include "ntioctl.h"
+#include "smbprofile.h"
extern const struct generic_mapping file_generic_mapping;
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index f290e1d82b..93f29e57b6 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -31,6 +31,7 @@
#include "passdb.h"
#include "auth.h"
#include "messages.h"
+#include "smbprofile.h"
extern bool global_machine_password_needs_changing;
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index cc02ae29dc..96595223a6 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -38,6 +38,7 @@
#include "libcli/security/security.h"
#include "libsmb/nmblib.h"
#include "auth.h"
+#include "smbprofile.h"
/****************************************************************************
Ensure we check the path in *exactly* the same way as W2K for a findfirst/findnext
diff --git a/source3/smbd/sec_ctx.c b/source3/smbd/sec_ctx.c
index 8da1db41f4..f8c8847a60 100644
--- a/source3/smbd/sec_ctx.c
+++ b/source3/smbd/sec_ctx.c
@@ -22,6 +22,7 @@
#include "smbd/globals.h"
#include "libcli/security/security_token.h"
#include "auth.h"
+#include "smbprofile.h"
extern struct current_user current_user;
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 1948077c1f..d3c6c1884f 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -40,6 +40,7 @@
#include "passdb.h"
#include "auth.h"
#include "messages.h"
+#include "smbprofile.h"
extern void start_epmd(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx);
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 5067201a65..3cf6758e29 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -33,6 +33,7 @@
#include "../lib/util/asn1.h"
#include "auth.h"
#include "messages.h"
+#include "smbprofile.h"
/* For split krb5 SPNEGO blobs. */
struct pending_auth_data {
diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index 50505e7730..0004e7ca8c 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -24,6 +24,7 @@
#include "smbd/globals.h"
#include "../libcli/smb/smb_common.h"
#include "../lib/tsocket/tsocket.h"
+#include "smbprofile.h"
#define OUTVEC_ALLOC_SIZE (SMB2_HDR_BODY + 9)
diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c
index 40174c8034..5c74b92855 100644
--- a/source3/smbd/statcache.c
+++ b/source3/smbd/statcache.c
@@ -24,6 +24,7 @@
#include "memcache.h"
#include "smbd/smbd.h"
#include "messages.h"
+#include "smbprofile.h"
/****************************************************************************
Stat cache code used in unix_convert.
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index fe06538246..507ae9ba93 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -34,6 +34,7 @@
#include "libcli/security/security.h"
#include "trans2.h"
#include "auth.h"
+#include "smbprofile.h"
#define DIR_ENTRY_SAFETY_MARGIN 4096