libsmb: Use the same #ifdef for is_our_primary_domain() as the only caller
authorAndrew Bartlett <abartlet@samba.org>
Sun, 4 Mar 2018 09:31:00 +0000 (22:31 +1300)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 22 Mar 2018 07:00:25 +0000 (08:00 +0100)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libsmb/namequery_dc.c

index eb34741defa34c775601384ea28e81fa2630df5a..d08456590f6d38be4149c5e62fc6eb39c6eaafd7 100644 (file)
@@ -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();