From: Kai Blin Date: Thu, 12 Jun 2008 09:50:09 +0000 (+0200) Subject: net: Fix net_ads.c build for the HAVE_ADS == 0 case. X-Git-Tag: samba-4.0.0alpha6~801^2~1072 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8f1f62af28c1e6a8b9617216f97d231ee6de85e5;p=thirdparty%2Fsamba.git net: Fix net_ads.c build for the HAVE_ADS == 0 case. Thanks to Karolin for catching this one. (This used to be commit 7f52998f5461ed7d976faa2254464336dcf73c02) --- diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index f945bfaafb5..8c39fa955fe 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -2576,7 +2576,7 @@ int net_ads_check_our_domain(struct net_context *c) int net_ads(struct net_context *c, int argc, const char **argv) { - return net_ads_usage(c, argc, argv); + return net_ads_noads(); } #endif /* WITH_ADS */