From 61b7a24f16c9d3a3c41df19ac7073571164eb47a Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 23 Feb 2010 11:11:37 -0500 Subject: s3 move the sitename cache in its own file --- source3/libsmb/dsgetdcname.c | 1 + source3/libsmb/namequery.c | 1 + source3/libsmb/namequery_dc.c | 1 + 3 files changed, 3 insertions(+) (limited to 'source3/libsmb') diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c index 00339d2d32..6e67e050fe 100644 --- a/source3/libsmb/dsgetdcname.c +++ b/source3/libsmb/dsgetdcname.c @@ -21,6 +21,7 @@ */ #include "includes.h" +#include "libads/sitename_cache.h" #define DSGETDCNAME_FMT "DSGETDCNAME/DOMAIN/%s" /* 15 minutes */ diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index ed718ce536..a77f5e4b46 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "libads/sitename_cache.h" /* nmbd.c sets this to True. */ bool global_in_nmbd = False; diff --git a/source3/libsmb/namequery_dc.c b/source3/libsmb/namequery_dc.c index 7b0748f86b..3b3470dcf3 100644 --- a/source3/libsmb/namequery_dc.c +++ b/source3/libsmb/namequery_dc.c @@ -23,6 +23,7 @@ #include "includes.h" +#include "libads/sitename_cache.h" /********************************************************************** Is this our primary domain ? -- cgit