[SCM] Samba Shared Repository - branch master updated

Günther Deschner gd at samba.org
Wed May 5 16:24:25 MDT 2010


The branch, master has been updated
       via  c6ebab8... s3: only include gen_ndr headers where needed.
      from  d6a6362... Get closer to passing SMB2 lock test. Still crashes but we get further.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit c6ebab846d25563d051b1a1248ea288ba7eb0bcb
Author: Günther Deschner <gd at samba.org>
Date:   Wed May 5 01:39:16 2010 +0200

    s3: only include gen_ndr headers where needed.
    
    This shrinks include/includes.h.gch by the size of 7 MB and reduces build time
    as follows:
    
    ccache build w/o patch
    real    4m21.529s
    ccache build with patch
    real    3m6.402s
    
    pch build w/o patch
    real    4m26.318s
    pch build with patch
    real    3m6.932s
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source3/auth/auth_domain.c          |    1 +
 source3/auth/auth_netlogond.c       |    1 +
 source3/include/includes.h          |    5 -----
 source3/include/ntlmssp.h           |    2 ++
 source3/include/proto.h             |   18 ------------------
 source3/include/smb.h               |   23 -----------------------
 source3/lib/debug.c                 |    1 +
 source3/lib/dmallocmsg.c            |    1 +
 source3/lib/g_lock.c                |    1 +
 source3/lib/netapi/getdc.c          |    1 -
 source3/lib/netapi/serverinfo.c     |    1 -
 source3/lib/tallocmsg.c             |    1 +
 source3/libads/ndr.c                |    1 +
 source3/libnet/libnet_dssync.h      |    3 +++
 source3/libnet/libnet_join.c        |    1 +
 source3/libsmb/clidgram.c           |    1 +
 source3/libsmb/dsgetdcname.c        |    1 +
 source3/libsmb/libsmb_server.c      |    2 +-
 source3/libsmb/libsmb_xattr.c       |    1 +
 source3/locking/brlock.c            |    1 +
 source3/locking/locking.c           |    1 +
 source3/nmbd/nmbd.c                 |    1 +
 source3/printing/notify.c           |    1 +
 source3/printing/nt_printing.c      |    1 +
 source3/printing/printing.c         |    1 +
 source3/registry/reg_perfcount.c    |    1 +
 source3/rpc_client/cli_pipe.c       |   16 ++++++++++++++++
 source3/rpc_server/srv_lsa_hnd.c    |    1 +
 source3/rpc_server/srv_netlog_nt.c  |    1 +
 source3/rpc_server/srv_spoolss_nt.c |    1 +
 source3/rpc_server/srv_srvsvc_nt.c  |    1 +
 source3/rpcclient/cmd_epmapper.c    |    1 +
 source3/rpcclient/rpcclient.c       |    1 +
 source3/smbd/blocking.c             |    1 +
 source3/smbd/change_trust_pw.c      |    1 +
 source3/smbd/close.c                |    1 +
 source3/smbd/notify.c               |    1 +
 source3/smbd/notify_inotify.c       |    1 +
 source3/smbd/notify_internal.c      |    1 +
 source3/smbd/open.c                 |    1 +
 source3/smbd/oplock.c               |    1 +
 source3/smbd/process.c              |    1 +
 source3/smbd/server.c               |    1 +
 source3/smbd/sesssetup.c            |    1 +
 source3/smbd/smb2_lock.c            |    1 +
 source3/smbd/statcache.c            |    1 +
 source3/smbd/trans2.c               |    1 +
 source3/torture/msgtest.c           |    1 +
 source3/utils/net_dom.c             |    1 +
 source3/utils/net_lookup.c          |    1 +
 source3/utils/net_rpc_join.c        |    1 +
 source3/utils/net_rpc_samsync.c     |    2 ++
 source3/utils/netlookup.c           |    1 +
 source3/utils/smbcacls.c            |    1 +
 source3/utils/smbcontrol.c          |    1 +
 source3/utils/smbcquotas.c          |    1 +
 source3/winbindd/winbindd.c         |    1 +
 source3/winbindd/winbindd_cm.c      |    1 +
 source3/winbindd/winbindd_dual.c    |    1 +
 source3/winbindd/winbindd_ndr.c     |    1 +
 source3/winbindd/winbindd_pam.c     |    1 +
 61 files changed, 75 insertions(+), 49 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index 3a9da2c..82e8182 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -20,6 +20,7 @@
 
 #include "includes.h"
 #include "../libcli/auth/libcli_auth.h"
+#include "../librpc/gen_ndr/ndr_netlogon.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_AUTH
diff --git a/source3/auth/auth_netlogond.c b/source3/auth/auth_netlogond.c
index 5e05f1b..08dc4dc 100644
--- a/source3/auth/auth_netlogond.c
+++ b/source3/auth/auth_netlogond.c
@@ -19,6 +19,7 @@
 
 #include "includes.h"
 #include "../libcli/auth/libcli_auth.h"
+#include "../librpc/gen_ndr/ndr_netlogon.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_AUTH
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 6b54001..5b682bb 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -648,7 +648,6 @@ struct smb_iconv_convenience *lp_iconv_convenience(void *lp_ctx);
 #include "privileges.h"
 #include "rpc_misc.h"
 #include "rpc_dce.h"
-#include "../librpc/gen_ndr/schannel.h"
 #include "mapping.h"
 #include "passdb.h"
 #include "rpc_secdes.h"
@@ -666,10 +665,6 @@ struct ntlmssp_state;
 #include "ntdomain.h"
 #include "reg_objects.h"
 #include "reg_db.h"
-#include "librpc/gen_ndr/perfcount.h"
-#include "librpc/gen_ndr/notify.h"
-#include "librpc/gen_ndr/xattr.h"
-#include "librpc/gen_ndr/messaging.h"
 #include "librpc/gen_ndr/ndr_nbt.h"
 #include "librpc/rpc/dcerpc.h"
 #include "nt_printing.h"
diff --git a/source3/include/ntlmssp.h b/source3/include/ntlmssp.h
index 3dc3810..384eb22 100644
--- a/source3/include/ntlmssp.h
+++ b/source3/include/ntlmssp.h
@@ -19,6 +19,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
+#include "../librpc/gen_ndr/ntlmssp.h"
+
 /* NTLMSSP mode */
 enum ntlmssp_role
 {
diff --git a/source3/include/proto.h b/source3/include/proto.h
index eae3d28..9c169ed 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2107,27 +2107,9 @@ WERROR reg_apply_registry_entry(TALLOC_CTX *mem_ctx,
 				uint32_t flags);
 
 
-#include "librpc/gen_ndr/ndr_dfs.h"
-#include "librpc/gen_ndr/ndr_dssetup.h"
-#include "librpc/gen_ndr/ndr_echo.h"
 #include "librpc/gen_ndr/ndr_eventlog.h"
 #include "librpc/gen_ndr/ndr_krb5pac.h"
-#include "librpc/gen_ndr/ndr_lsa.h"
-#include "librpc/gen_ndr/ndr_misc.h"
-#include "librpc/gen_ndr/ndr_netlogon.h"
-#include "librpc/gen_ndr/ndr_notify.h"
-#include "librpc/gen_ndr/ndr_ntsvcs.h"
-#include "librpc/gen_ndr/ndr_samr.h"
-#include "librpc/gen_ndr/ndr_security.h"
-#include "librpc/gen_ndr/ndr_srvsvc.h"
-#include "librpc/gen_ndr/ndr_svcctl.h"
-#include "librpc/gen_ndr/ndr_winreg.h"
-#include "librpc/gen_ndr/ndr_wkssvc.h"
-#include "librpc/gen_ndr/ndr_drsuapi.h"
 #include "librpc/gen_ndr/ndr_spoolss.h"
-#include "librpc/gen_ndr/ndr_initshutdown.h"
-
-#include "librpc/ndr/libndr.h"
 
 /* The following definitions come from librpc/ndr/util.c  */
 
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 780d79a..f8ec5d4 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -228,32 +228,9 @@ struct id_map {
 	enum id_mapping status;
 };
 
-#include "librpc/gen_ndr/misc.h"
-#include "librpc/gen_ndr/security.h"
-#include "librpc/ndr/libndr.h"
-#include "librpc/gen_ndr/lsa.h"
-#include "librpc/gen_ndr/dfs.h"
-#include "librpc/gen_ndr/winreg.h"
-#include "librpc/gen_ndr/initshutdown.h"
-#include "librpc/gen_ndr/eventlog.h"
-#include "librpc/gen_ndr/srvsvc.h"
-#include "librpc/gen_ndr/wkssvc.h"
-#include "librpc/gen_ndr/echo.h"
-#include "librpc/gen_ndr/svcctl.h"
-#include "librpc/gen_ndr/netlogon.h"
-#include "librpc/gen_ndr/samr.h"
-#include "librpc/gen_ndr/dssetup.h"
 #include "librpc/gen_ndr/epmapper.h"
-#include "librpc/gen_ndr/libnet_join.h"
 #include "librpc/gen_ndr/krb5pac.h"
-#include "librpc/gen_ndr/ntsvcs.h"
-#include "librpc/gen_ndr/nbt.h"
-#include "librpc/gen_ndr/drsuapi.h"
-#include "librpc/gen_ndr/drsblobs.h"
-#include "librpc/gen_ndr/spoolss.h"
 #include "librpc/gen_ndr/dcerpc.h"
-#include "librpc/gen_ndr/ndr_dcerpc.h"
-#include "librpc/gen_ndr/ntlmssp.h"
 
 struct lsa_dom_info {
 	bool valid;
diff --git a/source3/lib/debug.c b/source3/lib/debug.c
index 83211dd..3edf960 100644
--- a/source3/lib/debug.c
+++ b/source3/lib/debug.c
@@ -20,6 +20,7 @@
 */
 
 #include "includes.h"
+#include "librpc/gen_ndr/messaging.h"
 
 /* -------------------------------------------------------------------------- **
  * Defines...
diff --git a/source3/lib/dmallocmsg.c b/source3/lib/dmallocmsg.c
index 935fc1d..59f7c3b 100644
--- a/source3/lib/dmallocmsg.c
+++ b/source3/lib/dmallocmsg.c
@@ -17,6 +17,7 @@
 */
 
 #include "includes.h"
+#include "librpc/gen_ndr/messaging.h"
 
 /**
  * @file dmallocmsg.c
diff --git a/source3/lib/g_lock.c b/source3/lib/g_lock.c
index 1726047..d7828e2 100644
--- a/source3/lib/g_lock.c
+++ b/source3/lib/g_lock.c
@@ -19,6 +19,7 @@
 
 #include "includes.h"
 #include "g_lock.h"
+#include "librpc/gen_ndr/messaging.h"
 
 static NTSTATUS g_lock_force_unlock(struct g_lock_ctx *ctx, const char *name,
 				    struct server_id pid);
diff --git a/source3/lib/netapi/getdc.c b/source3/lib/netapi/getdc.c
index 9af01ce..ee17672 100644
--- a/source3/lib/netapi/getdc.c
+++ b/source3/lib/netapi/getdc.c
@@ -23,7 +23,6 @@
 #include "lib/netapi/netapi.h"
 #include "lib/netapi/netapi_private.h"
 #include "lib/netapi/libnetapi.h"
-#include "libnet/libnet.h"
 #include "../librpc/gen_ndr/cli_netlogon.h"
 
 /********************************************************************
diff --git a/source3/lib/netapi/serverinfo.c b/source3/lib/netapi/serverinfo.c
index f537802..51932a5 100644
--- a/source3/lib/netapi/serverinfo.c
+++ b/source3/lib/netapi/serverinfo.c
@@ -23,7 +23,6 @@
 #include "lib/netapi/netapi.h"
 #include "lib/netapi/netapi_private.h"
 #include "lib/netapi/libnetapi.h"
-#include "libnet/libnet.h"
 #include "../librpc/gen_ndr/cli_srvsvc.h"
 
 /****************************************************************
diff --git a/source3/lib/tallocmsg.c b/source3/lib/tallocmsg.c
index 3cfd118..6cea757 100644
--- a/source3/lib/tallocmsg.c
+++ b/source3/lib/tallocmsg.c
@@ -17,6 +17,7 @@
 */
 
 #include "includes.h"
+#include "librpc/gen_ndr/messaging.h"
 
 /**
  * @file tallocmsg.c
diff --git a/source3/libads/ndr.c b/source3/libads/ndr.c
index 6ada66c..9ee249f 100644
--- a/source3/libads/ndr.c
+++ b/source3/libads/ndr.c
@@ -20,6 +20,7 @@
 */
 
 #include "includes.h"
+#include "../librpc/gen_ndr/ndr_netlogon.h"
 
 void ndr_print_ads_auth_flags(struct ndr_print *ndr, const char *name, uint32_t r)
 {
diff --git a/source3/libnet/libnet_dssync.h b/source3/libnet/libnet_dssync.h
index a5a0074..e05aaa3 100644
--- a/source3/libnet/libnet_dssync.h
+++ b/source3/libnet/libnet_dssync.h
@@ -18,6 +18,9 @@
  *  along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include "../librpc/gen_ndr/drsuapi.h"
+#include "../librpc/gen_ndr/drsblobs.h"
+
 struct dssync_context;
 
 struct dssync_ops {
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 736a919..5271c91 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -23,6 +23,7 @@
 #include "libcli/auth/libcli_auth.h"
 #include "../librpc/gen_ndr/cli_samr.h"
 #include "../librpc/gen_ndr/cli_lsa.h"
+#include "../librpc/gen_ndr/cli_netlogon.h"
 
 /****************************************************************
 ****************************************************************/
diff --git a/source3/libsmb/clidgram.c b/source3/libsmb/clidgram.c
index bce57ce..c8185f6 100644
--- a/source3/libsmb/clidgram.c
+++ b/source3/libsmb/clidgram.c
@@ -20,6 +20,7 @@
 */
 
 #include "includes.h"
+#include "librpc/gen_ndr/messaging.h"
 
 /*
  * cli_send_mailslot, send a mailslot for client code ...
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index 8c50a0a..6cf7c94 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -22,6 +22,7 @@
 
 #include "includes.h"
 #include "libads/sitename_cache.h"
+#include "../librpc/gen_ndr/ndr_netlogon.h"
 
 #define DSGETDCNAME_FMT	"DSGETDCNAME/DOMAIN/%s"
 /* 15 minutes */
diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c
index eb292da..9784253 100644
--- a/source3/libsmb/libsmb_server.c
+++ b/source3/libsmb/libsmb_server.c
@@ -26,7 +26,7 @@
 #include "includes.h"
 #include "libsmbclient.h"
 #include "libsmb_internal.h"
-
+#include "../librpc/gen_ndr/ndr_lsa.h"
 
 /* 
  * Check a server for being alive and well.
diff --git a/source3/libsmb/libsmb_xattr.c b/source3/libsmb/libsmb_xattr.c
index cbdca4e..6a01aec 100644
--- a/source3/libsmb/libsmb_xattr.c
+++ b/source3/libsmb/libsmb_xattr.c
@@ -25,6 +25,7 @@
 #include "includes.h"
 #include "libsmbclient.h"
 #include "libsmb_internal.h"
+#include "../librpc/gen_ndr/ndr_lsa.h"
 
 
 /*
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index c7503ca..ee0eaf5 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -25,6 +25,7 @@
    used. This allows us to provide the same semantics as NT */
 
 #include "includes.h"
+#include "librpc/gen_ndr/messaging.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_LOCKING
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 3975a78..63bcff1 100644
--- a/source3/locking/locking.c
+++ b/source3/locking/locking.c
@@ -36,6 +36,7 @@
 */
 
 #include "includes.h"
+#include "librpc/gen_ndr/messaging.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_LOCKING
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 5dc021a..fa106a9 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -21,6 +21,7 @@
 */
 
 #include "includes.h"
+#include "librpc/gen_ndr/messaging.h"
 
 int ClientNMB       = -1;
 int ClientDGRAM     = -1;
diff --git a/source3/printing/notify.c b/source3/printing/notify.c
index 8d6bdc0..33807f7 100644
--- a/source3/printing/notify.c
+++ b/source3/printing/notify.c
@@ -21,6 +21,7 @@
 
 #include "includes.h"
 #include "printing.h"
+#include "librpc/gen_ndr/messaging.h"
 
 static TALLOC_CTX *send_ctx;
 
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index da08130..d59e3c5 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -20,6 +20,7 @@
  */
 
 #include "includes.h"
+#include "librpc/gen_ndr/messaging.h"
 
 static TDB_CONTEXT *tdb_forms; /* used for forms files */
 static TDB_CONTEXT *tdb_drivers; /* used for driver files */
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index e67c5d4..b0f22c9 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -21,6 +21,7 @@
 
 #include "includes.h"
 #include "printing.h"
+#include "librpc/gen_ndr/messaging.h"
 
 extern struct current_user current_user;
 extern userdom_struct current_user_info;
diff --git a/source3/registry/reg_perfcount.c b/source3/registry/reg_perfcount.c
index ff9e5db..57d92ff 100644
--- a/source3/registry/reg_perfcount.c
+++ b/source3/registry/reg_perfcount.c
@@ -20,6 +20,7 @@
  */
 
 #include "includes.h"
+#include "../librpc/gen_ndr/perfcount.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_REGISTRY
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 8d33d77..e7c4ec1 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -20,6 +20,22 @@
 #include "includes.h"
 #include "librpc/gen_ndr/cli_epmapper.h"
 #include "../librpc/gen_ndr/ndr_schannel.h"
+#include "../librpc/gen_ndr/ndr_lsa.h"
+#include "../librpc/gen_ndr/ndr_dssetup.h"
+#include "../librpc/gen_ndr/ndr_samr.h"
+#include "../librpc/gen_ndr/ndr_netlogon.h"
+#include "../librpc/gen_ndr/ndr_srvsvc.h"
+#include "../librpc/gen_ndr/ndr_wkssvc.h"
+#include "../librpc/gen_ndr/ndr_winreg.h"
+#include "../librpc/gen_ndr/ndr_spoolss.h"
+#include "../librpc/gen_ndr/ndr_dfs.h"
+#include "../librpc/gen_ndr/ndr_echo.h"
+#include "../librpc/gen_ndr/ndr_initshutdown.h"
+#include "../librpc/gen_ndr/ndr_svcctl.h"
+#include "../librpc/gen_ndr/ndr_eventlog.h"
+#include "../librpc/gen_ndr/ndr_ntsvcs.h"
+#include "../librpc/gen_ndr/ndr_epmapper.h"
+#include "../librpc/gen_ndr/ndr_drsuapi.h"
 #include "../libcli/auth/schannel.h"
 #include "../libcli/auth/spnego.h"
 #include "smb_krb5.h"
diff --git a/source3/rpc_server/srv_lsa_hnd.c b/source3/rpc_server/srv_lsa_hnd.c
index 4348fb8..f1ab774 100644
--- a/source3/rpc_server/srv_lsa_hnd.c
+++ b/source3/rpc_server/srv_lsa_hnd.c
@@ -20,6 +20,7 @@
  */
 
 #include "includes.h"
+#include "../librpc/gen_ndr/ndr_lsa.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_RPC_SRV
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index 866d171..fc1bdf0 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -27,6 +27,7 @@
 #include "includes.h"
 #include "../libcli/auth/schannel.h"
 #include "../librpc/gen_ndr/srv_netlogon.h"
+#include "librpc/gen_ndr/messaging.h"
 
 extern userdom_struct current_user_info;
 
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index f96a147..954212a 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -29,6 +29,7 @@
 #include "includes.h"
 #include "../librpc/gen_ndr/srv_spoolss.h"
 #include "../librpc/gen_ndr/cli_spoolss.h"
+#include "librpc/gen_ndr/messaging.h"
 
 /* macros stolen from s4 spoolss server */
 #define SPOOLSS_BUFFER_UNION(fn,ic,info,level) \
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index 0681ca3..6d86074 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -25,6 +25,7 @@
 
 #include "includes.h"
 #include "../librpc/gen_ndr/srv_srvsvc.h"
+#include "librpc/gen_ndr/messaging.h"
 
 extern const struct generic_mapping file_generic_mapping;
 
diff --git a/source3/rpcclient/cmd_epmapper.c b/source3/rpcclient/cmd_epmapper.c
index 6159b4a..3ee0120 100644
--- a/source3/rpcclient/cmd_epmapper.c
+++ b/source3/rpcclient/cmd_epmapper.c
@@ -21,6 +21,7 @@
 #include "includes.h"
 #include "rpcclient.h"
 #include "../librpc/gen_ndr/cli_epmapper.h"
+#include "../librpc/gen_ndr/ndr_lsa.h"
 
 static NTSTATUS cmd_epmapper_map(struct rpc_pipe_client *p,
 				 TALLOC_CTX *mem_ctx,
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index e24538b..d83fd17 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -23,6 +23,7 @@
 #include "rpcclient.h"
 #include "../libcli/auth/libcli_auth.h"
 #include "../librpc/gen_ndr/cli_lsa.h"
+#include "../librpc/gen_ndr/ndr_netlogon.h"
 
 DOM_SID domain_sid;
 
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c
index 9b20adf..b50c4f4 100644
--- a/source3/smbd/blocking.c
+++ b/source3/smbd/blocking.c
@@ -19,6 +19,7 @@
 
 #include "includes.h"
 #include "smbd/globals.h"
+#include "librpc/gen_ndr/messaging.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_LOCKING
diff --git a/source3/smbd/change_trust_pw.c b/source3/smbd/change_trust_pw.c
index ec3046e..d02de7a 100644
--- a/source3/smbd/change_trust_pw.c
+++ b/source3/smbd/change_trust_pw.c
@@ -22,6 +22,7 @@
  */
 
 #include "includes.h"
+#include "../librpc/gen_ndr/ndr_netlogon.h"
 
 /************************************************************************
  Change the trust account password for a domain.
diff --git a/source3/smbd/close.c b/source3/smbd/close.c
index bf181f3..098edac 100644
--- a/source3/smbd/close.c
+++ b/source3/smbd/close.c
@@ -20,6 +20,7 @@


-- 
Samba Shared Repository


More information about the samba-cvs mailing list