From: Andrew Bartlett Date: Sun, 4 Mar 2018 09:31:00 +0000 (+1300) Subject: libsmb: Use the same #ifdef for is_our_primary_domain() as the only caller X-Git-Tag: talloc-2.1.13~286 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0879be975873b5972b791bcad428a68573c77b69;p=thirdparty%2Fsamba.git libsmb: Use the same #ifdef for is_our_primary_domain() as the only caller Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider --- diff --git a/source3/libsmb/namequery_dc.c b/source3/libsmb/namequery_dc.c index eb34741defa..d08456590f6 100644 --- a/source3/libsmb/namequery_dc.c +++ b/source3/libsmb/namequery_dc.c @@ -32,7 +32,7 @@ Is this our primary domain ? **********************************************************************/ -#ifdef HAVE_KRB5 +#ifdef HAVE_ADS static bool is_our_primary_domain(const char *domain) { int role = lp_server_role();