s3-server_id: only include server_id where needed.
authorGünther Deschner <gd@samba.org>
Thu, 24 Feb 2011 22:05:57 +0000 (23:05 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 2 Mar 2011 11:12:31 +0000 (12:12 +0100)
Guenther

12 files changed:
source3/include/includes.h
source3/lib/messages.c
source3/locking/brlock.c
source3/locking/locking.c
source3/nmbd/nmbd.c
source3/printing/printing.c
source3/rpc_server/spoolss/srv_spoolss_nt.c
source3/smbd/negprot.c
source3/smbd/server.c
source3/smbd/server_exit.c
source3/utils/net_serverid.c
source3/winbindd/winbindd.c

index 18b53879add74b1c4ea40595d3ceee46fcf9088e..4894b6cbb857a498909cba42b193dff83d113de1 100644 (file)
@@ -629,7 +629,6 @@ extern void *cmdline_lp_ctx;
 #include "module.h"
 #include "packet.h"
 #include "../lib/util/talloc_stack.h"
-#include "serverid.h"
 #include "../lib/util/smb_threads.h"
 #include "../lib/util/smb_threads_internal.h"
 
index 41f67d07dbd2ef63a19f077490a1d36091ed2a59..1bf2cf868580a4c9ea46c7bfd754fceb954385ed 100644 (file)
@@ -49,6 +49,7 @@
 #include "librpc/gen_ndr/messaging.h"
 #include "librpc/gen_ndr/ndr_messaging.h"
 #include "dbwrap.h"
+#include "serverid.h"
 
 struct messaging_callback {
        struct messaging_callback *prev, *next;
index 3cb94871cc24e4ee4e6832d84821f12be0340f4a..3cf72ccaf60fa293eabcacaaef9dc9087bd02d71 100644 (file)
@@ -28,6 +28,7 @@
 #include "librpc/gen_ndr/messaging.h"
 #include "smbd/globals.h"
 #include "dbwrap.h"
+#include "serverid.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_LOCKING
index 00f384a13bd1477af1387f0569ca7efd6d513857..15c53d4161549fb9570723cb96a9d5ba2b07de25 100644 (file)
@@ -40,6 +40,7 @@
 #include "smbd/globals.h"
 #include "dbwrap.h"
 #include "../libcli/security/security.h"
+#include "serverid.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_LOCKING
index 2ed421246f92bd00d1a0eb6e5c02e94adef46a00..a5727ce14fe65590dad4a6fa5a3a22e928e48515 100644 (file)
@@ -23,6 +23,7 @@
 #include "popt_common.h"
 #include "librpc/gen_ndr/messaging.h"
 #include "nmbd/nmbd.h"
+#include "serverid.h"
 
 int ClientNMB       = -1;
 int ClientDGRAM     = -1;
index a89081432dfe3e4b3a58761e8219505197a8e573..b1aff3e6de8a2b2628e7d7e0cb2227171ce78694 100644 (file)
@@ -27,6 +27,7 @@
 #include "../librpc/gen_ndr/netlogon.h"
 #include "printing/notify.h"
 #include "printing/pcap.h"
+#include "serverid.h"
 
 extern struct current_user current_user;
 extern userdom_struct current_user_info;
index 510dde2cbde2061e0fa799fd506cea4b54816f18..dc036faf75fe914caccbd22f1f14c30637012dc7 100644 (file)
@@ -44,6 +44,7 @@
 #include "../librpc/gen_ndr/netlogon.h"
 #include "rpc_misc.h"
 #include "printing/notify.h"
+#include "serverid.h"
 
 /* macros stolen from s4 spoolss server */
 #define SPOOLSS_BUFFER_UNION(fn,info,level) \
index 9cc34d827deced3beaafa0148be2b4a772507a85..eb6dfa35a9c3de239a0e3b66eed1eec356aae0f7 100644 (file)
@@ -21,6 +21,7 @@
 #include "includes.h"
 #include "smbd/globals.h"
 #include "../libcli/auth/spnego.h"
+#include "serverid.h"
 
 extern fstring remote_proto;
 
index b1553028f4285fc09a7edd3d25bd046419c44987..c06eaa12e79834fc02df7e24794f108e2ad1a054 100644 (file)
@@ -35,6 +35,7 @@
 #include "rpc_server/rpc_ep_setup.h"
 #include "printing/pcap.h"
 #include "printing.h"
+#include "serverid.h"
 
 #ifdef WITH_DFS
 extern int dcelogin_atmost_once;
index 72bac8b1277f54c14733998d5c35c4151822cb59..c5cdc29380a9497431586d0d422dcc6d26190ac8 100644 (file)
@@ -42,6 +42,7 @@
 #include "../librpc/gen_ndr/srv_wkssvc.h"
 #include "printing/notify.h"
 #include "printing.h"
+#include "serverid.h"
 
 static struct files_struct *log_writeable_file_fn(
        struct files_struct *fsp, void *private_data)
index ab4da1d26bcd35f9a07472aaa9d42bb83699f405..b2172da0388bb151801e42a377e60b3cb65178d8 100644 (file)
@@ -20,6 +20,7 @@
 #include "includes.h"
 #include "utils/net.h"
 #include "dbwrap.h"
+#include "serverid.h"
 
 static int net_serverid_list_fn(const struct server_id *id,
                                uint32_t msg_flags, void *priv)
index d9a302cbc3b61e1c5242c457ab6dbb1ece983f7c..a9ff410f5245086f877fe81b6d2af4973f114757 100644 (file)
@@ -33,6 +33,7 @@
 #include "secrets.h"
 #include "idmap.h"
 #include "lib/addrchange.h"
+#include "serverid.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_WINBIND